Add codec control function for enabling frame_periodic_boost.

Change-Id: I6371ef7301c6bc3138552bd349e9bd154dee3e08
This commit is contained in:
Marco Paniconi
2014-04-03 15:49:03 -07:00
parent 690678fc42
commit 0eb88c9064
8 changed files with 29 additions and 7 deletions

View File

@@ -575,6 +575,7 @@ int main(int argc, char **argv) {
} else if (strncmp(encoder->name, "vp9", 3) == 0) {
vpx_codec_control(&codec, VP8E_SET_CPUUSED, speed);
vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3);
vpx_codec_control(&codec, VP9E_SET_FRAME_PERIODIC_BOOST, 0);
vpx_codec_control(&codec, VP8E_SET_NOISE_SENSITIVITY, 0);
if (vpx_codec_control(&codec, VP9E_SET_SVC, 1)) {
die_codec(&codec, "Failed to set SVC");