DescriptionTab Capture: AnimatedContentSampler subsampling and phase fixes in tests
This change allows the client to specify a target sampling rate, aside
from the maximum frame rate. When animated content is detected, an
approprate subsampling of the relevant frames will be proposed. This is
meant to be used for clients wishing to detect high-frame-rate content
(e.g., 48 or 60 FPS), but only sample at traditional rates (e.g., 24 or
30 FPS).
In testing this change, it became apparent that the current tests were
highly sensitive to phase issues, and were erroneously generating
discontinuous sequences of events in some scenarios. The tests have
been fixed and additional testing for the new functionality added.
BUG=156767
Committed: https://crrev.com/b6b84f4691f44c62ec0ee5f82355ad3d283d4012
Cr-Commit-Position: refs/heads/master@{#329550}
Patch Set 1 #
Total comments: 20
Patch Set 2 : More/better comments. #Patch Set 3 : One more code comment expansion. #Patch Set 4 : Addressed comments and expanded coverage of TargetsSamplingPeriod test. #
Messages
Total messages: 11 (2 generated)
|