diff options
author | Jerome Jiang <jianj@google.com> | 2017-05-31 15:56:29 -0700 |
---|---|---|
committer | Jerome Jiang <jianj@google.com> | 2017-06-01 16:59:43 +0000 |
commit | e254969df2632954395a2d4b02996a4fef1fa288 (patch) | |
tree | 07d94dfd65315fe2726127fed9803b0700d7b1c5 /vp8/encoder | |
parent | f1a300acc4e2af7f4407492a59a7063e6d2ad37d (diff) | |
download | libvpx-e254969df2632954395a2d4b02996a4fef1fa288.tar libvpx-e254969df2632954395a2d4b02996a4fef1fa288.tar.gz libvpx-e254969df2632954395a2d4b02996a4fef1fa288.tar.bz2 libvpx-e254969df2632954395a2d4b02996a4fef1fa288.zip |
Fix corruption in skin map debugging output yuv.
For both vp8 and vp9.
BUG=webm:1437
Change-Id: Ifd06f68a876ade91cc2cc27c574c4641b77cce28
Diffstat (limited to 'vp8/encoder')
-rw-r--r-- | vp8/encoder/onyx_if.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index fe72d7844..9227f750d 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -2488,7 +2488,7 @@ int vp8_update_entropy(VP8_COMP *cpi, int update) { defined(OUTPUT_YUV_SKINMAP) void vp8_write_yuv_frame(FILE *yuv_file, YV12_BUFFER_CONFIG *s) { unsigned char *src = s->y_buffer; - int h = s->y_height; + int h = s->y_crop_height; do { fwrite(src, s->y_width, 1, yuv_file); @@ -2496,7 +2496,7 @@ void vp8_write_yuv_frame(FILE *yuv_file, YV12_BUFFER_CONFIG *s) { } while (--h); src = s->u_buffer; - h = s->uv_height; + h = s->uv_crop_height; do { fwrite(src, s->uv_width, 1, yuv_file); @@ -2504,7 +2504,7 @@ void vp8_write_yuv_frame(FILE *yuv_file, YV12_BUFFER_CONFIG *s) { } while (--h); src = s->v_buffer; - h = s->uv_height; + h = s->uv_crop_height; do { fwrite(src, s->uv_width, 1, yuv_file); |