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

Issue 1818903004: Bitrate controller for VideoToolbox Video Encode Accelerator (Closed)

Created:
4 years, 9 months ago by emircan
Modified:
4 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bitrate controller for VideoToolbox Video Encode Accelerator This CL adds WebRTC's bitrate adjuster to Chrome's H264 HW encoder implementation. Design Doc: https://docs.google.com/document/d/1oUTyZdNh8QstKRds-8wHEF_hqKryMiUpEOW8M57sUGU/edit?usp=sharing BUG=500605 TEST= Tested AppRTC loopback with Chrome flag "--enable-webrtc-hw-h264-encoding" on https://apprtc.appspot.com/?debug=loopback&vsc=h264 Committed: https://crrev.com/ece1ceb03f53e76b2bc972def501661f57e82bc6 Cr-Commit-Position: refs/heads/master@{#393888}

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : Rebase. #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -19 lines) Patch
M media/gpu/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M media/gpu/DEPS View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M media/gpu/ipc/media_ipc.gyp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M media/gpu/ipc/service/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M media/gpu/vt_video_encode_accelerator_mac.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M media/gpu/vt_video_encode_accelerator_mac.cc View 1 2 3 4 5 chunks +43 lines, -18 lines 0 comments Download
M media/media.gyp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M media/media_gpu.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 74 (38 generated)
emircan
PTAL.
4 years, 9 months ago (2016-03-22 00:09:45 UTC) #5
tkchin_webrtc
As alluded to by the other CL, this wasn't code we were anticipating to share. ...
4 years, 9 months ago (2016-03-22 17:04:59 UTC) #10
Niklas Enbom
We already use video_coding/include directly from chromium code, I don't see why this would be ...
4 years, 9 months ago (2016-03-22 17:29:09 UTC) #11
emircan
Friendly PING. Can you PTAL at how BitrateController is used inside VEA? That wouldn't depend ...
4 years, 8 months ago (2016-03-29 01:53:04 UTC) #14
Stefan
On 2016/03/29 01:53:04, emircan wrote: > Friendly PING. Can you PTAL at how BitrateController is ...
4 years, 8 months ago (2016-03-29 14:57:40 UTC) #15
kjellander_chromium
On 2016/03/29 14:57:40, Stefan wrote: > On 2016/03/29 01:53:04, emircan wrote: > > Friendly PING. ...
4 years, 8 months ago (2016-03-29 21:09:52 UTC) #16
tkchin_webrtc
Thanks for the ping. lgtm for usage afaict. As long as you are updating it ...
4 years, 8 months ago (2016-03-29 21:18:52 UTC) #17
tkchin_webrtc
https://codereview.chromium.org/1818903004/diff/40001/content/common/gpu/media/vt_video_encode_accelerator_mac.cc File content/common/gpu/media/vt_video_encode_accelerator_mac.cc (right): https://codereview.chromium.org/1818903004/diff/40001/content/common/gpu/media/vt_video_encode_accelerator_mac.cc#newcode332 content/common/gpu/media/vt_video_encode_accelerator_mac.cc:332: adjusted_bitrate_ = bitrate_adjuster_.GetAdjustedBitrateBps(); shouldn't this be set/checked on each ...
4 years, 8 months ago (2016-03-29 21:21:20 UTC) #18
emircan
PTAL. I updated after moving the folders in webrtc as kjellander@ suggested. https://codereview.chromium.org/1818903004/diff/40001/content/common/gpu/media/vt_video_encode_accelerator_mac.cc File content/common/gpu/media/vt_video_encode_accelerator_mac.cc ...
4 years, 7 months ago (2016-04-28 03:42:55 UTC) #24
emircan
Adding sievers@ for owners review. PTAL.
4 years, 7 months ago (2016-04-28 03:43:35 UTC) #26
kjellander_chromium
GYP,GN,DEPS: lgtm
4 years, 7 months ago (2016-04-28 06:50:24 UTC) #28
Stefan
lgtm
4 years, 7 months ago (2016-04-28 10:28:18 UTC) #29
no sievers
On 2016/04/28 03:43:35, emircan wrote: > Adding sievers@ for owners review. PTAL. lgtm stamp
4 years, 7 months ago (2016-04-28 16:42:27 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1818903004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1818903004/120001
4 years, 7 months ago (2016-04-28 17:27:00 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/174715)
4 years, 7 months ago (2016-04-28 17:35:48 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1818903004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1818903004/120001
4 years, 7 months ago (2016-04-28 22:20:38 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/174922)
4 years, 7 months ago (2016-04-28 22:30:12 UTC) #40
emircan
Presubmit checks for third_party/webrtc OWNERS for DEPS. kjellander@ I think you are an owner but ...
4 years, 7 months ago (2016-04-28 22:33:27 UTC) #41
kjellander_chromium
On 2016/04/28 22:33:27, emircan wrote: > Presubmit checks for third_party/webrtc OWNERS for DEPS. > > ...
4 years, 7 months ago (2016-04-29 06:02:04 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1818903004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1818903004/120001
4 years, 7 months ago (2016-04-29 06:35:36 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/175092)
4 years, 7 months ago (2016-04-29 06:47:12 UTC) #46
kjellander_chromium
+stefan@webrtc.org Oh, I thought the problem was that I had accidentally reviewed using my kjellander@webrtc.org ...
4 years, 7 months ago (2016-04-29 10:27:03 UTC) #48
emircan
Thanks. stefan@webrtc.org PTAL? https://codereview.chromium.org/1818903004/diff/120001/content/common/gpu/media/DEPS File content/common/gpu/media/DEPS (right): https://codereview.chromium.org/1818903004/diff/120001/content/common/gpu/media/DEPS#newcode9 content/common/gpu/media/DEPS:9: "+third_party/webrtc", On 2016/04/29 10:27:03, kjellander (chromium) ...
4 years, 7 months ago (2016-04-29 17:15:01 UTC) #49
stefan-webrtc
lgtm
4 years, 7 months ago (2016-05-02 13:01:02 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1818903004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1818903004/140001
4 years, 7 months ago (2016-05-05 06:56:27 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/1053) ios-simulator-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-05 06:58:21 UTC) #55
emircan
These files has moved folders in the meantime. I need a new OWNERS stamp. dalecurtis@ ...
4 years, 7 months ago (2016-05-05 07:47:29 UTC) #57
DaleCurtis
Hmm, this is a bit odd to take a dep on WebRTC from media/ code. ...
4 years, 7 months ago (2016-05-05 19:58:43 UTC) #59
emircan
On 2016/05/05 19:58:43, DaleCurtis_OOO_Until_May_16 wrote: > Hmm, this is a bit odd to take a ...
4 years, 7 months ago (2016-05-12 18:42:58 UTC) #61
DaleCurtis
With the rebase, I see this is really just for media/gpu and we take a ...
4 years, 7 months ago (2016-05-16 17:04:32 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1818903004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1818903004/200001
4 years, 7 months ago (2016-05-16 17:25:22 UTC) #65
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/183792)
4 years, 7 months ago (2016-05-16 17:33:12 UTC) #67
niklas.enbom
RS lgtm for DEPS On 2016/05/16 17:33:12, commit-bot: I haz the power wrote: > Try ...
4 years, 7 months ago (2016-05-16 17:39:10 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1818903004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1818903004/200001
4 years, 7 months ago (2016-05-16 17:40:18 UTC) #70
commit-bot: I haz the power
Committed patchset #5 (id:200001)
4 years, 7 months ago (2016-05-16 18:59:32 UTC) #72
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 19:01:04 UTC) #74
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ece1ceb03f53e76b2bc972def501661f57e82bc6
Cr-Commit-Position: refs/heads/master@{#393888}

Powered by Google App Engine
This is Rietveld 408576698