[x265] [PATCH] stats: RD 5/6 profile effectiveness of avoiding intra if split CUs did not select it

ashok at multicorewareinc.com ashok at multicorewareinc.com
Mon May 25 17:02:29 CEST 2015


# HG changeset patch
# User Ashok Kumar Mishra<ashok at multicorewareinc.com>
# Date 1432566054 -19800
#      Mon May 25 20:30:54 2015 +0530
# Node ID ca1805a61c2a93244aaea2d10d85d16add1ab4b1
# Parent  075064e26ce2ff01d474ba644b1d679db2d3f972
stats: RD 5/6 profile effectiveness of avoiding intra if split CUs did not select it

diff -r 075064e26ce2 -r ca1805a61c2a source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp	Mon May 25 20:30:53 2015 +0530
+++ b/source/encoder/analysis.cpp	Mon May 25 20:30:54 2015 +0530
@@ -1325,6 +1325,7 @@
             {
                 if (splitIntra)
                 {
+                    ProfileCounter(parentCTU, totalIntraCU[cuGeom.depth]);
                     md.pred[PRED_INTRA].cu.initSubCU(parentCTU, cuGeom, qp);
                     checkIntra(md.pred[PRED_INTRA], cuGeom, SIZE_2Nx2N, NULL, NULL);
                     checkBestMode(md.pred[PRED_INTRA], depth);
@@ -1336,6 +1337,10 @@
                         checkBestMode(md.pred[PRED_INTRA_NxN], depth);
                     }
                 }
+                else
+                {
+                    ProfileCounter(parentCTU, skippedIntraCU[cuGeom.depth]);
+                }
             }
         }
 


More information about the x265-devel mailing list