| commit | 60ccc50215276c3fc6dbab36dd74c5892441a323 | [log] [tgz] |
|---|---|---|
| author | Erik Språng <sprang@webrtc.org> | Mon Dec 22 14:31:37 2025 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 22 16:45:26 2025 |
| tree | 7b69cba4740a72d18338f72a24895e9c53e7ee6e | |
| parent | bec9c0ffa348ae0f033ddee96d6d68aaa8cf0114 [diff] |
Add FrameSelector utility class, used for ACD frame selection. This CL adds a class that in a follow-up CL will be wired up to the automatic corruption detection mechanism. The current implementation picks a new frame about one second after the previously instrumented frame. This leads to problem where we never instrument frames that follow quickly upon keyframes. This new implementation sets a target timespan after an instrumented frame. A new cutoff time will be randomly placed within that span, allowing at least some samples to happen both early and late providing better temporal coverage. In addition, we allow the span (and thus inderctly the interval) to be set differently for low and higher overhead frames. Running the ACD processing on a frame that is already available in main memory is cheap, but doing it on a texture-backed frame that requires a download from GPU to main memory is significantly more expensive. Sampling with longer intervals mitigates some of this overhead. Bug: webrtc:358039777 Change-Id: I346f1e4d74166aeb3ed8458adfb698b5265344dd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/435442 Reviewed-by: Sergey Silkin <ssilkin@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#46533}
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.