[x265] [PATCH]Dolby Vision: Fix multilib build error

Kirithika Kalirathnam kirithika at multicorewareinc.com
Fri Dec 28 11:42:58 CET 2018


# HG changeset patch
# User kirithika <kirithika at multicorewareinc.com>
# Date 1545988505 -19800
#      Fri Dec 28 14:45:05 2018 +0530
# Node ID c320409d9c56b64fd18628c3e9420e41501b37b8
# Parent  4d7582f7968774e0863e488f83fa67fbcbe51d2e
Dolby Vision: Fix multilib build error
Moved the global variable inside the x265_NS

diff -r 4d7582f79687 -r c320409d9c56 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp Fri Dec 28 14:06:47 2018 +0530
+++ b/source/encoder/encoder.cpp Fri Dec 28 14:45:05 2018 +0530
@@ -48,7 +48,6 @@

 namespace X265_NS {
 const char g_sliceTypeToChar[] = {'B', 'P', 'I'};
-}

 /* Dolby Vision profile specific settings */
 typedef struct
@@ -75,6 +74,8 @@
     { 1, 1, 1, 1, 1, 5, 0, 16, 9, 9, 81 },
     { 1, 1, 1, 1, 1, 5, 0,  1, 1, 1, 82 }
 };
+}
+
 /* Threshold for motion vection, based on expermental result.
  * TODO: come up an algorithm for adoptive threshold */
 #define MVTHRESHOLD (10*10)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20181228/586bf13e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multilib.patch
Type: application/octet-stream
Size: 935 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20181228/586bf13e/attachment.obj>


More information about the x265-devel mailing list