Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Issue 2790063003: Merge 58: Enforce MaxFrameDelayCount in VTVideoEncodeAccelerator and cleanups (Closed)

Created:
3 years, 8 months ago by emircan
Modified:
3 years, 8 months ago
Reviewers:
CC:
chromium-reviews, posciak+watch_chromium.org, piman+watch_chromium.org, mac-reviews_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/branch-heads/3029
Project:
chromium
Visibility:
Public.

Description

Merge 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -41 lines) Patch
M media/gpu/vt_video_encode_accelerator_mac.h View 1 chunk +2 lines, -6 lines 0 comments Download
M media/gpu/vt_video_encode_accelerator_mac.cc View 6 chunks +13 lines, -35 lines 0 comments Download

Messages

Total messages: 21 (17 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2790063003/1
3 years, 8 months ago (2017-04-03 17:10:24 UTC) #3
commit-bot: I haz the power
Failed to commit the patch.
3 years, 8 months ago (2017-04-03 17:28:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2790063003/1
3 years, 8 months ago (2017-04-03 17:57:55 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 18:02:22 UTC) #21
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2702ea80726ccc5647abb885927c...

Powered by Google App Engine
This is Rietveld 408576698