[x265] [PATCH 1 of 2] Move rdoQTS initialization after rdoQ is set
deepthidevaki at multicorewareinc.com
deepthidevaki at multicorewareinc.com
Tue Dec 3 06:54:40 CET 2013
# HG changeset patch
# User Deepthi Devaki <deepthidevaki at multicorewareinc.com>
# Date 1386049092 -19800
# Node ID e42e7ad909d33666a004413b28b77abe57c246d8
# Parent ca7bd538e052d104b1b333691836db37739cfdf0
Move rdoQTS initialization after rdoQ is set.
diff -r ca7bd538e052 -r e42e7ad909d3 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp Mon Dec 02 20:26:19 2013 -0600
+++ b/source/encoder/encoder.cpp Tue Dec 03 11:08:12 2013 +0530
@@ -1234,11 +1234,6 @@
{
_param->bEnableAMP = false;
}
-
- if (!(_param->bEnableRDOQ && _param->bEnableTransformSkip))
- {
- _param->bEnableRDOQTS = 0;
- }
if (_param->bBPyramid && !_param->bframes)
{
_param->bBPyramid = 0;
@@ -1258,6 +1253,11 @@
break;
}
+ if (!(_param->bEnableRDOQ && _param->bEnableTransformSkip))
+ {
+ _param->bEnableRDOQTS = 0;
+ }
+
//====== Coding Tools ========
uint32_t tuQTMaxLog2Size = g_convertToBit[_param->maxCUSize] + 2 - 1;
More information about the x265-devel
mailing list