diff options
author | Marco <marpan@google.com> | 2015-05-21 16:15:37 -0700 |
---|---|---|
committer | Marco <marpan@chromium.org> | 2015-06-02 07:54:13 -0700 |
commit | c139b81a13f680340dd874c205cba40a7233d388 (patch) | |
tree | 3a34401e32dad4a602c653d508796716ba19459d /test/encode_test_driver.h | |
parent | ebf7466cd8b884fd29be42ebe670317f5a7ca04d (diff) | |
download | libvpx-c139b81a13f680340dd874c205cba40a7233d388.tar libvpx-c139b81a13f680340dd874c205cba40a7233d388.tar.gz libvpx-c139b81a13f680340dd874c205cba40a7233d388.tar.bz2 libvpx-c139b81a13f680340dd874c205cba40a7233d388.zip |
Vidyo patch: Rate control for SVC, 1 pass CBR mode.
-Make Rate control work for SVC 1 pass CBR mode.
-Added temporal layering mode.
-Fixed bug in non-rd variance partition.
-Modified/updated the sample encoders (vp9_spatial_svc_encoder, vpx_temporal_svc_encoder).
-Added datarate unittest(s) for 1 pass CBR SVC.
Change-Id: Ie94b1b68a56ea1267b5087c625e5df04def2ee48
Diffstat (limited to 'test/encode_test_driver.h')
-rw-r--r-- | test/encode_test_driver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/encode_test_driver.h b/test/encode_test_driver.h index e16cf9cdd..7a068bf0b 100644 --- a/test/encode_test_driver.h +++ b/test/encode_test_driver.h @@ -133,6 +133,10 @@ class Encoder { ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); } + void Control(int ctrl_id, struct vpx_svc_parameters *arg) { + const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); + ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); + } #if CONFIG_VP8_ENCODER || CONFIG_VP9_ENCODER void Control(int ctrl_id, vpx_active_map_t *arg) { const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); |