[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
Tue Jun 23 17:16:32 CEST 2015


# HG changeset patch
# User Ashok Kumar Mishra<ashok at multicorewareinc.com>
# Date 1435071913 -19800
#      Tue Jun 23 20:35:13 2015 +0530
# Node ID 07f329f29ecaa3279a10a72ab9ec80cf6fc0ed43
# Parent  ea3ee8fdaf5d6972ed620c1ef8381c45453dcc3d
stats: RD 5/6 profile effectiveness of avoiding intra if split CUs did not select it

diff -r ea3ee8fdaf5d -r 07f329f29eca source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp	Tue Jun 23 20:35:10 2015 +0530
+++ b/source/encoder/analysis.cpp	Tue Jun 23 20:35:13 2015 +0530
@@ -1328,6 +1328,7 @@
             {
                 if (!m_param->limitReferences || 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);
@@ -1339,6 +1340,10 @@
                         checkBestMode(md.pred[PRED_INTRA_NxN], depth);
                     }
                 }
+                else
+                {
+                    ProfileCounter(parentCTU, skippedIntraCU[cuGeom.depth]);
+                }
             }
         }
 


More information about the x265-devel mailing list