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

Issue 11023004: Update PPP side of Pepper CDM API to support video decoding. (Closed)

Created:
8 years, 2 months ago by Tom Finegan
Modified:
8 years, 2 months ago
Visibility:
Public.

Description

Update PPP side of Pepper CDM API to support video decoding. This adds the PPP half of the video decoding support changes. Adds the following pepper types: - PP_VideoCodec - PP_DecryptedFrameFormat - PP_EncryptedVideoFrameInfo Replaces PPP_ContentDecryptor_Private::DecryptAndDecode with DecryptAndDecodeFrame. BUG=141780 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160078

Patch Set 1 #

Patch Set 2 : Use DecryptAndDecodeFrame instead of DecryptAndDecodeVideo. #

Total comments: 11

Patch Set 3 : Address comments. #

Patch Set 4 : Set PPP interface version to 0.2 #

Total comments: 3

Patch Set 5 : Almost done... #

Patch Set 6 : Rebased, CQ'ing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -149 lines) Patch
M ppapi/api/private/pp_content_decryptor.idl View 1 2 3 4 2 chunks +54 lines, -11 lines 0 comments Download
M ppapi/api/private/ppp_content_decryptor_private.idl View 1 2 3 2 chunks +13 lines, -16 lines 0 comments Download
M ppapi/c/private/pp_content_decryptor.h View 1 2 3 4 3 chunks +65 lines, -12 lines 0 comments Download
M ppapi/c/private/ppp_content_decryptor_private.h View 1 2 3 4 chunks +18 lines, -21 lines 0 comments Download
M ppapi/cpp/private/content_decryptor_private.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/cpp/private/content_decryptor_private.cc View 1 2 3 4 2 chunks +9 lines, -8 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 6 chunks +18 lines, -18 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.cc View 1 2 3 4 5 chunks +28 lines, -26 lines 0 comments Download
M webkit/media/crypto/ppapi/cdm_wrapper.cc View 1 2 3 4 3 chunks +14 lines, -14 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webkit/media/crypto/ppapi/content_decryption_module.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 2 chunks +29 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Tom Finegan
Here's the first pass at the PPP changes, PTAL! Thanks.
8 years, 2 months ago (2012-09-30 01:59:34 UTC) #1
brettw
pepper integration lgtm, I don't check the details.
8 years, 2 months ago (2012-09-30 03:59:16 UTC) #2
ddorwin
Thanks. BUG should be 141780 or a sub-bug. Added fischman@ for feedback on the PP* ...
8 years, 2 months ago (2012-10-01 00:48:10 UTC) #3
Ami GONE FROM CHROMIUM
I'm late to this party, so this may be an inapplicable concern, but: Feeding metadata ...
8 years, 2 months ago (2012-10-01 03:21:40 UTC) #4
xhwang
Did review the whole CL; just a general question. http://codereview.chromium.org/11023004/diff/2001/ppapi/api/private/pp_content_decryptor.idl File ppapi/api/private/pp_content_decryptor.idl (right): http://codereview.chromium.org/11023004/diff/2001/ppapi/api/private/pp_content_decryptor.idl#newcode141 ppapi/api/private/pp_content_decryptor.idl:141: ...
8 years, 2 months ago (2012-10-01 06:19:52 UTC) #5
Tom Finegan
Re Ami's comments: From my perspective those are some fairly scary observations, but I think ...
8 years, 2 months ago (2012-10-02 02:42:26 UTC) #6
ddorwin
LGTM % comment. @fischman: This is intended to be called by src/media, which already has ...
8 years, 2 months ago (2012-10-02 05:36:50 UTC) #7
xhwang
lgtm with comment. http://codereview.chromium.org/11023004/diff/2001/ppapi/api/private/pp_content_decryptor.idl File ppapi/api/private/pp_content_decryptor.idl (right): http://codereview.chromium.org/11023004/diff/2001/ppapi/api/private/pp_content_decryptor.idl#newcode141 ppapi/api/private/pp_content_decryptor.idl:141: struct PP_EncryptedVideoFrameInfo { On 2012/10/02 02:42:26, ...
8 years, 2 months ago (2012-10-03 22:58:21 UTC) #8
Tom Finegan
Addressed comment, renamed cdm::DecryptAndDecodeVideo to DecryptAndDecodeFrame (to be consistent pepper interface), added TODO about decoder ...
8 years, 2 months ago (2012-10-04 02:22:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/11023004/25004
8 years, 2 months ago (2012-10-04 02:22:51 UTC) #10
commit-bot: I haz the power
Change committed as 160078
8 years, 2 months ago (2012-10-04 04:36:16 UTC) #11
ddorwin
8 years, 2 months ago (2012-10-04 16:37:09 UTC) #12
http://codereview.chromium.org/11023004/diff/16004/webkit/plugins/ppapi/ppapi...
File webkit/plugins/ppapi/ppapi_plugin_instance.h (right):

http://codereview.chromium.org/11023004/diff/16004/webkit/plugins/ppapi/ppapi...
webkit/plugins/ppapi/ppapi_plugin_instance.h:254: // Note: These methods can be
used with unecrypted data.
On 2012/10/04 02:22:12, tomf wrote:
> On 2012/10/02 05:36:50, ddorwin wrote:
> > Really, it's jus the D&D method(s) that this makes sense for. And it should
be
> > that unencrypted data may be _passed_ to them.
> 
> Done, I think. Moved comment above PluginInstance::DecryptAndDecode in the cc
> file. If that needs to change, we can fix it when we do the audio side.

The cc comment is fine, but I meant this comment should be above
DecryptAndDecodeFrame (and DecryptAndDecodeSample). Not a big deal; we can fix
it later.

Powered by Google App Engine
This is Rietveld 408576698