[x265] [PATCH 1 of 2] Partially backed out changeset: 69d55d4c53eb

deepthi at multicorewareinc.com deepthi at multicorewareinc.com
Thu Oct 8 07:37:44 CEST 2015


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1444282288 -19800
#      Thu Oct 08 11:01:28 2015 +0530
# Branch stable
# Node ID 98b1d72c31fccd39e9b343a90d6ecbee72112f00
# Parent  a85011719ea18128a534d1f89f014080c4c8606d
Partially backed out changeset: 69d55d4c53eb

If a false scenecut is detected, you make the first frame
of this mini-GOP a P slice, and then restart sliceTypeAnalyse

diff -r a85011719ea1 -r 98b1d72c31fc source/encoder/slicetype.cpp
--- a/source/encoder/slicetype.cpp	Wed Oct 07 09:22:44 2015 +0530
+++ b/source/encoder/slicetype.cpp	Thu Oct 08 11:01:28 2015 +0530
@@ -1350,7 +1350,7 @@
         /* Check scenecut on the first minigop. */
         for (int j = 1; j < numBFrames + 1; j++)
         {
-            if (scenecut(frames, j - 1, j, false, origNumFrames))
+            if (scenecut(frames, j, j + 1, false, origNumFrames))
             {
                 frames[j]->sliceType = X265_TYPE_P;
                 numAnalyzed = j;


More information about the x265-devel mailing list