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

Side by Side Diff: ppapi/cpp/private/content_decryptor_private.h

Issue 26956002: Plumb support for audio sample formats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cast. Created 7 years, 2 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_ 5 #ifndef PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_ 6 #define PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_
7 7
8 #include "ppapi/c/private/pp_content_decryptor.h" 8 #include "ppapi/c/private/pp_content_decryptor.h"
9 #include "ppapi/c/private/ppb_content_decryptor_private.h" 9 #include "ppapi/c/private/ppb_content_decryptor_private.h"
10 #include "ppapi/c/private/ppp_content_decryptor_private.h" 10 #include "ppapi/c/private/ppp_content_decryptor_private.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // The plugin must not hold a reference to the encrypted buffer resource 87 // The plugin must not hold a reference to the encrypted buffer resource
88 // provided to DecryptAndDecode() when it calls this method. The browser will 88 // provided to DecryptAndDecode() when it calls this method. The browser will
89 // reuse the buffer in a subsequent DecryptAndDecode() call. 89 // reuse the buffer in a subsequent DecryptAndDecode() call.
90 void DeliverFrame(pp::Buffer_Dev decrypted_frame, 90 void DeliverFrame(pp::Buffer_Dev decrypted_frame,
91 const PP_DecryptedFrameInfo& decrypted_frame_info); 91 const PP_DecryptedFrameInfo& decrypted_frame_info);
92 92
93 // The plugin must not hold a reference to the encrypted buffer resource 93 // The plugin must not hold a reference to the encrypted buffer resource
94 // provided to DecryptAndDecode() when it calls this method. The browser will 94 // provided to DecryptAndDecode() when it calls this method. The browser will
95 // reuse the buffer in a subsequent DecryptAndDecode() call. 95 // reuse the buffer in a subsequent DecryptAndDecode() call.
96 void DeliverSamples(pp::Buffer_Dev audio_frames, 96 void DeliverSamples(pp::Buffer_Dev audio_frames,
97 const PP_DecryptedBlockInfo& decrypted_block_info); 97 const PP_DecryptedSampleInfo& decrypted_sample_info);
98 98
99 private: 99 private:
100 InstanceHandle associated_instance_; 100 InstanceHandle associated_instance_;
101 }; 101 };
102 102
103 } // namespace pp 103 } // namespace pp
104 104
105 #endif // PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_ 105 #endif // PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_content_decryptor_private.h ('k') | ppapi/cpp/private/content_decryptor_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698