OLD | NEW |
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 WEBKIT_MEDIA_CRYPTO_PPAPI_FFMPEG_CDM_AUDIO_DECODER_H_ | 5 #ifndef WEBKIT_MEDIA_CRYPTO_PPAPI_FFMPEG_CDM_AUDIO_DECODER_H_ |
6 #define WEBKIT_MEDIA_CRYPTO_PPAPI_FFMPEG_CDM_AUDIO_DECODER_H_ | 6 #define WEBKIT_MEDIA_CRYPTO_PPAPI_FFMPEG_CDM_AUDIO_DECODER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/time.h" | 11 #include "base/time.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "webkit/media/crypto/ppapi/content_decryption_module.h" | 13 #include "webkit/media/crypto/ppapi/cdm/content_decryption_module.h" |
14 | 14 |
15 struct AVCodecContext; | 15 struct AVCodecContext; |
16 struct AVFrame; | 16 struct AVFrame; |
17 | 17 |
18 namespace webkit_media { | 18 namespace webkit_media { |
19 | 19 |
20 class FFmpegCdmAudioDecoder { | 20 class FFmpegCdmAudioDecoder { |
21 public: | 21 public: |
22 explicit FFmpegCdmAudioDecoder(cdm::Allocator* allocator); | 22 explicit FFmpegCdmAudioDecoder(cdm::Allocator* allocator); |
23 ~FFmpegCdmAudioDecoder(); | 23 ~FFmpegCdmAudioDecoder(); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 typedef std::vector<uint8_t> SerializedAudioFrames; | 71 typedef std::vector<uint8_t> SerializedAudioFrames; |
72 SerializedAudioFrames serialized_audio_frames_; | 72 SerializedAudioFrames serialized_audio_frames_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(FFmpegCdmAudioDecoder); | 74 DISALLOW_COPY_AND_ASSIGN(FFmpegCdmAudioDecoder); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace webkit_media | 77 } // namespace webkit_media |
78 | 78 |
79 #endif // WEBKIT_MEDIA_CRYPTO_PPAPI_FFMPEG_CDM_AUDIO_DECODER_H_ | 79 #endif // WEBKIT_MEDIA_CRYPTO_PPAPI_FFMPEG_CDM_AUDIO_DECODER_H_ |
OLD | NEW |