[x265] [PATCH 1 of 5] TEncCU: set dqpflag as true in the CU encoder if aqmode enabled

deepthi at multicorewareinc.com deepthi at multicorewareinc.com
Thu Mar 13 12:29:14 CET 2014


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1394705879 -19800
# Node ID dd3deb31f5e6aa06041985e344414c2a4f24cec8
# Parent  879151f659622ace9ddecec8d6e1a631849e2a04
TEncCU: set dqpflag as true in the CU encoder if aqmode enabled

diff -r 879151f65962 -r dd3deb31f5e6 source/Lib/TLibEncoder/TEncCu.cpp
--- a/source/Lib/TLibEncoder/TEncCu.cpp	Thu Mar 13 03:25:06 2014 -0500
+++ b/source/Lib/TLibEncoder/TEncCu.cpp	Thu Mar 13 15:47:59 2014 +0530
@@ -343,6 +343,10 @@
 
 void TEncCu::compressCU(TComDataCU* cu)
 {
+    if (cu->getSlice()->getPPS()->getUseDQP())
+    {
+        setdQPFlag(true);
+    }
     // initialize CU data
     m_bestCU[0]->initCU(cu->getPic(), cu->getAddr());
     m_tempCU[0]->initCU(cu->getPic(), cu->getAddr());
@@ -351,7 +355,7 @@
 #if LOG_CU_STATISTICS
     int numPartition = cu->getTotalNumPart();
 #endif
-
+    
     if (m_bestCU[0]->getSlice()->getSliceType() == I_SLICE)
     {
         xCompressIntraCU(m_bestCU[0], m_tempCU[0], 0);


More information about the x265-devel mailing list