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

Issue 10900007: Add video decoding support in the CDM interface. (Closed)

Created:
8 years, 3 months ago by xhwang
Modified:
8 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Add video decoding support in the CDM interface. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155174

Patch Set 1 #

Patch Set 2 : Added more video decoding methods. #

Patch Set 3 : Replace uint8 with uint8_t. #

Total comments: 8

Patch Set 4 : Resolve comments. #

Total comments: 11

Patch Set 5 : Resolve comments. #

Total comments: 1

Patch Set 6 : Merge issue 10899021 on CDM interface. #

Total comments: 28

Patch Set 7 : Resolve ddorwin's comments. #

Total comments: 28

Patch Set 8 : Resolve comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -19 lines) Patch
M webkit/media/crypto/ppapi/cdm_wrapper.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.h View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.cc View 1 2 3 4 4 chunks +25 lines, -4 lines 0 comments Download
M webkit/media/crypto/ppapi/content_decryption_module.h View 1 2 3 4 5 6 7 8 chunks +138 lines, -11 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
xhwang
Hello, I added video decoding methods in the CDM interface. Please review. xhwang
8 years, 3 months ago (2012-09-01 06:05:05 UTC) #1
scherkus (not reviewing)
http://codereview.chromium.org/10900007/diff/4004/webkit/media/crypto/ppapi/clear_key_cdm.cc File webkit/media/crypto/ppapi/clear_key_cdm.cc (right): http://codereview.chromium.org/10900007/diff/4004/webkit/media/crypto/ppapi/clear_key_cdm.cc#newcode221 webkit/media/crypto/ppapi/clear_key_cdm.cc:221: return cdm::kErrorUnknown; add NOTIMPLEMENTED() so we get some logging ...
8 years, 3 months ago (2012-09-01 12:33:08 UTC) #2
xhwang
Resolved comments and also fixed some others issues I found. PTAL! http://codereview.chromium.org/10900007/diff/4004/webkit/media/crypto/ppapi/clear_key_cdm.cc File webkit/media/crypto/ppapi/clear_key_cdm.cc (right): ...
8 years, 3 months ago (2012-09-01 13:05:24 UTC) #3
xhwang
http://codereview.chromium.org/10900007/diff/10001/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/10900007/diff/10001/webkit/media/crypto/ppapi/content_decryption_module.h#newcode138 webkit/media/crypto/ppapi/content_decryption_module.h:138: kI420 // 12bpp YVU planar 1x1 Y, 2x2 UV ...
8 years, 3 months ago (2012-09-01 13:14:36 UTC) #4
scherkus (not reviewing)
http://codereview.chromium.org/10900007/diff/10001/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/10900007/diff/10001/webkit/media/crypto/ppapi/content_decryption_module.h#newcode176 webkit/media/crypto/ppapi/content_decryption_module.h:176: struct VideoDeocderConfig { typo http://codereview.chromium.org/10900007/diff/10001/webkit/media/crypto/ppapi/content_decryption_module.h#newcode265 webkit/media/crypto/ppapi/content_decryption_module.h:265: // only empty ...
8 years, 3 months ago (2012-09-02 09:13:23 UTC) #5
xhwang
http://codereview.chromium.org/10900007/diff/10001/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/10900007/diff/10001/webkit/media/crypto/ppapi/content_decryption_module.h#newcode176 webkit/media/crypto/ppapi/content_decryption_module.h:176: struct VideoDeocderConfig { On 2012/09/02 09:13:24, scherkus wrote: > ...
8 years, 3 months ago (2012-09-02 10:40:32 UTC) #6
ddorwin
Need to reconcile CDM.h changes with 10899021. I'm waiting for that before reviewing most of ...
8 years, 3 months ago (2012-09-03 12:35:30 UTC) #7
scherkus (not reviewing)
IIRC the plan is for xhwang@ to merge in tomf@'s changes -- if that is ...
8 years, 3 months ago (2012-09-03 12:52:35 UTC) #8
xhwang
Merged part of the changes and resolved comments in 10899021. Also resolved comments in this ...
8 years, 3 months ago (2012-09-04 15:08:18 UTC) #9
ddorwin
http://codereview.chromium.org/10900007/diff/14001/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/10900007/diff/14001/webkit/media/crypto/ppapi/content_decryption_module.h#newcode36 webkit/media/crypto/ppapi/content_decryption_module.h:36: kNoKey, // The decryption key is not available for ...
8 years, 3 months ago (2012-09-05 09:37:57 UTC) #10
xhwang
http://codereview.chromium.org/10900007/diff/14001/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/10900007/diff/14001/webkit/media/crypto/ppapi/content_decryption_module.h#newcode36 webkit/media/crypto/ppapi/content_decryption_module.h:36: kNoKey, // The decryption key is not available for ...
8 years, 3 months ago (2012-09-05 14:02:00 UTC) #11
ddorwin
LGTM % 1 comment http://codereview.chromium.org/10900007/diff/10004/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/10900007/diff/10004/webkit/media/crypto/ppapi/content_decryption_module.h#newcode292 webkit/media/crypto/ppapi/content_decryption_module.h:292: // Resets the CDM video ...
8 years, 3 months ago (2012-09-05 14:52:29 UTC) #12
xhwang
http://codereview.chromium.org/10900007/diff/10004/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/10900007/diff/10004/webkit/media/crypto/ppapi/content_decryption_module.h#newcode10 webkit/media/crypto/ppapi/content_decryption_module.h:10: typedef unsigned int uint32_t; Will add typedef for int32_t ...
8 years, 3 months ago (2012-09-05 15:36:50 UTC) #13
scherkus (not reviewing)
mostly nits and Q about Stop vs destructor http://codereview.chromium.org/10900007/diff/10004/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/10900007/diff/10004/webkit/media/crypto/ppapi/content_decryption_module.h#newcode147 webkit/media/crypto/ppapi/content_decryption_module.h:147: struct ...
8 years, 3 months ago (2012-09-05 16:43:43 UTC) #14
xhwang
http://codereview.chromium.org/10900007/diff/10004/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/10900007/diff/10004/webkit/media/crypto/ppapi/content_decryption_module.h#newcode10 webkit/media/crypto/ppapi/content_decryption_module.h:10: typedef unsigned int uint32_t; On 2012/09/05 15:36:50, xhwang wrote: ...
8 years, 3 months ago (2012-09-05 17:13:29 UTC) #15
scherkus (not reviewing)
lgtm
8 years, 3 months ago (2012-09-06 07:59:04 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/10900007/8016
8 years, 3 months ago (2012-09-06 08:17:29 UTC) #17
commit-bot: I haz the power
8 years, 3 months ago (2012-09-06 12:35:22 UTC) #18
Change committed as 155174

Powered by Google App Engine
This is Rietveld 408576698