Adds a test for the VP8E_SET_SCALEMODE control
authorJohn Koleszar <jkoleszar@google.com>
Wed, 6 Feb 2013 20:44:20 +0000 (12:44 -0800)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 8 Feb 2013 20:20:30 +0000 (12:20 -0800)
commit88f99f4ec29d1df6cb99e47562734df7bd9a6892
treec55d82a687651c17b163336aa555dbb9a4c89129
parent29d47ac80eb934368dee41d2a7e6265aa8ccee9c
Adds a test for the VP8E_SET_SCALEMODE control

Tests that the external interface to set the internal codec scaling
works as expected. Also updates the test to pull the height from
the decoded frame size rather than parsing the keyframe header,
in anticipation of allowing resolution changes on non-keyframes.

Change-Id: I3ed92117d8e5288fbbd1e7b618f2f233d0fe2c17
test/encode_test_driver.cc
test/encode_test_driver.h
test/resize_test.cc
vp9/encoder/vp9_onyx_if.c