diff options
author | Harinarayanan K K <harinarayanan.kk@ittiam.com> | 2015-06-19 11:39:42 +0530 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2015-06-25 08:25:54 -0700 |
commit | 7dbacdf7651457dfc6244ed96b797e93a6944680 (patch) | |
tree | ae3c6f5666eabf4b98f88bd15a5c680d0ff38117 /test | |
parent | d3e18f0c8854c258021be1e603d8f50a241698a7 (diff) | |
download | android_external_libavc-7dbacdf7651457dfc6244ed96b797e93a6944680.tar.gz android_external_libavc-7dbacdf7651457dfc6244ed96b797e93a6944680.tar.bz2 android_external_libavc-7dbacdf7651457dfc6244ed96b797e93a6944680.zip |
Added code to handle cases with qp less than 10
When qp goes less than 10, all I16x16 mode evaluations
are disabled and I4x4 evaluations are enabled irrespective
of preset. This will ensure that the residual will not
exceed the supported range of entropy
Minimum Qp cannot be set less than 4 now. When QP goes lesser,
the residual may exceed the supported range even with I4x4 enabled.
Change-Id: I25b404fcd9c9e9dbdd77679280968635ee047eb3
Diffstat (limited to 'test')
-rw-r--r-- | test/encoder/app.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encoder/app.h b/test/encoder/app.h index 01edd8b..ad45f5a 100644 --- a/test/encoder/app.h +++ b/test/encoder/app.h @@ -73,7 +73,7 @@ #define DEFAULT_MAX_REF_FRM 2 #define DEFAULT_MAX_REORDER_FRM 0 -#define DEFAULT_QP_MIN 0 +#define DEFAULT_QP_MIN 4 #define DEFAULT_QP_MAX 51 #define DEFAULT_MAX_BITRATE 20000000 #define DEFAULT_NUM_BFRAMES 0 |