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

Issue 11028087: Add decoder de-initialize and reset to the Pepper CDM API. (Closed)

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

Description

Add decoder de-initialization and reset to the Pepper CDM API. Adds pepper type PP_StreamType for identifying type of decoder. BUG=141780 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161522

Patch Set 1 #

Patch Set 2 : Finish first pass. #

Total comments: 15

Patch Set 3 : Comments partially addressed... #

Patch Set 4 : Renaming and generalizing done... #

Total comments: 8

Patch Set 5 : Remove PP_STREAMTYPE_UNKNOWN. #

Total comments: 8

Patch Set 6 : Remove kStreamTypeUnknown from cdm::StreamType. #

Patch Set 7 : Rebased. #

Patch Set 8 : Address comments with the exception of renaming Deinit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+553 lines, -22 lines) Patch
M ppapi/api/private/pp_content_decryptor.idl View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M ppapi/api/private/ppb_content_decryptor_private.idl View 1 2 3 4 5 6 7 1 chunk +32 lines, -0 lines 0 comments Download
M ppapi/api/private/ppp_content_decryptor_private.idl View 1 2 3 4 5 6 7 1 chunk +46 lines, -0 lines 0 comments Download
M ppapi/c/private/pp_content_decryptor.h View 1 2 3 4 5 6 7 2 chunks +17 lines, -1 line 0 comments Download
M ppapi/c/private/ppb_content_decryptor_private.h View 1 2 3 4 5 6 7 2 chunks +29 lines, -1 line 0 comments Download
M ppapi/c/private/ppp_content_decryptor_private.h View 1 2 3 4 5 6 7 2 chunks +43 lines, -1 line 0 comments Download
M ppapi/cpp/private/content_decryptor_private.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M ppapi/cpp/private/content_decryptor_private.cc View 1 2 3 4 5 6 7 3 chunks +46 lines, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 7 5 chunks +29 lines, -1 line 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 4 chunks +18 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 3 4 5 6 7 3 chunks +47 lines, -0 lines 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.cc View 1 2 3 4 5 6 7 4 chunks +66 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_content_decryptor_private_thunk.cc View 1 2 3 4 5 6 7 2 chunks +21 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_instance_api.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M webkit/media/crypto/ppapi/cdm_wrapper.cc View 1 2 3 4 5 6 7 4 chunks +42 lines, -0 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -6 lines 0 comments Download
M webkit/media/crypto/ppapi/content_decryption_module.h View 1 2 3 4 5 6 7 3 chunks +15 lines, -10 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 2 3 4 5 6 7 3 chunks +13 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 2 chunks +38 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Tom Finegan
This adds video decoder stop and reset to the PPAPI CDM interface. It's intended to ...
8 years, 2 months ago (2012-10-09 06:17:23 UTC) #1
Ami GONE FROM CHROMIUM
LGTM % naming nits http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl File ppapi/api/private/ppb_content_decryptor_private.idl (right): http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl#newcode157 ppapi/api/private/ppb_content_decryptor_private.idl:157: void DecoderReset( s/Reset/ResetDone/ ? (to ...
8 years, 2 months ago (2012-10-09 07:25:54 UTC) #2
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl File ppapi/api/private/ppb_content_decryptor_private.idl (right): http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl#newcode149 ppapi/api/private/ppb_content_decryptor_private.idl:149: * Called after the <code>ResetAudioDecoder()</code> or This CL talks ...
8 years, 2 months ago (2012-10-09 07:26:38 UTC) #3
xhwang
Didn't review all files. Just some general questions about this CL. http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl File ppapi/api/private/ppb_content_decryptor_private.idl (right): ...
8 years, 2 months ago (2012-10-09 16:27:27 UTC) #4
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl File ppapi/api/private/ppb_content_decryptor_private.idl (right): http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl#newcode157 ppapi/api/private/ppb_content_decryptor_private.idl:157: void DecoderReset( On 2012/10/09 16:27:27, xhwang wrote: > These ...
8 years, 2 months ago (2012-10-09 16:41:05 UTC) #5
xhwang
http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl File ppapi/api/private/ppb_content_decryptor_private.idl (right): http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl#newcode157 ppapi/api/private/ppb_content_decryptor_private.idl:157: void DecoderReset( On 2012/10/09 16:41:05, Ami Fischman wrote: > ...
8 years, 2 months ago (2012-10-09 18:41:20 UTC) #6
Tom Finegan
PTAL at discussion in ppb_content_decryptor_private.idl. Thanks! http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl File ppapi/api/private/ppb_content_decryptor_private.idl (right): http://codereview.chromium.org/11028087/diff/2001/ppapi/api/private/ppb_content_decryptor_private.idl#newcode149 ppapi/api/private/ppb_content_decryptor_private.idl:149: * Called after ...
8 years, 2 months ago (2012-10-10 00:39:32 UTC) #7
Tom Finegan
I finished the renaming and first pass at generalization... PTAL. Thanks!
8 years, 2 months ago (2012-10-10 05:10:33 UTC) #8
Ami GONE FROM CHROMIUM
renamings LGTM
8 years, 2 months ago (2012-10-10 06:18:20 UTC) #9
Tom Finegan
+brettw Brett, PTAL. This is intended to land after the initialize video decoder CL, and ...
8 years, 2 months ago (2012-10-10 06:26:13 UTC) #10
xhwang
lgtm % nits and a question about function ordering. http://codereview.chromium.org/11028087/diff/9018/ppapi/api/private/ppb_content_decryptor_private.idl File ppapi/api/private/ppb_content_decryptor_private.idl (right): http://codereview.chromium.org/11028087/diff/9018/ppapi/api/private/ppb_content_decryptor_private.idl#newcode148 ppapi/api/private/ppb_content_decryptor_private.idl:148: ...
8 years, 2 months ago (2012-10-11 03:53:35 UTC) #11
brettw
Note: I put some interface comments in the .h, but you'll want to address them ...
8 years, 2 months ago (2012-10-11 20:53:43 UTC) #12
Tom Finegan
http://codereview.chromium.org/11028087/diff/12001/ppapi/api/private/pp_content_decryptor.idl File ppapi/api/private/pp_content_decryptor.idl (right): http://codereview.chromium.org/11028087/diff/12001/ppapi/api/private/pp_content_decryptor.idl#newcode268 ppapi/api/private/pp_content_decryptor.idl:268: enum PP_StreamType { On 2012/10/11 20:53:43, brettw wrote: > ...
8 years, 2 months ago (2012-10-12 05:01:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/11028087/18001
8 years, 2 months ago (2012-10-12 05:02:55 UTC) #14
commit-bot: I haz the power
8 years, 2 months ago (2012-10-12 07:03:11 UTC) #15
Change committed as 161522

Powered by Google App Engine
This is Rietveld 408576698