commit | b6bad9b230be9d118fd47b02f62deda7d698783b | [log] [tgz] |
---|---|---|
author | James Zern <jzern@google.com> | Fri Oct 11 11:13:40 2024 -0700 |
committer | James Zern <jzern@google.com> | Mon Oct 21 11:13:05 2024 -0700 |
tree | b9a12b3aaf1a94fe459b93c009c75ddf07da031a | |
parent | 92949994fcc39bfe1881aaf7516bcc74cc96e94c [diff] |
C2SoftAomEnc: set AOME_SET_MAX_INTRA_BITRATE_PCT to 300 for CBR, 450 otherwise. This matches the setting in WebRTC [1] (where this wrapper's settings are derived from) for CBR and prevents overshoot in CTS tests that set a low (forced) key frame interval and use VBR. [1]: https://webrtc.googlesource.com/src/+/bd42ee87507e8b55a37ec89e7e659a249825f69a/modules/video_coding/codecs/av1/libaom_av1_encoder.cc#289 Bug: 369325415 Test: (komodo) atest \ MctsMediaCodecTestCases:android.media.codec.cts.VideoCodecTest#testBasic \ -- \ --module-arg MctsMediaCodecTestCases:instrumentation-arg:codec-prefix:=c2.android.av1.encoder Change-Id: Id0dbeda7cfec33ef0fa438a7a2b0453c0c504961