[x265] [PATCH] YUV output: correct a rext merge issue

deepthi at multicorewareinc.com deepthi at multicorewareinc.com
Wed Nov 6 10:50:21 CET 2013


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1383731410 -19800
# Node ID dd8510d84b5a6fcc02fa50d7bd18c8d61eff9498
# Parent  bc99537483f101547312a589ceb3d428c176cfed
YUV output: correct a rext merge issue

diff -r bc99537483f1 -r dd8510d84b5a source/output/yuv.cpp
--- a/source/output/yuv.cpp	Tue Nov 05 22:21:55 2013 -0600
+++ b/source/output/yuv.cpp	Wed Nov 06 15:20:10 2013 +0530
@@ -74,7 +74,7 @@
         for (int i = 0; i < x265_cli_csps[colorSpace].planes; i++)
         {
             char *src = (char*)pic.planes[0];
-            for (int h = 0; h < height; h++)
+            for (int h = 0; h < height >> x265_cli_csps[colorSpace].height[i]; h++)
             {
                 ofs.write(src, width >> x265_cli_csps[colorSpace].width[i]);
                 src += pic.stride[i];


More information about the x265-devel mailing list