Searched refs:glue_ (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/media/filters/
H A Dffmpeg_glue_unittest.cc43 glue_.reset(new FFmpegGlue(protocol_.get()));
44 CHECK(glue_->format_context());
45 CHECK(glue_->format_context()->pb);
49 // Ensure |glue_| and |protocol_| are still alive.
50 CHECK(glue_.get());
53 // |protocol_| should outlive |glue_|, so ensure it's destructed first.
54 glue_.reset();
58 return glue_->format_context()->pb->read_packet(
63 return glue_->format_context()->pb->seek(protocol_.get(), offset, whence);
67 scoped_ptr<FFmpegGlue> glue_; member in class:media::FFmpegGlueTest
101 scoped_ptr<FFmpegGlue> glue_; member in class:media::FFmpegGlueDestructionTest
[all...]
H A Daudio_file_reader.cc38 glue_.reset(new FFmpegGlue(protocol_));
39 AVFormatContext* format_context = glue_->format_context();
42 if (!glue_->OpenContext()) {
121 // |codec_context_| is a stream inside glue_->format_context(), so it is
122 // closed when |glue_| is disposed.
123 glue_.reset();
128 DCHECK(glue_.get() && codec_context_) <<
259 glue_->format_context()->duration + 1);
275 while (av_read_frame(glue_->format_context(), output_packet) >= 0 &&
288 return av_seek_frame(glue_
[all...]
H A Daudio_file_reader.h84 scoped_ptr<FFmpegGlue> glue_; member in class:media::AudioFileReader
H A Dffmpeg_demuxer.cc625 glue_->format_context()->streams[stream_index];
632 glue_->format_context(),
650 glue_.reset(new FFmpegGlue(url_protocol_.get()));
651 AVFormatContext* format_context = glue_->format_context();
663 base::Bind(&FFmpegGlue::OpenContext, base::Unretained(glue_.get())),
771 glue_->format_context(),
795 AVFormatContext* format_context = glue_->format_context();
1097 base::Bind(&av_read_frame, glue_->format_context(), packet_ptr),
1166 if (strcmp(glue_->format_context()->iformat->name, "ogg") == 0) {
1168 glue_
[all...]
H A Dffmpeg_demuxer.h294 scoped_ptr<FFmpegGlue> glue_; member in class:media::FFmpegDemuxer
H A Dffmpeg_demuxer_unittest.cc190 return demuxer_->glue_->format_context();
/external/chromium_org/media/cast/test/
H A Dfake_media_source.h120 scoped_ptr<FFmpegGlue> glue_; member in class:media::cast::FakeMediaSource
H A Dfake_media_source.cc93 glue_.reset(new FFmpegGlue(protocol_.get()));
95 if (!glue_->OpenContext()) {
101 av_format_context_ = glue_->format_context();
/external/chromium_org/media/ffmpeg/
H A Dffmpeg_unittest.cc120 glue_.reset(new FFmpegGlue(protocol_.get()));
122 ASSERT_TRUE(glue_->OpenContext()) << "Could not open " << path.value();
123 av_format_context_ = glue_->format_context();
396 scoped_ptr<FFmpegGlue> glue_; member in class:media::FFmpegTest

Completed in 1254 milliseconds