/external/chromium_org/media/filters/ |
D | ffmpeg_demuxer_unittest.cc | 44 DemuxerStream::Status status, in EosOnReadDone() 49 EXPECT_EQ(status, DemuxerStream::kOk); in EosOnReadDone() 113 DemuxerStream::Status status, in OnReadDone() 119 EXPECT_EQ(status, DemuxerStream::kOk); in OnReadDone() 130 DemuxerStream::ReadCB NewReadCB(const tracked_objects::Location& location, in NewReadCB() 154 bool IsStreamStopped(DemuxerStream::Type type) { in IsStreamStopped() 155 DemuxerStream* stream = demuxer_->GetStream(type); in IsStreamStopped() 172 DemuxerStream* audio = demuxer_->GetStream(DemuxerStream::AUDIO); in ReadUntilEndOfStream() 242 DemuxerStream* stream = demuxer_->GetStream(DemuxerStream::VIDEO); in TEST_F() 244 EXPECT_EQ(DemuxerStream::VIDEO, stream->type()); in TEST_F() [all …]
|
D | decrypting_demuxer_stream_unittest.cc | 50 arg0.Run(buffer.get() ? DemuxerStream::kOk : DemuxerStream::kAborted, buffer); in ACTION_P() 81 new StrictMock<MockDemuxerStream>(DemuxerStream::AUDIO)), in DecryptingDemuxerStreamTest() 83 new StrictMock<MockDemuxerStream>(DemuxerStream::VIDEO)), in DecryptingDemuxerStreamTest() 123 EXPECT_EQ(DemuxerStream::AUDIO, demuxer_stream_->type()); in Initialize() 134 DemuxerStream::Status status, in ReadAndExpectBufferReadyWith() 136 if (status != DemuxerStream::kOk) in ReadAndExpectBufferReadyWith() 156 EXPECT_CALL(*this, BufferReady(DemuxerStream::kOk, _)) in EnterClearReadingState() 173 ReadAndExpectBufferReadyWith(DemuxerStream::kOk, decrypted_buffer_); in EnterNormalReadingState() 220 void SatisfyPendingDemuxerReadCB(DemuxerStream::Status status) { in SatisfyPendingDemuxerReadCB() 222 (status == DemuxerStream::kOk) ? encrypted_buffer_ : NULL; in SatisfyPendingDemuxerReadCB() [all …]
|
D | chunk_demuxer_unittest.cc | 103 DemuxerStream::Status status, in OnReadDone() 105 EXPECT_EQ(status, DemuxerStream::kOk); in OnReadDone() 111 bool* called, DemuxerStream::Status status, in OnReadDone_AbortExpected() 113 EXPECT_EQ(status, DemuxerStream::kAborted); in OnReadDone_AbortExpected() 119 DemuxerStream::Status status, in OnReadDone_EOSExpected() 121 EXPECT_EQ(status, DemuxerStream::kOk); in OnReadDone_EOSExpected() 671 void Read(DemuxerStream::Type type, const DemuxerStream::ReadCB& read_cb) { in Read() 676 void ReadAudio(const DemuxerStream::ReadCB& read_cb) { in ReadAudio() 677 Read(DemuxerStream::AUDIO, read_cb); in ReadAudio() 680 void ReadVideo(const DemuxerStream::ReadCB& read_cb) { in ReadVideo() [all …]
|
D | fake_demuxer_stream_unittest.cc | 26 : status_(DemuxerStream::kAborted), in FakeDemuxerStreamTest() 30 void BufferReady(DemuxerStream::Status status, in BufferReady() 63 EXPECT_EQ(DemuxerStream::kOk, status_); in ExpectReadResult() 70 EXPECT_EQ(DemuxerStream::kAborted, status_); in ExpectReadResult() 76 EXPECT_EQ(DemuxerStream::kConfigChanged, status_); in ExpectReadResult() 82 EXPECT_EQ(DemuxerStream::kOk, status_); in ExpectReadResult() 164 DemuxerStream::Status status_;
|
D | decrypting_demuxer_stream.h | 29 class MEDIA_EXPORT DecryptingDemuxerStream : public DemuxerStream { 36 void Initialize(DemuxerStream* stream, 78 void DecryptBuffer(DemuxerStream::Status status, 112 DemuxerStream* demuxer_stream_;
|
D | ffmpeg_demuxer.cc | 121 if (type() == DemuxerStream::TEXT) { in EnqueuePacket() 176 if ((type() == DemuxerStream::AUDIO && audio_config_.is_encrypted()) || in EnqueuePacket() 177 (type() == DemuxerStream::VIDEO && video_config_.is_encrypted())) { in EnqueuePacket() 222 DemuxerStream::kOk, DecoderBuffer::CreateEOSBuffer()); in Stop() 233 DemuxerStream::Type FFmpegDemuxerStream::type() { in type() 249 DemuxerStream::kOk, DecoderBuffer::CreateEOSBuffer()); in Read() 293 DemuxerStream::kOk, buffer_queue_.Pop()); in SatisfyPendingRead() 296 DemuxerStream::kOk, DecoderBuffer::CreateEOSBuffer()); in SatisfyPendingRead() 318 DCHECK_EQ(type_, DemuxerStream::TEXT); in GetTextKind() 417 if (*iter && (*iter)->type() == DemuxerStream::AUDIO) { in OnAudioRendererDisabled() [all …]
|
D | ffmpeg_audio_decoder_unittest.cc | 33 demuxer_(new StrictMock<MockDemuxerStream>(DemuxerStream::AUDIO)) { in FFmpegAudioDecoderTest() 76 void ReadPacket(const DemuxerStream::ReadCB& read_cb) { in ReadPacket() 80 DemuxerStream::Status status = in ReadPacket() 81 buffer.get() ? DemuxerStream::kOk : DemuxerStream::kAborted; in ReadPacket()
|
D | chunk_demuxer.cc | 31 DemuxerStream::Type)> CreateDemuxerStreamCB; 164 class ChunkDemuxerStream : public DemuxerStream { 246 bool GetNextBuffer_Locked(DemuxerStream::Status* status, 448 audio_ = create_demuxer_stream_cb_.Run(DemuxerStream::AUDIO); in OnNewConfigs() 461 video_ = create_demuxer_stream_cb_.Run(DemuxerStream::VIDEO); in OnNewConfigs() 477 create_demuxer_stream_cb_.Run(DemuxerStream::TEXT); in OnNewConfigs() 706 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kOk, in Shutdown() 835 DemuxerStream::Type ChunkDemuxerStream::type() { return type_; } in type() 871 DemuxerStream::Status status; in CompletePendingReadIfPossible_Locked() 881 status = DemuxerStream::kOk; in CompletePendingReadIfPossible_Locked() [all …]
|
D | audio_decoder_selector.h | 25 class DemuxerStream; variable 58 void SelectAudioDecoder(DemuxerStream* stream, 77 DemuxerStream* input_stream_;
|
D | opus_audio_decoder.h | 35 virtual void Initialize(DemuxerStream* stream, 47 void BufferReady(DemuxerStream::Status status, 61 DemuxerStream* demuxer_stream_;
|
D | ffmpeg_audio_decoder.h | 40 virtual void Initialize(DemuxerStream* stream, 57 void BufferReady(DemuxerStream::Status status, 70 DemuxerStream* demuxer_stream_;
|
D | decrypting_audio_decoder_unittest.cc | 53 arg0.Run(buffer.get() ? DemuxerStream::kOk : DemuxerStream::kAborted, buffer); in ACTION_P() 80 demuxer_(new StrictMock<MockDemuxerStream>(DemuxerStream::AUDIO)), in DecryptingAudioDecoderTest() 232 DemuxerStream::ReadCB pending_demuxer_read_cb_; 389 .WillOnce(RunCallback<0>(DemuxerStream::kConfigChanged, in TEST_F() 411 .WillOnce(RunCallback<0>(DemuxerStream::kConfigChanged, in TEST_F() 474 base::ResetAndReturn(&pending_demuxer_read_cb_).Run(DemuxerStream::kOk, in TEST_F() 489 base::ResetAndReturn(&pending_demuxer_read_cb_).Run(DemuxerStream::kAborted, in TEST_F() 519 .Run(DemuxerStream::kConfigChanged, NULL); in TEST_F() 543 .Run(DemuxerStream::kConfigChanged, NULL); in TEST_F() 553 .WillOnce(RunCallback<0>(DemuxerStream::kConfigChanged, in TEST_F()
|
D | decrypting_audio_decoder.h | 46 virtual void Initialize(DemuxerStream* stream, 83 void DecryptAndDecodeBuffer(DemuxerStream::Status status, 120 DemuxerStream* demuxer_stream_;
|
D | ffmpeg_demuxer.h | 56 class FFmpegDemuxerStream : public DemuxerStream { 151 virtual DemuxerStream* GetStream(DemuxerStream::Type type) OVERRIDE; 193 FFmpegDemuxerStream* GetFFmpegStream(DemuxerStream::Type type) const;
|
/external/chromium_org/media/base/ |
D | text_renderer.h | 62 void AddTextStream(DemuxerStream* text_stream, 66 void RemoveTextStream(DemuxerStream* text_stream); 88 void BufferReady(DemuxerStream* text_stream, 89 DemuxerStream::Status status, 93 void CueReady(DemuxerStream* text_stream, 98 void OnAddTextTrackDone(DemuxerStream* text_stream, 102 void Read(TextTrackState* state, DemuxerStream* text_stream); 130 typedef std::map<DemuxerStream*, TextTrackState*> TextTrackStateMap; 137 typedef std::set<DemuxerStream*> PendingEosSet;
|
D | mock_filters.cc | 21 MockDemuxerStream::MockDemuxerStream(DemuxerStream::Type type) : type_(type) {} in MockDemuxerStream() 25 DemuxerStream::Type MockDemuxerStream::type() { in type() 30 DCHECK_EQ(type_, DemuxerStream::AUDIO); in audio_decoder_config() 35 DCHECK_EQ(type_, DemuxerStream::VIDEO); in video_decoder_config() 41 DCHECK_EQ(type_, DemuxerStream::AUDIO); in set_audio_decoder_config() 47 DCHECK_EQ(type_, DemuxerStream::VIDEO); in set_video_decoder_config()
|
D | demuxer_perftest.cc | 36 virtual void AddTextStream(media::DemuxerStream* text_stream, in AddTextStream() 38 virtual void RemoveTextStream(media::DemuxerStream* text_stream) OVERRIDE {} in RemoveTextStream() 55 typedef std::vector<media::DemuxerStream* > Streams; 78 media::DemuxerStream::Status status, 92 media::DemuxerStream* stream = in StreamReader() 93 demuxer->GetStream(media::DemuxerStream::AUDIO); in StreamReader() 101 stream = demuxer->GetStream(media::DemuxerStream::VIDEO); in StreamReader() 143 media::DemuxerStream::Status status, in OnReadDone() 145 CHECK_EQ(status, media::DemuxerStream::kOk); in OnReadDone()
|
D | demuxer.h | 31 virtual void AddTextStream(DemuxerStream* text_stream, 35 virtual void RemoveTextStream(DemuxerStream* text_stream) = 0; 81 virtual DemuxerStream* GetStream(DemuxerStream::Type type) = 0;
|
D | mock_filters.h | 40 MOCK_METHOD1(GetStream, DemuxerStream*(DemuxerStream::Type)); 47 class MockDemuxerStream : public DemuxerStream { 49 explicit MockDemuxerStream(DemuxerStream::Type type); 63 DemuxerStream::Type type_; 94 MOCK_METHOD3(Initialize, void(DemuxerStream*, 113 MOCK_METHOD9(Initialize, void(DemuxerStream* stream, 139 MOCK_METHOD8(Initialize, void(DemuxerStream* stream,
|
D | text_renderer.cc | 118 void TextRenderer::AddTextStream(DemuxerStream* text_stream, in AddTextStream() 138 void TextRenderer::RemoveTextStream(DemuxerStream* text_stream) { in RemoveTextStream() 158 DemuxerStream* stream, in BufferReady() 159 DemuxerStream::Status status, in BufferReady() 162 DCHECK_NE(status, DemuxerStream::kConfigChanged); in BufferReady() 164 if (status == DemuxerStream::kAborted) { in BufferReady() 215 DCHECK_EQ(status, DemuxerStream::kOk); in BufferReady() 242 DemuxerStream* text_stream, in CueReady() 331 void TextRenderer::OnAddTextTrackDone(DemuxerStream* text_stream, in OnAddTextTrackDone() 350 DemuxerStream* text_stream) { in Read()
|
D | demuxer_stream.cc | 9 DemuxerStream::~DemuxerStream() {} in ~DemuxerStream()
|
/external/chromium_org/content/renderer/media/ |
D | rtc_video_decoder_factory_tv.cc | 15 using media::DemuxerStream; 21 class RTCDemuxerStream : public DemuxerStream { 86 DemuxerStream::Type RTCDemuxerStream::type() { return DemuxerStream::VIDEO; } in type() 107 .Run(DemuxerStream::kAborted, NULL); in Read() 119 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kAborted, NULL); in Destroy() 142 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kConfigChanged, NULL); in RunReadCallback_Locked() 146 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kOk, front.decoder_buffer); in RunReadCallback_Locked() 219 DemuxerStream* RTCVideoDecoderFactoryTv::GetStream(DemuxerStream::Type type) { in GetStream() 221 if (type == DemuxerStream::VIDEO) in GetStream()
|
D | rtc_video_decoder_factory_tv_unittest.cc | 56 void ReadCallback(media::DemuxerStream::Status status, in ReadCallback() 59 case media::DemuxerStream::kOk: in ReadCallback() 62 case media::DemuxerStream::kConfigChanged: in ReadCallback() 63 case media::DemuxerStream::kAborted: in ReadCallback() 144 video_stream_ = factory_->GetStream(media::DemuxerStream::VIDEO); in GetVideoStream() 172 media::DemuxerStream* video_stream_; 255 EXPECT_FALSE(factory_->GetStream(media::DemuxerStream::AUDIO)); in TEST_F() 256 EXPECT_FALSE(factory_->GetStream(media::DemuxerStream::UNKNOWN)); in TEST_F()
|
/external/chromium_org/content/renderer/media/android/ |
D | media_source_delegate.h | 29 class DemuxerStream; variable 106 void OnReadFromDemuxer(media::DemuxerStream::Type type); 130 virtual void AddTextStream(media::DemuxerStream* text_stream, 132 virtual void RemoveTextStream(media::DemuxerStream* text_stream) OVERRIDE; 169 void ReadFromDemuxerStream(media::DemuxerStream::Type type, 172 void OnBufferReady(media::DemuxerStream::Type type, 175 media::DemuxerStream::Status status, 218 media::DemuxerStream* audio_stream_; 219 media::DemuxerStream* video_stream_;
|
D | media_source_delegate.cc | 25 using media::DemuxerStream; 354 void MediaSourceDelegate::OnReadFromDemuxer(media::DemuxerStream::Type type) { in OnReadFromDemuxer() 360 DCHECK(type == DemuxerStream::AUDIO || type == DemuxerStream::VIDEO); in OnReadFromDemuxer() 369 void MediaSourceDelegate::ReadFromDemuxerStream(media::DemuxerStream::Type type, in ReadFromDemuxerStream() 374 DemuxerStream* stream = in ReadFromDemuxerStream() 375 (type == DemuxerStream::AUDIO) ? audio_stream_ : video_stream_; in ReadFromDemuxerStream() 382 media::DemuxerStream::Type type, in OnBufferReady() 385 DemuxerStream::Status status, in OnBufferReady() 401 bool is_audio = (type == DemuxerStream::AUDIO); in OnBufferReady() 402 if (status != DemuxerStream::kAborted && in OnBufferReady() [all …]
|