commit | b43cd86e64db64e83b75e1b8eee1d451ca697f4a | [log] [tgz] |
---|---|---|
author | Sergey Silkin <ssilkin@webrtc.org> | Mon Jul 08 05:42:17 2024 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 08 12:00:43 2024 |
tree | ab4db546453fb4b78404907890dd802aef96fbb5 | |
parent | 41ffc51e4504e02ed12f9e0f655617e3931af63c [diff] |
Increase frame rate precision in libaom AV1 encoder wrapper Before this change the AV1 encoder wrapper converted target frame rate from double to integer with rounding to the middle. That approach resulted in a bitrate mismatch caused by rounding error. The mismatch was especially high at low frame rates. For example, at target frame rate 1.4fps the bitrate mismatch reached 40%: out/debug/video_codec_perf_tests --gtest_also_run_disabled_tests --gtest_filter=*EncodeDecode --framerate_fps=1.4 --width=320 --height=180 --bitrate_kbps=32 --num_frames=600 ... RESULT s0t0_bitrate_mismatch_pct: DISABLED_EncodeDecode= {39.171875,0} n% After the change the mismatch reduced to ~2% in the same scenario: RESULT s0t0_bitrate_mismatch_pct: DISABLED_EncodeDecode= {-2.178125,0} n% Bug: b/337757868 Change-Id: Ia51f92b3dfdce103eed1d04cac0e084b69fa8213 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/356500 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42601}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.