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 /vp9 | |
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 'vp9')
-rw-r--r-- | vp9/encoder/vp9_encoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index 399aea7a3..00db9d57d 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -2588,7 +2588,7 @@ int vp9_update_entropy(VP9_COMP *cpi, int update) { // denoising we will have to modify this. void vp9_write_yuv_frame_420(YV12_BUFFER_CONFIG *s, FILE *f) { uint8_t *src = s->y_buffer; - int h = s->y_height; + int h = s->y_crop_height; do { fwrite(src, s->y_width, 1, f); @@ -2596,7 +2596,7 @@ void vp9_write_yuv_frame_420(YV12_BUFFER_CONFIG *s, FILE *f) { } while (--h); src = s->u_buffer; - h = s->uv_height; + h = s->uv_crop_height; do { fwrite(src, s->uv_width, 1, f); @@ -2604,7 +2604,7 @@ void vp9_write_yuv_frame_420(YV12_BUFFER_CONFIG *s, FILE *f) { } while (--h); src = s->v_buffer; - h = s->uv_height; + h = s->uv_crop_height; do { fwrite(src, s->uv_width, 1, f); |