/external/chromium_org/media/base/ |
D | decoder_buffer.cc | 13 DecoderBuffer::DecoderBuffer(int size) in DecoderBuffer() function in media::DecoderBuffer 19 DecoderBuffer::DecoderBuffer(const uint8* data, int size, in DecoderBuffer() function in media::DecoderBuffer 35 DecoderBuffer::~DecoderBuffer() {} in ~DecoderBuffer() 37 void DecoderBuffer::Initialize() { in Initialize() 51 scoped_refptr<DecoderBuffer> DecoderBuffer::CopyFrom(const uint8* data, in CopyFrom() 55 return make_scoped_refptr(new DecoderBuffer(data, data_size, NULL, 0)); in CopyFrom() 59 scoped_refptr<DecoderBuffer> DecoderBuffer::CopyFrom(const uint8* data, in CopyFrom() 66 return make_scoped_refptr(new DecoderBuffer(data, data_size, in CopyFrom() 71 scoped_refptr<DecoderBuffer> DecoderBuffer::CreateEOSBuffer() { in CreateEOSBuffer() 72 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 | 32 class MEDIA_EXPORT DecoderBuffer 33 : public base::RefCountedThreadSafe<DecoderBuffer> { 46 explicit DecoderBuffer(int size); 50 static scoped_refptr<DecoderBuffer> CopyFrom(const uint8* data, int size); 55 static scoped_refptr<DecoderBuffer> CopyFrom(const uint8* data, int size, 63 static scoped_refptr<DecoderBuffer> CreateEOSBuffer(); 161 friend class base::RefCountedThreadSafe<DecoderBuffer>; 166 DecoderBuffer(const uint8* data, int size, 168 virtual ~DecoderBuffer(); 185 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(); 58 typedef std::deque<scoped_refptr<DecoderBuffer> > Queue;
|
D | audio_discard_helper_unittest.cc | 19 static scoped_refptr<DecoderBuffer> CreateEncodedBuffer( in CreateEncodedBuffer() 22 scoped_refptr<DecoderBuffer> result(new DecoderBuffer(1)); in CreateEncodedBuffer() 85 scoped_refptr<DecoderBuffer> encoded_buffer = in TEST() 112 scoped_refptr<DecoderBuffer> encoded_buffer = in TEST() 136 scoped_refptr<DecoderBuffer> encoded_buffer = in TEST() 161 scoped_refptr<DecoderBuffer> encoded_buffer = in TEST() 191 scoped_refptr<DecoderBuffer> encoded_buffer = in TEST() 217 scoped_refptr<DecoderBuffer> encoded_buffer = in TEST() 240 scoped_refptr<DecoderBuffer> encoded_buffer = in TEST() 261 scoped_refptr<DecoderBuffer> encoded_buffer = in TEST() [all …]
|
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 | decoder_buffer_queue_unittest.cc | 21 static scoped_refptr<DecoderBuffer> CreateBuffer(int timestamp) { in CreateBuffer() 22 scoped_refptr<DecoderBuffer> buffer = new DecoderBuffer(0); in CreateBuffer() 28 static scoped_refptr<DecoderBuffer> CreateBuffer(int timestamp, int size) { in CreateBuffer() 29 scoped_refptr<DecoderBuffer> buffer = new DecoderBuffer(size); in CreateBuffer()
|
D | test_data_util.cc | 39 scoped_refptr<DecoderBuffer> ReadTestDataFile(const std::string& name) { in ReadTestDataFile() 48 scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(file_size)); in ReadTestDataFile()
|
D | test_helpers.h | 25 class DecoderBuffer; variable 119 scoped_refptr<DecoderBuffer> CreateFakeVideoBufferForTest( 125 bool VerifyFakeVideoBufferForTest(const scoped_refptr<DecoderBuffer>& buffer,
|
D | decoder_buffer_queue.cc | 21 void DecoderBufferQueue::Push(const scoped_refptr<DecoderBuffer>& buffer) { in Push() 54 scoped_refptr<DecoderBuffer> DecoderBufferQueue::Pop() { in Pop() 55 scoped_refptr<DecoderBuffer> buffer = queue_.front(); in Pop()
|
/external/chromium_org/media/mojo/services/ |
D | media_type_converters.h | 13 class DecoderBuffer; variable 20 scoped_refptr<media::DecoderBuffer> > { 22 const scoped_refptr<media::DecoderBuffer>& input); 25 struct TypeConverter<scoped_refptr<media::DecoderBuffer>, 27 static scoped_refptr<media::DecoderBuffer> Convert(
|
D | media_type_converters_unittest.cc | 11 using media::DecoderBuffer; 23 scoped_refptr<DecoderBuffer> buffer(DecoderBuffer::CopyFrom( in TEST() 29 buffer->set_discard_padding(media::DecoderBuffer::DiscardPadding( in TEST() 35 scoped_refptr<DecoderBuffer> result(ptr.To<scoped_refptr<DecoderBuffer> >()); in TEST()
|
D | media_type_converters.cc | 129 scoped_refptr<media::DecoderBuffer> >::Convert( in Convert() 130 const scoped_refptr<media::DecoderBuffer>& input) { in Convert() 169 scoped_refptr<media::DecoderBuffer> TypeConverter< 170 scoped_refptr<media::DecoderBuffer>, MediaDecoderBufferPtr>::Convert( in Convert() 187 scoped_refptr<media::DecoderBuffer> buffer; in Convert() 189 buffer = media::DecoderBuffer::CopyFrom(data.get(), in Convert() 194 buffer = media::DecoderBuffer::CopyFrom(data.get(), num_bytes); in Convert() 201 media::DecoderBuffer::DiscardPadding discard_padding( in Convert()
|
/external/chromium_org/media/cdm/ |
D | aes_decryptor_unittest.cc | 187 static scoped_refptr<DecoderBuffer> CreateEncryptedBuffer( in CreateEncryptedBuffer() 193 scoped_refptr<DecoderBuffer> encrypted_buffer(new DecoderBuffer(data.size())); in CreateEncryptedBuffer() 364 const scoped_refptr<DecoderBuffer>&)); 374 void DecryptAndExpect(const scoped_refptr<DecoderBuffer>& encrypted, in DecryptAndExpect() 377 scoped_refptr<DecoderBuffer> decrypted; in DecryptAndExpect() 488 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() 495 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() 503 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() 509 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() 517 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() [all …]
|
D | aes_decryptor.cc | 133 static scoped_refptr<DecoderBuffer> DecryptData(const DecoderBuffer& input, in DecryptData() 168 return DecoderBuffer::CopyFrom( in DecryptData() 194 return DecoderBuffer::CopyFrom(reinterpret_cast<const uint8*>(sample), in DecryptData() 218 scoped_refptr<DecoderBuffer> output = DecoderBuffer::CopyFrom( in DecryptData() 408 const scoped_refptr<DecoderBuffer>& encrypted, in Decrypt() 412 scoped_refptr<DecoderBuffer> decrypted; in Decrypt() 415 decrypted = DecoderBuffer::CopyFrom(encrypted->data(), in Decrypt() 457 const scoped_refptr<DecoderBuffer>& encrypted, in DecryptAndDecodeAudio() 463 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() 89 decrypted_buffer_(new DecoderBuffer(kFakeBufferSize)) { in DecryptingDemuxerStreamTest() 154 const scoped_refptr<DecoderBuffer>& decrypted_buffer) { in ReadAndExpectBufferReadyWith() 174 scoped_refptr<DecoderBuffer> decrypted_buffer; in EnterClearReadingState() 227 scoped_refptr<DecoderBuffer>())); in EnterWaitingForKeyState() 240 scoped_refptr<DecoderBuffer> buffer = in SatisfyPendingDemuxerReadCB() 259 const scoped_refptr<DecoderBuffer>&)); 277 scoped_refptr<DecoderBuffer> clear_buffer_; 278 scoped_refptr<DecoderBuffer> encrypted_buffer_; [all …]
|
D | opus_audio_decoder.h | 24 class DecoderBuffer; variable 38 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, 45 void DecodeBuffer(const scoped_refptr<DecoderBuffer>& input, 51 bool Decode(const scoped_refptr<DecoderBuffer>& input,
|
D | ffmpeg_audio_decoder.h | 29 class DecoderBuffer; variable 43 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, 79 void DecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer, 81 bool FFmpegDecode(const scoped_refptr<DecoderBuffer>& buffer,
|
D | decrypting_demuxer_stream.h | 23 class DecoderBuffer; variable 77 const scoped_refptr<DecoderBuffer>& buffer); 83 const scoped_refptr<DecoderBuffer>& decrypted_buffer); 119 scoped_refptr<media::DecoderBuffer> pending_buffer_to_decrypt_;
|
D | ffmpeg_video_decoder_unittest.cc | 58 end_of_stream_buffer_ = DecoderBuffer::CreateEOSBuffer(); in FFmpegVideoDecoderTest() 111 typedef std::vector<scoped_refptr<DecoderBuffer> > InputBuffers; 141 const scoped_refptr<DecoderBuffer>& buffer) { in DecodeSingleFrame() 156 scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile(test_file_name); in DecodeIFrameThenTestFile() 180 VideoDecoder::Status Decode(const scoped_refptr<DecoderBuffer>& buffer) { in Decode() 205 scoped_refptr<DecoderBuffer> end_of_stream_buffer_; 206 scoped_refptr<DecoderBuffer> i_frame_buffer_; 207 scoped_refptr<DecoderBuffer> corrupt_i_frame_buffer_; 367 scoped_refptr<DecoderBuffer> zero_byte_buffer = new DecoderBuffer(0); in TEST_F()
|
D | gpu_video_decoder.h | 28 class DecoderBuffer; variable 49 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, 89 const scoped_refptr<DecoderBuffer>& b, 93 scoped_refptr<DecoderBuffer> buffer; 112 const BitstreamBuffer& bitstream_buffer, const DecoderBuffer& buffer);
|
D | ffmpeg_video_decoder.h | 26 class DecoderBuffer; variable 44 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, 64 bool FFmpegDecode(const scoped_refptr<DecoderBuffer>& buffer,
|
D | vpx_video_decoder.h | 40 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 40 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, 98 scoped_refptr<media::DecoderBuffer> pending_buffer_to_decode_;
|
/external/chromium_org/chromecast/media/cma/base/ |
D | decoder_buffer_adapter.h | 13 class DecoderBuffer; variable 24 const scoped_refptr< ::media::DecoderBuffer>& buffer); 37 scoped_refptr< ::media::DecoderBuffer> const buffer_;
|