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 #include "webkit/media/crypto/ppapi/clear_key_cdm.h" | 5 #include "webkit/media/crypto/ppapi/clear_key_cdm.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 decrypted_block->set_timestamp(buffer->GetTimestamp().InMicroseconds()); | 232 decrypted_block->set_timestamp(buffer->GetTimestamp().InMicroseconds()); |
233 return cdm::kSuccess; | 233 return cdm::kSuccess; |
234 } | 234 } |
235 | 235 |
236 cdm::Status ClearKeyCdm::InitializeVideoDecoder( | 236 cdm::Status ClearKeyCdm::InitializeVideoDecoder( |
237 const cdm::VideoDecoderConfig& video_decoder_config) { | 237 const cdm::VideoDecoderConfig& video_decoder_config) { |
238 NOTIMPLEMENTED(); | 238 NOTIMPLEMENTED(); |
239 return cdm::kSessionError; | 239 return cdm::kSessionError; |
240 } | 240 } |
241 | 241 |
| 242 void ClearKeyCdm::ResetDecoder(cdm::StreamType) { |
| 243 NOTIMPLEMENTED(); |
| 244 } |
| 245 |
| 246 void ClearKeyCdm::DeinitializeDecoder(cdm::StreamType) { |
| 247 NOTIMPLEMENTED(); |
| 248 } |
| 249 |
242 cdm::Status ClearKeyCdm::DecryptAndDecodeFrame( | 250 cdm::Status ClearKeyCdm::DecryptAndDecodeFrame( |
243 const cdm::InputBuffer& encrypted_buffer, | 251 const cdm::InputBuffer& encrypted_buffer, |
244 cdm::VideoFrame* video_frame) { | 252 cdm::VideoFrame* video_frame) { |
245 NOTIMPLEMENTED(); | 253 NOTIMPLEMENTED(); |
246 return cdm::kDecryptError; | 254 return cdm::kDecryptError; |
247 } | 255 } |
248 | 256 |
249 void ClearKeyCdm::ResetVideoDecoder() { | |
250 NOTIMPLEMENTED(); | |
251 } | |
252 | |
253 void ClearKeyCdm::StopVideoDecoder() { | |
254 NOTIMPLEMENTED(); | |
255 } | |
256 | |
257 } // namespace webkit_media | 257 } // namespace webkit_media |
OLD | NEW |