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

Issue 659343003: Chromecast media pipeline: handle CENC "full sample encryption" case. (Closed)

Created:
6 years, 2 months ago by gunsch
Modified:
6 years, 2 months ago
Reviewers:
lcwu1, damienv1
CC:
chromium-reviews, feature-media-reviews_chromium.org, lcwu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git/+/master
Project:
chromium
Visibility:
Public.

Description

Chromecast media pipeline: handle CENC "full sample encryption" case. In this case, subsample information is allowed to be elided, but hardware backends typically translate subsample information into hardware APIs. To more cleanly map across this, translate this case into one fully-encrypted "subsample" while transferring DecryptConfigs. R=lcwu@chromium.org,damienv@chromium.org BUG=None Committed: https://crrev.com/57e4c85b678e003d8790fed9ada30496783b4e6c Cr-Commit-Position: refs/heads/master@{#300123}

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments #

Total comments: 5

Patch Set 3 : more comments #

Patch Set 4 : formatting #

Patch Set 5 : formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc View 1 2 3 1 chunk +18 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
gunsch
6 years, 2 months ago (2014-10-17 15:36:24 UTC) #1
damienv1
I would not change DecryptConfigMarshaller but just DecoderBufferMarshaller which would adapt the DecryptConfig when needed. ...
6 years, 2 months ago (2014-10-17 15:43:48 UTC) #2
damienv1
https://codereview.chromium.org/659343003/diff/1/chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc File chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc (right): https://codereview.chromium.org/659343003/diff/1/chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc#newcode145 chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc:145: if (has_decrypt_config) { Note: I was thinking about sth ...
6 years, 2 months ago (2014-10-17 15:46:06 UTC) #3
gunsch
https://codereview.chromium.org/659343003/diff/1/chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc File chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc (right): https://codereview.chromium.org/659343003/diff/1/chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc#newcode145 chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc:145: if (has_decrypt_config) { On 2014/10/17 15:46:05, damienv1 wrote: > ...
6 years, 2 months ago (2014-10-17 16:04:03 UTC) #4
damienv1
lgtm % nits https://codereview.chromium.org/659343003/diff/20001/chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc File chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc (right): https://codereview.chromium.org/659343003/diff/20001/chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc#newcode147 chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc:147: // ISO/IEC 23001-7:2012 9.5 by declaring ...
6 years, 2 months ago (2014-10-17 16:20:22 UTC) #5
gunsch
https://codereview.chromium.org/659343003/diff/20001/chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc File chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc (right): https://codereview.chromium.org/659343003/diff/20001/chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc#newcode147 chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc:147: // ISO/IEC 23001-7:2012 9.5 by declaring one "subsample" with ...
6 years, 2 months ago (2014-10-17 16:22:52 UTC) #6
lcwu1
LGTM https://codereview.chromium.org/659343003/diff/20001/chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc File chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc (right): https://codereview.chromium.org/659343003/diff/20001/chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc#newcode159 chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc:159: else Also else should be in the same ...
6 years, 2 months ago (2014-10-17 16:26:26 UTC) #7
damienv1
lgtm
6 years, 2 months ago (2014-10-17 16:29:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/659343003/80001
6 years, 2 months ago (2014-10-17 16:31:31 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 2 months ago (2014-10-17 17:31:54 UTC) #11
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 17:33:01 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/57e4c85b678e003d8790fed9ada30496783b4e6c
Cr-Commit-Position: refs/heads/master@{#300123}

Powered by Google App Engine
This is Rietveld 408576698