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

Issue 369923008: VaapiVEA: Handle bitrate and frame rate negotiation from webrtc (Closed)

Created:
6 years, 5 months ago by robert.bradford
Modified:
6 years, 5 months ago
Reviewers:
xhwang, Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

VaapiVEA: Handle bitrate and frame rate negotiation from webrtc The webrtc video encoder path will call into RTCVideoEncode::SetRates with a zero framerate as part of the video encode setup. A zero frame rate is not accepted by the VAAPI encoder and so we need to bump the framerate up to a minimum of 1. This change mimics the behavior of the V4L2 based encoder which does the same thing to the framerate and bitrate. TEST=Run chrome --enable-vaapi-accelerated-video-encode and use the Google Cast extension to share the tab to the Chrome Cast. BUG=391445 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284792

Patch Set 1 #

Total comments: 1

Patch Set 2 : Integrate xhwang@ feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M content/common/gpu/media/vaapi_video_encode_accelerator.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
robert.bradford
6 years, 5 months ago (2014-07-04 12:28:33 UTC) #1
Pawel Osciak
lgtm Looks like we should probably have this in RTCVE though...
6 years, 5 months ago (2014-07-06 00:32:37 UTC) #2
robert.bradford
The CQ bit was checked by robert.bradford@intel.com
6 years, 5 months ago (2014-07-07 10:29:30 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.bradford@intel.com/369923008/1
6 years, 5 months ago (2014-07-07 10:30:07 UTC) #4
robert.bradford
On 2014/07/06 00:32:37, Pawel Osciak wrote: > lgtm > > Looks like we should probably ...
6 years, 5 months ago (2014-07-07 12:25:43 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-07 13:49:36 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-07 13:52:33 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/78169)
6 years, 5 months ago (2014-07-07 13:52:34 UTC) #8
robert.bradford
On 2014/07/07 13:52:34, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 5 months ago (2014-07-07 14:11:06 UTC) #9
xhwang
https://codereview.chromium.org/369923008/diff/1/content/common/gpu/media/vaapi_video_encode_accelerator.cc File content/common/gpu/media/vaapi_video_encode_accelerator.cc (right): https://codereview.chromium.org/369923008/diff/1/content/common/gpu/media/vaapi_video_encode_accelerator.cc#newcode751 content/common/gpu/media/vaapi_video_encode_accelerator.cc:751: framerate = 1; I am not really familiar with ...
6 years, 5 months ago (2014-07-07 16:30:51 UTC) #10
Pawel Osciak
On 2014/07/07 16:30:51, xhwang wrote: > https://codereview.chromium.org/369923008/diff/1/content/common/gpu/media/vaapi_video_encode_accelerator.cc > File content/common/gpu/media/vaapi_video_encode_accelerator.cc (right): > > https://codereview.chromium.org/369923008/diff/1/content/common/gpu/media/vaapi_video_encode_accelerator.cc#newcode751 > ...
6 years, 5 months ago (2014-07-08 08:18:32 UTC) #11
robert.bradford
> > 1, Why can't webrtc change the default framerate to 1 so that VEAs ...
6 years, 5 months ago (2014-07-08 12:17:06 UTC) #12
Pawel Osciak
On 2014/07/08 12:17:06, robert.bradford wrote: > > > 1, Why can't webrtc change the default ...
6 years, 5 months ago (2014-07-09 02:31:45 UTC) #13
Pawel Osciak
xhwang: ping please. Please see my previous responses to your questions.
6 years, 5 months ago (2014-07-20 01:44:10 UTC) #14
xhwang
On 2014/07/20 01:44:10, Pawel Osciak wrote: > xhwang: ping please. > > Please see my ...
6 years, 5 months ago (2014-07-21 16:29:02 UTC) #15
Pawel Osciak
On 2014/07/21 16:29:02, xhwang wrote: > On 2014/07/20 01:44:10, Pawel Osciak wrote: > > xhwang: ...
6 years, 5 months ago (2014-07-22 10:29:38 UTC) #16
xhwang
Pawel: Thanks for the explanations. robert.bradford: Can you add a comment here about why we ...
6 years, 5 months ago (2014-07-22 16:37:33 UTC) #17
robert.bradford
The CQ bit was checked by robert.bradford@intel.com
6 years, 5 months ago (2014-07-22 18:24:56 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.bradford@intel.com/369923008/20001
6 years, 5 months ago (2014-07-22 18:28:11 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 21:49:19 UTC) #20
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 23:12:59 UTC) #21
Message was sent while issue was closed.
Change committed as 284792

Powered by Google App Engine
This is Rietveld 408576698