[x265] [PATCH] param: notify error for min-cu-size 64

kavitha at multicorewareinc.com kavitha at multicorewareinc.com
Tue Nov 15 07:50:44 CET 2016


# HG changeset patch
# User Kavitha Sampath <kavitha at multicorewareinc.com>
# Date 1479188764 -19800
#      Tue Nov 15 11:16:04 2016 +0530
# Node ID c4e9355db49bab4ef04e2e26f91ca10da6de1756
# Parent  95451de5f12929f9d80b66ba852fe651dc3984ed
param: notify error for min-cu-size 64

Since 64x64 analysis is diabled for intra prediction, encoder crashes when both
max and min cusize is 64. The commit also cleans up unused mv in analysis inter data

diff -r 95451de5f129 -r c4e9355db49b source/common/framedata.h
--- a/source/common/framedata.h	Mon Nov 14 12:52:57 2016 -0600
+++ b/source/common/framedata.h	Tue Nov 15 11:16:04 2016 +0530
@@ -171,7 +171,6 @@
 /* Stores inter analysis data for a single frame */
 struct analysis_inter_data
 {
-    MV*         mv;
     WeightParam* wt;
     int32_t*    ref;
     uint8_t*    depth;
diff -r 95451de5f129 -r c4e9355db49b source/common/param.cpp
--- a/source/common/param.cpp	Mon Nov 14 12:52:57 2016 -0600
+++ b/source/common/param.cpp	Tue Nov 15 11:16:04 2016 +0530
@@ -1082,8 +1082,8 @@
         "Multiple-Slices mode must be enable Wavefront Parallel Processing (--wpp)");
     CHECK(param->internalBitDepth != X265_DEPTH,
           "internalBitDepth must match compiled bit depth");
-    CHECK(param->minCUSize != 64 && param->minCUSize != 32 && param->minCUSize != 16 && param->minCUSize != 8,
-          "minimim CU size must be 8, 16, 32, or 64");
+    CHECK(param->minCUSize != 32 && param->minCUSize != 16 && param->minCUSize != 8,
+          "minimim CU size must be 8, 16 or 32");
     CHECK(param->minCUSize > param->maxCUSize,
           "min CU size must be less than or equal to max CU size");
     CHECK(param->rc.qp < -6 * (param->internalBitDepth - 8) || param->rc.qp > QP_MAX_SPEC,


More information about the x265-devel mailing list