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

Issue 956893002: content: pepper: VideoEncoder: add software encoder support (Closed)

Created:
5 years, 10 months ago by llandwerlin-old
Modified:
5 years, 9 months ago
Reviewers:
bbudge, no sievers
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: pepper: VideoEncoder: add software encoder support BUG=455409 TEST=run content_browsertests --gtest_filter=OutOfProcessPPAPITest.VideoEncoder Committed: https://crrev.com/7918cb6a78193249a30188d8d8fa6ab333aedc0f Cr-Commit-Position: refs/heads/master@{#321790}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Update after bbudge's review #

Total comments: 31

Patch Set 3 : Add modifications to the example to expose different profiles #

Total comments: 6

Patch Set 4 : bbudge's nits #

Patch Set 5 : fix GN builds #

Patch Set 6 : fix wrong GN target name #

Patch Set 7 : Force PP_ArrayOutput to be copied, not take a reference #

Patch Set 8 : Windows tentative fix #

Patch Set 9 : More win fix tentative #

Patch Set 10 : Fix ArrayOutput writing #

Patch Set 11 : Tentative fix on memory corruption #

Patch Set 12 : More tentative fix in test #

Patch Set 13 : Windows debug #

Patch Set 14 : Ensure software profiles are returned even if no gpu channel can be established #

Patch Set 15 : Android build issues with ffmpeg dependencies #

Patch Set 16 : More android blind dependency fix #

Patch Set 17 : Fix incorrect gyp syntax #

Patch Set 18 : Another android dep fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+649 lines, -117 lines) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/pepper/pepper_video_encoder_host.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_video_encoder_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +42 lines, -12 lines 0 comments Download
A content/renderer/pepper/video_encoder_shim.h View 1 2 3 4 5 6 7 1 chunk +76 lines, -0 lines 0 comments Download
A content/renderer/pepper/video_encoder_shim.cc View 1 2 3 4 5 6 7 8 1 chunk +279 lines, -0 lines 0 comments Download
M ppapi/examples/video_encode/video_encode.cc View 1 2 3 13 chunks +158 lines, -81 lines 0 comments Download
M ppapi/examples/video_encode/video_encode.html View 1 2 5 chunks +15 lines, -13 lines 0 comments Download
M ppapi/proxy/video_encoder_resource.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +13 lines, -8 lines 0 comments Download
M ppapi/tests/test_video_encoder.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +52 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
llandwerlin-old
bbudge@, please review this change to add software VP8 encoder support to PPB_VideoEncoder. sievers@, just ...
5 years, 10 months ago (2015-02-25 12:30:38 UTC) #2
bbudge
https://codereview.chromium.org/956893002/diff/1/content/renderer/pepper/pepper_video_encoder_host.cc File content/renderer/pepper/pepper_video_encoder_host.cc (right): https://codereview.chromium.org/956893002/diff/1/content/renderer/pepper/pepper_video_encoder_host.cc#newcode295 content/renderer/pepper/pepper_video_encoder_host.cc:295: acceleration == PP_HARDWAREACCELERATION_WITHFALLBACK) { nit: The acceleration enum contains ...
5 years, 10 months ago (2015-02-25 17:58:22 UTC) #3
llandwerlin-old
https://codereview.chromium.org/956893002/diff/1/content/renderer/pepper/pepper_video_encoder_host.cc File content/renderer/pepper/pepper_video_encoder_host.cc (right): https://codereview.chromium.org/956893002/diff/1/content/renderer/pepper/pepper_video_encoder_host.cc#newcode295 content/renderer/pepper/pepper_video_encoder_host.cc:295: acceleration == PP_HARDWAREACCELERATION_WITHFALLBACK) { On 2015/02/25 17:58:22, bbudge wrote: ...
5 years, 10 months ago (2015-02-26 13:02:14 UTC) #4
bbudge
https://codereview.chromium.org/956893002/diff/20001/content/renderer/pepper/pepper_video_encoder_host.cc File content/renderer/pepper/pepper_video_encoder_host.cc (right): https://codereview.chromium.org/956893002/diff/20001/content/renderer/pepper/pepper_video_encoder_host.cc#newcode169 content/renderer/pepper/pepper_video_encoder_host.cc:169: PP_HardwareAcceleration demand) { Now that we know how merging ...
5 years, 9 months ago (2015-03-02 20:01:07 UTC) #5
llandwerlin-old
I also added modification to the example to allow the user to select the desired ...
5 years, 9 months ago (2015-03-03 15:23:28 UTC) #6
bbudge
https://codereview.chromium.org/956893002/diff/20001/content/renderer/pepper/video_encoder_shim.cc File content/renderer/pepper/video_encoder_shim.cc (right): https://codereview.chromium.org/956893002/diff/20001/content/renderer/pepper/video_encoder_shim.cc#newcode197 content/renderer/pepper/video_encoder_shim.cc:197: return false; On 2015/03/03 15:23:28, llandwerlin wrote: > On ...
5 years, 9 months ago (2015-03-05 01:43:59 UTC) #7
llandwerlin-old
On 2015/03/05 01:43:59, bbudge wrote: > https://codereview.chromium.org/956893002/diff/20001/content/renderer/pepper/video_encoder_shim.cc > File content/renderer/pepper/video_encoder_shim.cc (right): > > https://codereview.chromium.org/956893002/diff/20001/content/renderer/pepper/video_encoder_shim.cc#newcode197 > ...
5 years, 9 months ago (2015-03-10 11:07:26 UTC) #8
bbudge
On 2015/03/10 11:07:26, llandwerlin wrote: > On 2015/03/05 01:43:59, bbudge wrote: > > > https://codereview.chromium.org/956893002/diff/20001/content/renderer/pepper/video_encoder_shim.cc ...
5 years, 9 months ago (2015-03-11 13:28:39 UTC) #9
bbudge
Since we're not getting much guidance, let's land this with VP8 support only. I made ...
5 years, 9 months ago (2015-03-16 18:27:48 UTC) #10
llandwerlin-old
https://codereview.chromium.org/956893002/diff/40001/content/renderer/pepper/pepper_video_encoder_host.cc File content/renderer/pepper/pepper_video_encoder_host.cc (right): https://codereview.chromium.org/956893002/diff/40001/content/renderer/pepper/pepper_video_encoder_host.cc#newcode470 content/renderer/pepper/pepper_video_encoder_host.cc:470: profile, PP_HARDWAREACCELERATION_NONE)); On 2015/03/16 18:27:48, bbudge wrote: > use ...
5 years, 9 months ago (2015-03-16 19:08:10 UTC) #11
llandwerlin-old
sievers@ : Could you give an LGTM on the gn build file if this change ...
5 years, 9 months ago (2015-03-20 12:05:34 UTC) #12
no sievers
lgtm
5 years, 9 months ago (2015-03-20 18:21:16 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/956893002/330001
5 years, 9 months ago (2015-03-23 15:23:37 UTC) #16
commit-bot: I haz the power
Committed patchset #18 (id:330001)
5 years, 9 months ago (2015-03-23 16:35:57 UTC) #17
commit-bot: I haz the power
5 years, 9 months ago (2015-03-23 16:36:46 UTC) #18
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/7918cb6a78193249a30188d8d8fa6ab333aedc0f
Cr-Commit-Position: refs/heads/master@{#321790}

Powered by Google App Engine
This is Rietveld 408576698