<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255)">Hi Min,</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255)"> After this patch outputs are changing, tested for following command line for 10-bit and 12-bit outputs.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255)"><br></div><div class="gmail_default"><font color="#0000ff" face="verdana, sans-serif">--input=NebutaFestival_2560x1600_60_10bit_crop.yuv --input-res=2560x1600 --fps=60 --numa-pools="NULL" --output-depth=12 --hash=1 -o NFOut12.hevc</font><br></div><div class="gmail_default"><font color="#0000ff" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#0000ff" face="verdana, sans-serif"><br></font></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255)"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards,<div>Praveen</div></div></div></div>
<br><div class="gmail_quote">On Thu, Sep 15, 2016 at 1:55 AM, chen <span dir="ltr"><<a href="mailto:chenm003@163.com" target="_blank">chenm003@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>From ea50e494473623ed0dbff2907194aa<wbr>f268dc449a Mon Sep 17 00:00:00 2001</div><div>From: Min Chen <<a href="mailto:min.chen@multicorewareinc.com" target="_blank">min.chen@multicorewareinc.com</a><wbr>></div><div>Date: Wed, 14 Sep 2016 15:23:38 -0500</div><div>Subject: [PATCH] [multi-lib] Support 8+10+12 bits in single DLL (Workaround)</div><div><br></div><div>---</div><div> source/CMakeLists.txt | 40 ++++++++++++++++++++++++++++++<wbr>+++++++++-</div><div> 1 files changed, 39 insertions(+), 1 deletions(-)</div><div><br></div><div>diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt</div><div>index dd19d28..c2c2f7f 100644</div><div>--- a/source/CMakeLists.txt</div><div>+++ b/source/CMakeLists.txt</div><div>@@ -36,6 +36,7 @@ configure_file("${PROJECT_<wbr>SOURCE_DIR}/<a href="http://x265.def.in" target="_blank">x265.def.in</a>"</div><div> configure_file("${PROJECT_<wbr>SOURCE_DIR}/<a href="http://x265_config.h.in" target="_blank">x265_config.h.in</a>"</div><div> "${PROJECT_BINARY_DIR}/x265_<wbr>config.h")</div><div> </div><div>+</div><div> SET(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")</div><div> </div><div> # System architecture detection</div><div>@@ -396,6 +397,39 @@ if(WIN32)</div><div> endif(WINXP_SUPPORT)</div><div> endif()</div><div> </div><div>+</div><div>+if(ENABLE_SHARED AND LINKED_10BIT AND LINKED_12BIT)</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?setParamAspectRatio@x265@@<wbr>YAXPEAUx265_param@@HH@Z\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?getParamAspectRatio@x265@@<wbr>YAXPEAUx265_param@@AEAH1@Z\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?general_log_file@x265@@<wbr>YAXPEBUx265_param@@PEBDH1ZZ\n"<wbr>)</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?general_log@x265@@<wbr>YAXPEBUx265_param@@PEBDH1ZZ\n"<wbr>)</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_api_get_94@x265_10bit@@<wbr>YAPEBUx265_api@@H@Z\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_api_get_94@x265_12bit@@<wbr>YAPEBUx265_api@@H@Z\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_api_query@x265_10bit@@<wbr>YAPEBUx265_api@@HHPEAH@Z\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_api_query@x265_12bit@@<wbr>YAPEBUx265_api@@HHPEAH@Z\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_mdate@x265@@YA_JXZ\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_picturePlaneSize@x265@@<wbr>YAIHHHH@Z\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_ssim2dB@x265@@YANN@Z\n"<wbr>)</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_ssim2dB@x265@@YANN@Z\n"<wbr>)</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_report_simd@x265@@<wbr>YAXPEAUx265_param@@@Z\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_fopen@x265@@YAPEAU_<wbr>iobuf@@PEBD0@Z\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_malloc@x265@@YAPEAX_K@Z<wbr>\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_free@x265@@YAXPEAX@Z\n"<wbr>)</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?x265_atoi@x265@@YAHPEBDAEA_<wbr>N@Z\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?start@Thread@x265@@QEAA_NXZ\<wbr>n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?stop@Thread@x265@@QEAAXXZ\n"<wbr>)</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "??0Thread@x265@@QEAA@XZ\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "??1Thread@x265@@UEAA@XZ\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?g_maxCUDepth@x265@@3IA\n")</div><div>+ if(WINXP_SUPPORT)</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?cond_init@x265@@<wbr>YAHPEAUConditionVariable@1@@Z\<wbr>n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?cond_wait@x265@@<wbr>YAHPEAUConditionVariable@1@<wbr>PEAU_RTL_CRITICAL_SECTION@@K@Z<wbr>\n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?cond_destroy@x265@@<wbr>YAXPEAUConditionVariable@1@@Z\<wbr>n")</div><div>+ file(APPEND ${PROJECT_BINARY_DIR}/x265.def "?cond_broadcast@x265@@<wbr>YAXPEAUConditionVariable@1@@Z\<wbr>n")</div><div>+ endif()</div><div>+endif()</div><div>+</div><div> include(version) # determine X265_VERSION and X265_LATEST_TAG</div><div> include_directories(. common encoder "${PROJECT_BINARY_DIR}")</div><div> </div><div>@@ -608,7 +642,11 @@ if(ENABLE_CLI)</div><div> if(WIN32 OR NOT ENABLE_SHARED OR INTEL_CXX)</div><div> # The CLI cannot link to the shared library on Windows, it</div><div> # requires internal APIs not exported from the DLL</div><div>- target_link_libraries(cli x265-static ${PLATFORM_LIBS})</div><div>+ if(ENABLE_SHARED AND LINKED_10BIT AND LINKED_12BIT)</div><div>+ target_link_libraries(cli x265-shared ${PLATFORM_LIBS})</div><div>+ else()</div><div>+ target_link_libraries(cli x265-static ${PLATFORM_LIBS})</div><div>+ endif()</div><div> else()</div><div> target_link_libraries(cli x265-shared ${PLATFORM_LIBS})</div><div> endif()</div><span class="HOEnZb"><font color="#888888"><div>-- </div><div>1.7.9.msysgit.0</div><div><br></div></font></span></div><br>______________________________<wbr>_________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a><br>
<br></blockquote></div><br></div>