]> granicus.if.org Git - libvpx/commit
Enable decoder to pass through color space info
authorYaowu Xu <yaowu@google.com>
Fri, 9 Jan 2015 21:04:48 +0000 (13:04 -0800)
committerYaowu Xu <yaowu@google.com>
Tue, 13 Jan 2015 23:13:19 +0000 (15:13 -0800)
commit6b223fcb588c865ae6f5abfd3d9de3ba2ae0540f
tree19820283e55dc33a0dd5e07ac4341a75c5fb9d86
parent6f6fbf9175a7969574c7c4b1b855cc6df6641f20
Enable decoder to pass through color space info

This commit added a field to vpx_image_t for indicating color space,
the field is also added to YUV_BUFFER_CONFIG. This allows the color
space information pass through the decoder from input stream to the
output buffer.

The commit also updated compare_img() function with added verification
of matching color space to ensure the color space information to be
correctly passed from encode to decoder in compressed vp9 streams.

Change-Id: I412776ec83defd8a09d76759aeb057b8fa690371
test/encode_test_driver.cc
vp9/decoder/vp9_decodeframe.c
vp9/vp9_iface_common.h
vpx/vpx_image.h
vpx_scale/yv12config.h