[x265] uhd-bd: turn off open GOP for UHD Blu-ray specs

Deepthi Nandakumar deepthi at multicorewareinc.com
Tue Apr 12 23:32:16 CEST 2016


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1460496706 -19800
#      Wed Apr 13 03:01:46 2016 +0530
# Node ID fa1c04e8a539c5b4d22e3513a045b8d9d9c761e8
# Parent  3a0c770aa1cd50a0f412a71939494b8ecbea958e
uhd-bd: turn off open GOP for UHD Blu-ray specs

You could turn on open GOP, but then change GOPsize to account for "open"
frames.

diff -r 3a0c770aa1cd -r fa1c04e8a539 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp    Wed Apr 13 00:41:42 2016 +0530
+++ b/source/encoder/encoder.cpp    Wed Apr 13 03:01:46 2016 +0530
@@ -1900,6 +1900,12 @@
             p->bRepeatHeaders = 1;
         }

+        if (p->bOpenGOP)
+        {
+            x265_log(p, X265_LOG_WARNING, "uhd-bd: Turning off open
GOP\n");
+            p->bOpenGOP = false;
+        }
+
         if (p->bIntraRefresh)
         {
             x265_log(p, X265_LOG_WARNING, "uhd-bd: turning off
intra-refresh\n");


-- 
Deepthi Nandakumar
Engineering Manager, x265
Multicoreware, Inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160412/d6081bce/attachment.html>


More information about the x265-devel mailing list