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 7085030: Implementation for Pepper C++ Video Decoder API (wrapper on top of C API). (Closed)

Created:
9 years, 6 months ago by Ville-Mikko Rautio
Modified:
9 years, 6 months ago
CC:
chromium-reviews, vhiremath, cfreeman, mheikkinen1, ashok, shikhas
Visibility:
Public.

Description

Implementation for Pepper C++ Video Decoder API (wrapper on top of C API). BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87831

Patch Set 1 #

Patch Set 2 : Simple lint fix. #

Patch Set 3 : Fixed index in std::copy causing one too few element to be copied. #

Patch Set 4 : Added explicit PPBoolToBool conversions to Flush and Abort. #

Patch Set 5 : Changed Assign*Buffers function parameters to std::vector type. #

Total comments: 16

Patch Set 6 : Changed the implementation to trust on C style array implementation of #

Patch Set 7 : Changed Assign*Buffers parameters to references. #

Patch Set 8 : Added TODO for fischman to clean-up the need for const_casts #

Patch Set 9 : Constness fixes in underlying C API. #

Patch Set 10 : Minor style fixes. #

Total comments: 2

Patch Set 11 : Moved back to C-style arrays from vectors in configuration handling. #

Patch Set 12 : Removed unused parameter error detected by tryserver. #

Total comments: 6

Patch Set 13 : config parameter to ctor changed to const. #

Patch Set 14 : Changed the CPP video decoder client to match the changes in PPP_VideoDecoder_Dev #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -65 lines) Patch
M ppapi/c/dev/ppb_video_decoder_dev.h View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -5 lines 0 comments Download
M ppapi/cpp/dev/video_decoder_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +13 lines, -11 lines 0 comments Download
M ppapi/cpp/dev/video_decoder_dev.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +42 lines, -34 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.cc View 1 2 3 4 5 6 7 8 10 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Ville-Mikko Rautio
Uploaded simple C++ wrapper implementation for Pepper C API as separate CL. Hope to land ...
9 years, 6 months ago (2011-05-30 12:07:36 UTC) #1
Ville-Mikko Rautio
One more small change and added Brett for OWNERS approval.
9 years, 6 months ago (2011-05-31 11:55:44 UTC) #2
brettw
http://codereview.chromium.org/7085030/diff/8001/ppapi/cpp/dev/video_decoder_dev.cc File ppapi/cpp/dev/video_decoder_dev.cc (right): http://codereview.chromium.org/7085030/diff/8001/ppapi/cpp/dev/video_decoder_dev.cc#newcode37 ppapi/cpp/dev/video_decoder_dev.cc:37: std::copy(config.begin(), config.end(), c_config); I don't really understand what you're ...
9 years, 6 months ago (2011-05-31 12:46:44 UTC) #3
Ville-Mikko Rautio
Brett, thanks for quick review! Here's the updated CL. It now trusts on allocations to ...
9 years, 6 months ago (2011-05-31 13:33:14 UTC) #4
Ami GONE FROM CHROMIUM
Change LGTM, but const_cast<>'s leave me sad. I think the C API should be changed ...
9 years, 6 months ago (2011-05-31 15:01:56 UTC) #5
Ville-Mikko Rautio
On 2011/05/31 15:01:56, Ami Fischman wrote: > Change LGTM, but const_cast<>'s leave me sad. > ...
9 years, 6 months ago (2011-05-31 15:10:11 UTC) #6
Ami GONE FROM CHROMIUM
I think you mis-parsed my question: I said: Wanna add a TODO in this CL ...
9 years, 6 months ago (2011-05-31 15:18:21 UTC) #7
vmr
So I did. :) I'll make the change. On Tue, May 31, 2011 at 6:18 ...
9 years, 6 months ago (2011-05-31 15:20:57 UTC) #8
Ville-Mikko Rautio
Now the CL has the TODO asked by fischman.
9 years, 6 months ago (2011-05-31 15:26:37 UTC) #9
Ami GONE FROM CHROMIUM
LGTM
9 years, 6 months ago (2011-05-31 15:27:53 UTC) #10
brettw
Why not just fix the const in this patch? It seems like a pretty trivial ...
9 years, 6 months ago (2011-06-01 01:21:44 UTC) #11
Ami GONE FROM CHROMIUM
> > Why not just fix the const in this patch? It seems like a ...
9 years, 6 months ago (2011-06-01 02:50:31 UTC) #12
brettw
http://codereview.chromium.org/7085030/diff/20001/ppapi/cpp/dev/video_decoder_dev.h File ppapi/cpp/dev/video_decoder_dev.h (right): http://codereview.chromium.org/7085030/diff/20001/ppapi/cpp/dev/video_decoder_dev.h#newcode61 ppapi/cpp/dev/video_decoder_dev.h:61: const std::vector<PP_VideoConfigElement>& config, I still have concerns about using ...
9 years, 6 months ago (2011-06-01 07:57:03 UTC) #13
Ville-Mikko Rautio
Builds ok locally, waiting for tryserver results. After that once Brett gives OWNERS approval, this ...
9 years, 6 months ago (2011-06-01 09:45:26 UTC) #14
brettw
LGTM
9 years, 6 months ago (2011-06-01 14:25:39 UTC) #15
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/7085030/diff/2002/ppapi/cpp/dev/video_decoder_dev.cc File ppapi/cpp/dev/video_decoder_dev.cc (right): http://codereview.chromium.org/7085030/diff/2002/ppapi/cpp/dev/video_decoder_dev.cc#newcode26 ppapi/cpp/dev/video_decoder_dev.cc:26: PP_VideoConfigElement* config, const http://codereview.chromium.org/7085030/diff/2002/ppapi/cpp/dev/video_decoder_dev.h File ppapi/cpp/dev/video_decoder_dev.h (right): http://codereview.chromium.org/7085030/diff/2002/ppapi/cpp/dev/video_decoder_dev.h#newcode61 ppapi/cpp/dev/video_decoder_dev.h:61: ...
9 years, 6 months ago (2011-06-01 18:26:28 UTC) #16
vjain
Hi Ville-Mikko, I do not see any mechanism to send EOS to GPU video decoder ...
9 years, 6 months ago (2011-06-02 01:03:05 UTC) #17
Ville-Mikko Rautio
http://codereview.chromium.org/7085030/diff/2002/ppapi/cpp/dev/video_decoder_dev.cc File ppapi/cpp/dev/video_decoder_dev.cc (right): http://codereview.chromium.org/7085030/diff/2002/ppapi/cpp/dev/video_decoder_dev.cc#newcode26 ppapi/cpp/dev/video_decoder_dev.cc:26: PP_VideoConfigElement* config, On 2011/06/01 18:26:28, Ami Fischman wrote: > ...
9 years, 6 months ago (2011-06-03 09:26:05 UTC) #18
Ville-Mikko Rautio
On 2011/06/02 01:03:05, vjain wrote: > Hi Ville-Mikko, > I do not see any mechanism ...
9 years, 6 months ago (2011-06-03 09:28:40 UTC) #19
Ville-Mikko Rautio
I think this CL could be landed now. Mac trybot fails on completely unrelated Skia ...
9 years, 6 months ago (2011-06-03 13:08:24 UTC) #20
commit-bot: I haz the power
Presubmit check for 7085030-29001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 6 months ago (2011-06-03 18:01:11 UTC) #21
Ami GONE FROM CHROMIUM
On 2011/06/03 13:08:24, vmr1 wrote: > I think this CL could be landed now. > ...
9 years, 6 months ago (2011-06-03 18:01:15 UTC) #22
commit-bot: I haz the power
9 years, 6 months ago (2011-06-03 19:33:41 UTC) #23
Change committed as 87831

Powered by Google App Engine
This is Rietveld 408576698