webrtc/modules/video_coding/codecs
Wan-Teh Chang 1f39162528 Fill fps allocation for LibaomAv1Encoder correctly
The elements of the fps_allocation vector are fractions of the maximum
frame rate. Each fraction is represented as an 8-bit unsigned integer,
where 0 = 0% and 255 = 100%.

The original code (added in
https://webrtc-review.googlesource.com/c/src/+/201384) sets the elements
of the fps_allocation vector to frame rates rather than frame rate
fractions. Perhaps fps_allocation could be renamed to avoid this kind of
confusion.

modules_unittests --gtest_filter=LibaomAv1EncoderTest.*

Tested: 
Change-Id: Icd050da3b3c2cff31913c3430f7b6b6e9829b9fa
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/292784
Commit-Queue: Wan-Teh Chang <wtc@google.com>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39286}
2023-02-09 16:00:55 +00:00
..
av1 Fill fps allocation for LibaomAv1Encoder correctly 2023-02-09 16:00:55 +00:00
h264 Add 444 10 bits support for H264 and VP9 2023-01-17 12:32:26 +00:00
interface Prepare to rename RTC_NOTREACHED to RTC_DCHECK_NOTREACHED 2021-11-15 21:44:59 +00:00
multiplex Update/delete old TODOs 2022-07-06 07:49:04 +00:00
test Do not transfer ownership of codecs to tester 2023-02-03 14:29:43 +00:00
vp8 [Unwrap] Use RtpTimestampUnwrapper in ScreenshareLayers 2023-01-09 14:38:55 +00:00
vp9 Add 444 10 bits support for H264 and VP9 2023-01-17 12:32:26 +00:00