Chromium Code Reviews
DescriptionMerge 58: Enforce MaxFrameDelayCount in VTVideoEncodeAccelerator and cleanups
This CL makes sure that we create a HW encoder session only when
MaxFrameDelayCount can be set. In case of multiple video streams, Video
Toolbox can set this variable up to 8, which results in a ~240 ms delay. We
should just fall back to SW in those cases.
Additional cleanups:
- Remove the unused buffer pool attributes.
- Since MaxFrameDelayCount can only be set when
RequireHardwareAcceleratedVideoEncoder works, remove the other fallback
logic.
BUG=707309
TEST=Demo trying resolutions scaling down https://jsfiddle.net/emircan/jhonduk5/.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2791733002
Cr-Commit-Position: refs/heads/master@{#461245}
(cherry picked from commit 7cfd3f9eb9dd016c64853f1ae8af84980f9d6f64)
NOTRY=true
NOPRESUBMIT=true
TBR=sandersd@chromium.org
Review-Url: https://codereview.chromium.org/2790063003
Cr-Commit-Position: refs/branch-heads/3029@{#551}
Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471}
Committed: https://chromium.googlesource.com/chromium/src/+/2702ea80726ccc5647abb885927c4e23dd6ff118
Patch Set 1 #
Messages
Total messages: 21 (17 generated)
|
||||||||||||||||||||||||||||