vp9/10: improve support for render_width/height.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 26 Sep 2015 01:51:55 +0000 (21:51 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 26 Sep 2015 02:18:22 +0000 (22:18 -0400)
commit812945a8f143df6a627cb292ec7a77a4ed6509f0
tree8cabd19e160197c6292562cc187ee235c74e5413
parent36ffe64498d784757b0dacf5f359ac4e403f14da
vp9/10: improve support for render_width/height.

In the decoder, map this to the output variable vpx_image_t.r_w/h.
This is intended as an improved version of VP9D_GET_DISPLAY_SIZE,
which doesn't work with parallel frame decoding. In the encoder,
map this to a codec control func (VP9E_SET_RENDER_SIZE) that takes
a w/h pair argument in a int[2] (identical to VP9D_GET_DISPLAY_SIZE).

Also add render_size to the encoder_param_get_to_decoder unit test.

See issue 1030.

Change-Id: I12124c13602d832bf4c44090db08c1009c94c7e8
16 files changed:
test/encode_test_driver.h
test/vp9_encoder_parms_get_to_decoder.cc
vp10/decoder/decodeframe.c
vp10/encoder/encoder.c
vp10/encoder/encoder.h
vp10/vp10_cx_iface.c
vp10/vp10_iface_common.h
vp8/vp8_dx_iface.c
vp9/decoder/vp9_decodeframe.c
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.h
vp9/vp9_cx_iface.c
vp9/vp9_iface_common.h
vpx/vp8cx.h
vpx/vpx_image.h
vpx_scale/yv12config.h