summaryrefslogtreecommitdiff
path: root/test/level_test.cc
AgeCommit message (Collapse)Author
2017-09-14VP9 level targeting: add a new AUTO modeHui Su
In the new AUTO mode, restrict the minimum alt-ref interval and max column tiles adaptively based on picture size, while not applying any rate control constraints. This mode aims to produce encodings that fit into levels corresponding to the source picture size, with minimum compression quality lost. However, the bitstream is not guaranteed to be level compatible, e.g., the average bitrate may exceed level limit. BUG=b/64451920 Change-Id: I02080b169cbbef4ab2e08c0df4697ce894aad83c
2017-06-26level tests: allow level undershoothui su
Obtaining a level that is lower than the target should be tolerated. Change-Id: I90a55ee6d7142e9f6cc525ebbd1e0501defcbe28
2017-01-10Add "Large" label to VP9 target level testshui su
Also reduce the number of test frames. Change-Id: Iea6fa93ca6b924535aef7bf8b388db4d0ec84c08
2017-01-06Add support for VP9 level targetinghui su
Constraints on encoder config: -target_bandwidth is no larger than 80% of level bitrate limit -target_bandwidth * (1 + max_over_shoot_pct) is no larger than 88% of level bitrate limit -min_gf_interval is no smaller than level limit -tile_columns is no larger than level limit Constraints on rate control: -current frame size plus previous three frames' size is no larger than the CPB level limit -current frame size is no larger than 50%/40%/20% of the CPB level limit if it's a key/alt-ref/other frame. Change-Id: I84d1a2d6d6e3c82bfd533b3309ce999cfaba2c8b
2016-07-27test: apply clang-formatclang-format
Change-Id: I0d9ab85855eb723f653a7bb09b3d0d31dd6cfd2f
2016-06-15Add vp9 encoder API VP9E_GET_LEVEL to provide bitstream levelhui su
Change-Id: I1ef3df0192491035728fe9d5eb25cc66dc2965de
2016-05-16Add level test for VP9hui su
Change-Id: I99f50bdd5af3f64a029c2f5f6f5fb1ff45bad67e