Home
last modified time | relevance | path

Searched refs:audio_buffers (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/media/formats/mp2t/
Dmp2t_stream_parser_unittest.cc133 bool OnNewBuffers(const StreamParser::BufferQueue& audio_buffers, in OnNewBuffers() argument
137 DumpBuffers("audio_buffers", audio_buffers); in OnNewBuffers()
148 if (!IsMonotonic(audio_buffers)) in OnNewBuffers()
160 if (!audio_buffers.empty()) { in OnNewBuffers()
161 DecodeTimestamp first_dts = audio_buffers.front()->GetDecodeTimestamp(); in OnNewBuffers()
162 DecodeTimestamp last_dts = audio_buffers.back()->GetDecodeTimestamp(); in OnNewBuffers()
170 audio_frame_count_ += audio_buffers.size(); in OnNewBuffers()
/external/chromium_org/media/base/
Dstream_parser.cc113 bool MergeBufferQueues(const StreamParser::BufferQueue& audio_buffers, in MergeBufferQueues() argument
121 if (!audio_buffers.empty()) in MergeBufferQueues()
122 buffer_queues.push_back(&audio_buffers); in MergeBufferQueues()
Dstream_parser.h155 const StreamParser::BufferQueue& audio_buffers,
/external/chromium_org/media/formats/mp4/
Dmp4_stream_parser.cc93 BufferQueue audio_buffers; in Parse() local
117 result = EnqueueSample(&audio_buffers, &video_buffers, &err); in Parse()
127 err = !SendAndFlushSamples(&audio_buffers, &video_buffers); in Parse()
409 bool MP4StreamParser::EnqueueSample(BufferQueue* audio_buffers, in EnqueueSample() argument
417 *err = !SendAndFlushSamples(audio_buffers, video_buffers); in EnqueueSample()
547 audio_buffers->push_back(stream_buf); in EnqueueSample()
556 bool MP4StreamParser::SendAndFlushSamples(BufferQueue* audio_buffers, in SendAndFlushSamples() argument
558 if (audio_buffers->empty() && video_buffers->empty()) in SendAndFlushSamples()
562 bool success = new_buffers_cb_.Run(*audio_buffers, in SendAndFlushSamples()
565 audio_buffers->clear(); in SendAndFlushSamples()
Dmp4_stream_parser_unittest.cc90 bool NewBuffersF(const StreamParser::BufferQueue& audio_buffers, in NewBuffersF() argument
93 DumpBuffers("audio_buffers", audio_buffers); in NewBuffersF()
103 DecodeTimestamp audio = !audio_buffers.empty() ? in NewBuffersF()
104 audio_buffers.back()->GetDecodeTimestamp() : kNoDecodeTimestamp(); in NewBuffersF()
Dmp4_stream_parser.h76 bool EnqueueSample(BufferQueue* audio_buffers,
79 bool SendAndFlushSamples(BufferQueue* audio_buffers,
/external/chromium_org/media/formats/common/
Dstream_parser_test_base.cc97 const StreamParser::BufferQueue& audio_buffers, in OnNewBuffers() argument
100 EXPECT_FALSE(audio_buffers.empty()); in OnNewBuffers()
107 const std::string buffers_str = BufferQueueToString(audio_buffers); in OnNewBuffers()
Dstream_parser_test_base.h57 bool OnNewBuffers(const StreamParser::BufferQueue& audio_buffers,
/external/chromium_org/media/formats/webm/
Dwebm_stream_parser.cc258 const BufferQueue& audio_buffers = cluster_parser_->GetAudioBuffers(); in ParseCluster() local
264 if ((!audio_buffers.empty() || !video_buffers.empty() || in ParseCluster()
266 !new_buffers_cb_.Run(audio_buffers, video_buffers, text_map)) { in ParseCluster()
Dwebm_cluster_parser_unittest.cc115 static bool VerifyBuffers(const WebMClusterParser::BufferQueue& audio_buffers, in VerifyBuffers() argument
120 int buffer_count = audio_buffers.size() + video_buffers.size() + in VerifyBuffers()
137 buffers = &audio_buffers; in VerifyBuffers()
406 WebMClusterParser::BufferQueue audio_buffers; in TEST_F() local
427 AppendToEnd(parser_->GetAudioBuffers(), &audio_buffers); in TEST_F()
435 ASSERT_TRUE(VerifyBuffers(audio_buffers, video_buffers, in TEST_F()
/external/chromium_org/media/audio/
Dsimple_sources.h31 AudioBuffersState audio_buffers) OVERRIDE;
Dsimple_sources.cc32 AudioBuffersState audio_buffers) { in OnMoreData() argument
Dvirtual_audio_input_stream_unittest.cc70 AudioBuffersState audio_buffers) OVERRIDE { in OnMoreData() argument
71 const int ret = SineWaveAudioSource::OnMoreData(audio_bus, audio_buffers); in OnMoreData()
/external/chromium_org/media/filters/
Dframe_processor.h55 bool ProcessFrames(const StreamParser::BufferQueue& audio_buffers,
Dchunk_demuxer.cc192 bool OnNewBuffers(const StreamParser::BufferQueue& audio_buffers,
718 const StreamParser::BufferQueue& audio_buffers, in OnNewBuffers() argument
732 const bool have_audio_buffers = !audio_buffers.empty(); in OnNewBuffers()
736 std::min(EndTimestamp(audio_buffers), EndTimestamp(video_buffers)); in OnNewBuffers()
738 new_timestamp_offset += EndTimestamp(audio_buffers); in OnNewBuffers()
744 if (!frame_processor_->ProcessFrames(audio_buffers, in OnNewBuffers()
Dframe_processor.cc187 const StreamParser::BufferQueue& audio_buffers, in ProcessFrames() argument
195 if (!MergeBufferQueues(audio_buffers, video_buffers, text_map, &frames)) { in ProcessFrames()