/external/chromium_org/media/base/ |
D | decoder_buffer.cc | 12 DecoderBuffer::DecoderBuffer(int size) in DecoderBuffer() function in media::DecoderBuffer 18 DecoderBuffer::DecoderBuffer(const uint8* data, int size, in DecoderBuffer() function in media::DecoderBuffer 34 DecoderBuffer::~DecoderBuffer() {} in ~DecoderBuffer() 36 void DecoderBuffer::Initialize() { in Initialize() 49 scoped_refptr<DecoderBuffer> DecoderBuffer::CopyFrom(const uint8* data, in CopyFrom() 53 return make_scoped_refptr(new DecoderBuffer(data, data_size, NULL, 0)); in CopyFrom() 57 scoped_refptr<DecoderBuffer> DecoderBuffer::CopyFrom(const uint8* data, in CopyFrom() 64 return make_scoped_refptr(new DecoderBuffer(data, data_size, in CopyFrom() 69 scoped_refptr<DecoderBuffer> DecoderBuffer::CreateEOSBuffer() { in CreateEOSBuffer() 70 return make_scoped_refptr(new DecoderBuffer(NULL, 0, NULL, 0)); in CreateEOSBuffer() [all …]
|
D | decoder_buffer_unittest.cc | 12 scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(0)); in TEST() 18 scoped_refptr<DecoderBuffer> buffer3(new DecoderBuffer(kTestSize)); in TEST() 24 scoped_refptr<DecoderBuffer> buffer(DecoderBuffer::CreateEOSBuffer()); in TEST() 31 scoped_refptr<DecoderBuffer> buffer2(DecoderBuffer::CopyFrom( in TEST() 38 scoped_refptr<DecoderBuffer> buffer3(DecoderBuffer::CopyFrom( in TEST() 55 scoped_refptr<DecoderBuffer> buffer2(DecoderBuffer::CopyFrom( in TEST() 60 for(int i = 0; i < DecoderBuffer::kPaddingSize; i++) in TEST() 69 DecoderBuffer::kPaddingSize); in TEST() 70 for(int i = 0; i < DecoderBuffer::kPaddingSize; i++) in TEST() 74 buffer2->data()) & (DecoderBuffer::kAlignmentSize - 1)); in TEST() [all …]
|
D | decoder_buffer.h | 30 class MEDIA_EXPORT DecoderBuffer 31 : public base::RefCountedThreadSafe<DecoderBuffer> { 44 explicit DecoderBuffer(int size); 48 static scoped_refptr<DecoderBuffer> CopyFrom(const uint8* data, int size); 53 static scoped_refptr<DecoderBuffer> CopyFrom(const uint8* data, int size, 61 static scoped_refptr<DecoderBuffer> CreateEOSBuffer(); 137 friend class base::RefCountedThreadSafe<DecoderBuffer>; 142 DecoderBuffer(const uint8* data, int size, 144 virtual ~DecoderBuffer(); 160 DISALLOW_COPY_AND_ASSIGN(DecoderBuffer);
|
D | decoder_buffer_queue.h | 16 class DecoderBuffer; variable 34 void Push(const scoped_refptr<DecoderBuffer>& buffer); 39 scoped_refptr<DecoderBuffer> Pop(); 55 typedef std::deque<scoped_refptr<DecoderBuffer> > Queue;
|
D | decryptor.h | 19 class DecoderBuffer; variable 73 const scoped_refptr<DecoderBuffer>&)> DecryptCB; 82 const scoped_refptr<DecoderBuffer>& encrypted, 136 const scoped_refptr<DecoderBuffer>& encrypted, 139 const scoped_refptr<DecoderBuffer>& encrypted,
|
D | test_data_util.cc | 24 scoped_refptr<DecoderBuffer> ReadTestDataFile(const std::string& name) { in ReadTestDataFile() 38 scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(file_size)); in ReadTestDataFile()
|
D | decoder_buffer_queue.cc | 19 void DecoderBufferQueue::Push(const scoped_refptr<DecoderBuffer>& buffer) { in Push() 48 scoped_refptr<DecoderBuffer> DecoderBufferQueue::Pop() { in Pop() 49 scoped_refptr<DecoderBuffer> buffer = queue_.front(); in Pop()
|
D | test_helpers.h | 24 class DecoderBuffer; variable 137 scoped_refptr<DecoderBuffer> CreateFakeVideoBufferForTest( 143 bool VerifyFakeVideoBufferForTest(const scoped_refptr<DecoderBuffer>& buffer,
|
D | test_data_util.h | 17 class DecoderBuffer; variable 28 scoped_refptr<DecoderBuffer> ReadTestDataFile(const std::string& name);
|
D | fake_text_track_stream.cc | 58 scoped_refptr<DecoderBuffer> buffer; in SatisfyPendingRead() 59 buffer = DecoderBuffer::CopyFrom(data_buf, data_len, sd_buf, sd_len); in SatisfyPendingRead() 74 base::ResetAndReturn(&read_cb_).Run(kOk, DecoderBuffer::CreateEOSBuffer()); in SendEosNotification()
|
/external/chromium_org/media/cdm/ |
D | aes_decryptor_unittest.cc | 176 static scoped_refptr<DecoderBuffer> CreateEncryptedBuffer( in CreateEncryptedBuffer() 184 scoped_refptr<DecoderBuffer> encrypted_buffer(new DecoderBuffer(padded_size)); in CreateEncryptedBuffer() 271 const scoped_refptr<DecoderBuffer>&)); 281 void DecryptAndExpect(const scoped_refptr<DecoderBuffer>& encrypted, in DecryptAndExpect() 284 scoped_refptr<DecoderBuffer> decrypted; in DecryptAndExpect() 383 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() 391 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() 398 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() 406 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() 412 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() [all …]
|
D | aes_decryptor.cc | 125 static scoped_refptr<DecoderBuffer> DecryptData(const DecoderBuffer& input, in DecryptData() 163 return DecoderBuffer::CopyFrom( in DecryptData() 189 return DecoderBuffer::CopyFrom(reinterpret_cast<const uint8*>(sample), in DecryptData() 213 scoped_refptr<DecoderBuffer> output = DecoderBuffer::CopyFrom( in DecryptData() 329 const scoped_refptr<DecoderBuffer>& encrypted, in Decrypt() 333 scoped_refptr<DecoderBuffer> decrypted; in Decrypt() 337 decrypted = DecoderBuffer::CopyFrom(encrypted->data() + data_offset, in Decrypt() 379 const scoped_refptr<DecoderBuffer>& encrypted, in DecryptAndDecodeAudio() 385 const scoped_refptr<DecoderBuffer>& encrypted, in DecryptAndDecodeVideo()
|
/external/chromium_org/media/filters/ |
D | decrypting_demuxer_stream_unittest.cc | 33 static scoped_refptr<DecoderBuffer> CreateFakeEncryptedStreamBuffer( in CreateFakeEncryptedStreamBuffer() 35 scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(kFakeBufferSize)); in CreateFakeEncryptedStreamBuffer() 86 decrypted_buffer_(new DecoderBuffer(kFakeBufferSize)) { in DecryptingDemuxerStreamTest() 135 const scoped_refptr<DecoderBuffer>& decrypted_buffer) { in ReadAndExpectBufferReadyWith() 155 scoped_refptr<DecoderBuffer> decrypted_buffer; in EnterClearReadingState() 208 scoped_refptr<DecoderBuffer>())); in EnterWaitingForKeyState() 221 scoped_refptr<DecoderBuffer> buffer = in SatisfyPendingDemuxerReadCB() 249 const scoped_refptr<DecoderBuffer>&)); 265 scoped_refptr<DecoderBuffer> clear_buffer_; 266 scoped_refptr<DecoderBuffer> encrypted_buffer_; [all …]
|
D | ffmpeg_video_decoder.h | 26 class DecoderBuffer; variable 39 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, 59 void DecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer); 60 bool FFmpegDecode(const scoped_refptr<DecoderBuffer>& buffer,
|
D | decrypting_demuxer_stream.h | 23 class DecoderBuffer; variable 79 const scoped_refptr<DecoderBuffer>& buffer); 85 const scoped_refptr<DecoderBuffer>& decrypted_buffer); 123 scoped_refptr<media::DecoderBuffer> pending_buffer_to_decrypt_;
|
D | ffmpeg_video_decoder_unittest.cc | 56 end_of_stream_buffer_ = DecoderBuffer::CreateEOSBuffer(); in FFmpegVideoDecoderTest() 116 typedef std::vector<scoped_refptr<DecoderBuffer> > InputBuffers; 128 scoped_refptr<DecoderBuffer> buffer; in DecodeMultipleFrames() 164 void DecodeSingleFrame(const scoped_refptr<DecoderBuffer>& buffer, in DecodeSingleFrame() 190 scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile(test_file_name); in DecodeIFrameThenTestFile() 214 void Decode(const scoped_refptr<DecoderBuffer>& buffer, in Decode() 235 scoped_refptr<DecoderBuffer> end_of_stream_buffer_; 236 scoped_refptr<DecoderBuffer> i_frame_buffer_; 237 scoped_refptr<DecoderBuffer> corrupt_i_frame_buffer_; 370 scoped_refptr<DecoderBuffer> zero_byte_buffer = new DecoderBuffer(0); in TEST_F()
|
D | ffmpeg_audio_decoder_unittest.cc | 40 scoped_refptr<DecoderBuffer> buffer = in FFmpegAudioDecoderTest() 54 encoded_audio_.push_back(DecoderBuffer::CreateEOSBuffer()); in FFmpegAudioDecoderTest() 79 scoped_refptr<DecoderBuffer> buffer(encoded_audio_.front()); in ReadPacket() 114 scoped_refptr<DecoderBuffer> vorbis_extradata_; 116 std::deque<scoped_refptr<DecoderBuffer> > encoded_audio_;
|
D | gpu_video_decoder.h | 28 class DecoderBuffer; variable 46 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, 87 BufferPair(SHMBuffer* s, const scoped_refptr<DecoderBuffer>& b); 90 scoped_refptr<DecoderBuffer> buffer; 110 const BitstreamBuffer& bitstream_buffer, const DecoderBuffer& buffer);
|
D | vpx_video_decoder.h | 38 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, 59 void DecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer); 60 bool VpxDecode(const scoped_refptr<DecoderBuffer>& buffer,
|
D | decrypting_video_decoder.h | 20 class DecoderBuffer; variable 37 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, 99 scoped_refptr<media::DecoderBuffer> pending_buffer_to_decode_;
|
D | opus_audio_decoder.h | 25 class DecoderBuffer; variable 48 const scoped_refptr<DecoderBuffer>& input); 54 bool Decode(const scoped_refptr<DecoderBuffer>& input,
|
D | ffmpeg_audio_decoder.h | 28 class DecoderBuffer; variable 58 const scoped_refptr<DecoderBuffer>& input); 63 void RunDecodeLoop(const scoped_refptr<DecoderBuffer>& input,
|
D | decrypting_audio_decoder.h | 24 class DecoderBuffer; variable 84 const scoped_refptr<DecoderBuffer>& buffer); 128 scoped_refptr<media::DecoderBuffer> pending_buffer_to_decode_;
|
/external/chromium_org/content/renderer/pepper/ |
D | content_decryptor_delegate.h | 24 class DecoderBuffer; variable 61 const scoped_refptr<media::DecoderBuffer>& encrypted_buffer, 76 const scoped_refptr<media::DecoderBuffer>& encrypted_buffer, 79 const scoped_refptr<media::DecoderBuffer>& encrypted_buffer, 122 const scoped_refptr<media::DecoderBuffer>& encrypted_buffer,
|
/external/chromium_org/media/cdm/ppapi/ |
D | clear_key_cdm.cc | 76 static scoped_refptr<media::DecoderBuffer> CopyDecoderBufferFrom( in CopyDecoderBufferFrom() 80 return media::DecoderBuffer::CreateEOSBuffer(); in CopyDecoderBufferFrom() 84 scoped_refptr<media::DecoderBuffer> output_buffer = in CopyDecoderBufferFrom() 85 media::DecoderBuffer::CopyFrom(input_buffer.data, input_buffer.data_size); in CopyDecoderBufferFrom() 333 scoped_refptr<media::DecoderBuffer>* buffer_copy, in CopyDecryptResults() 335 const scoped_refptr<media::DecoderBuffer>& buffer) { in CopyDecryptResults() 346 scoped_refptr<media::DecoderBuffer> buffer; in Decrypt() 452 scoped_refptr<media::DecoderBuffer> buffer; in DecryptAndDecodeFrame() 475 scoped_refptr<media::DecoderBuffer> buffer; in DecryptAndDecodeSamples() 526 scoped_refptr<media::DecoderBuffer>* decrypted_buffer) { in DecryptToMediaDecoderBuffer() [all …]
|