diff options
author | Adrian Grange <agrange@google.com> | 2013-12-13 10:15:03 -0800 |
---|---|---|
committer | Adrian Grange <agrange@google.com> | 2014-01-13 11:48:47 -0800 |
commit | 482c39c0e9f30124a26d159ece063510818d4b1d (patch) | |
tree | 6df72efc26e8d9e3665e2c6275c7c7a41f66e286 /test/encode_test_driver.cc | |
parent | 4ae8ac7be8a7da7490c17ea38d793ced2566dde6 (diff) | |
download | libvpx-482c39c0e9f30124a26d159ece063510818d4b1d.tar libvpx-482c39c0e9f30124a26d159ece063510818d4b1d.tar.gz libvpx-482c39c0e9f30124a26d159ece063510818d4b1d.tar.bz2 libvpx-482c39c0e9f30124a26d159ece063510818d4b1d.zip |
Change the strategy for deciding the display size
There are three contributors to the definition of how the
display size is set:
(1) display width/height set in the container.
(2) display size (optional in the frame header)
(3) decoded frame size (from the frame header)
This patch modifies the way that vpxdec defines the display
size to give preference to these three criteria in the order
given above. If the container sets a non-zero size, it is
used, otherwise the display size specified in the first
decoded frame is used (if specified), with the raw
decoded frame size of the first frame used as a last resort.
The display size set in frames other than the first is
always ignored in this implementation.
Change-Id: I7e98d817d3f5894d559dd2aeb0a6cb1959b9092b
Diffstat (limited to 'test/encode_test_driver.cc')
0 files changed, 0 insertions, 0 deletions