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

Side by Side Diff: chromecast/media/cma/pipeline/decrypt_util.h

Issue 741863002: Chromecast: adds a media pipeline feeding data to CMA device backends. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cma-cdm
Patch Set: address nits, merge Pause/Flush Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMECAST_MEDIA_CMA_PIPELINE_DECRYPT_UTIL_H_
6 #define CHROMECAST_MEDIA_CMA_PIPELINE_DECRYPT_UTIL_H_
7
8 #include "base/memory/ref_counted.h"
9
10 namespace crypto {
11 class SymmetricKey;
12 }
13
14 namespace chromecast {
15 namespace media {
16
17 class DecoderBufferBase;
18
19 // Create a new buffer which corresponds to the clear version of |buffer|.
20 // Note: the memory area corresponding to the ES data of the new buffer
21 // is the same as the ES data of |buffer| (for efficiency).
22 // After the function is called, |buffer| is left in a inconsistent state
23 // in the sense it has some decryption info but the ES data is now in clear.
24 scoped_refptr<DecoderBufferBase> DecryptDecoderBuffer(
25 const scoped_refptr<DecoderBufferBase>& buffer,
26 crypto::SymmetricKey* key);
27
28 } // namespace media
29 } // namespace chromecast
30
31 #endif // CHROMECAST_MEDIA_CMA_PIPELINE_DECRYPT_UTIL_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/pipeline/av_pipeline_impl.cc ('k') | chromecast/media/cma/pipeline/decrypt_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698