Home
last modified time | relevance | path

Searched refs:ReadOptions (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/av/media/libstagefright/include/media/stagefright/
DNuMediaExtractor.h76 MediaSource::ReadOptions::SeekMode mode =
77 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
82 MediaSource::ReadOptions::SeekMode mode =
83 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
144 MediaSource::ReadOptions::SeekMode mode =
145 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
149 MediaSource::ReadOptions::SeekMode mode =
150 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
DMediaSource.h55 typedef MediaTrack::ReadOptions ReadOptions; typedef
65 MediaBufferBase **buffer, const ReadOptions *options = NULL) = 0;
DSimpleDecodingSource.h68 virtual status_t read(MediaBufferBase **buffer, const ReadOptions *options);
108 const ReadOptions *options);
DCallbackMediaSource.h36 MediaBufferBase **buffer, const ReadOptions *options = NULL);
DJPEGSource.h36 MediaBufferBase **buffer, const ReadOptions *options = NULL);
DMediaAdapter.h43 MediaBufferBase **buffer, const ReadOptions *options = NULL);
/frameworks/av/media/libstagefright/
DMediaTrack.cpp36 void MediaTrack::ReadOptions::setNonBlocking() { in setNonBlocking()
40 void MediaTrack::ReadOptions::clearNonBlocking() { in clearNonBlocking()
44 bool MediaTrack::ReadOptions::getNonBlocking() const { in getNonBlocking()
48 void MediaTrack::ReadOptions::setSeekTo(int64_t time_us, SeekMode mode) { in setSeekTo()
54 bool MediaTrack::ReadOptions::getSeekTo( in getSeekTo()
103 status_t MediaTrackCUnwrapper::read(MediaBufferBase **buffer, const ReadOptions *options) { in read()
112 MediaTrack::ReadOptions::SeekMode seekMode; in read()
DCallbackMediaSource.cpp39 status_t CallbackMediaSource::read(MediaBufferBase **buffer, const ReadOptions *options) { in read()
40 return mSource->read(buffer, reinterpret_cast<const ReadOptions*>(options)); in read()
DRemoteMediaSource.cpp57 MediaBufferBase **buffer, const MediaSource::ReadOptions *options) { in read()
58 return mTrack->read(buffer, reinterpret_cast<const MediaSource::ReadOptions*>(options)); in read()
DFrameDecoder.cpp408 mSeekMode(MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC), in VideoFrameDecoder()
415 int64_t frameTimeUs, size_t numFrames, int seekMode, MediaSource::ReadOptions *options) { in onGetFormatAndSeekOptions()
416 mSeekMode = static_cast<MediaSource::ReadOptions::SeekMode>(seekMode); in onGetFormatAndSeekOptions()
417 if (mSeekMode < MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC || in onGetFormatAndSeekOptions()
418 mSeekMode > MediaSource::ReadOptions::SEEK_FRAME_INDEX) { in onGetFormatAndSeekOptions()
457 bool isSeekingClosest = (mSeekMode == MediaSource::ReadOptions::SEEK_CLOSEST) in onGetFormatAndSeekOptions()
458 || (mSeekMode == MediaSource::ReadOptions::SEEK_FRAME_INDEX); in onGetFormatAndSeekOptions()
469 bool isSeekingClosest = (mSeekMode == MediaSource::ReadOptions::SEEK_CLOSEST) in onInputReceived()
470 || (mSeekMode == MediaSource::ReadOptions::SEEK_FRAME_INDEX); in onInputReceived()
581 int /*seekMode*/, MediaSource::ReadOptions *options) { in onGetFormatAndSeekOptions()
DJPEGSource.cpp112 MediaBufferBase **out, const ReadOptions *options) { in read()
116 ReadOptions::SeekMode mode; in read()
/frameworks/av/include/media/
DMediaSource.h55 typedef MediaTrack::ReadOptions ReadOptions; typedef
65 MediaBufferBase **buffer, const ReadOptions *options = NULL) = 0;
DMediaTrack.h72 struct ReadOptions { struct
81 ReadOptions() { in ReadOptions() argument
128 MediaBufferBase **buffer, const ReadOptions *options = NULL) = 0;
150 virtual status_t read(MediaBufferBase **buffer, const ReadOptions *options = NULL);
DMediaExtractorPluginHelper.h135 class ReadOptions {
145 ReadOptions(uint32_t options, int64_t seekPosUs) { in ReadOptions() function
166 MediaBufferHelper **buffer, const ReadOptions *options = NULL) = 0;
198 MediaTrackHelper::ReadOptions opts(options, seekPosUs); in wrap()
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h64 MediaSource::ReadOptions *options) = 0;
95 MediaSource::ReadOptions mReadOptions;
117 MediaSource::ReadOptions *options) override;
138 MediaSource::ReadOptions::SeekMode mSeekMode;
155 MediaSource::ReadOptions *options) override;
/frameworks/av/media/libmedia/include/media/
DIMediaSource.h68 const MediaSource::ReadOptions *options = NULL) = 0;
84 const MediaSource::ReadOptions *options = nullptr) = 0;
114 const MediaSource::ReadOptions * /* options = nullptr */) { in readMultiple() argument
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp65 MediaBufferHelper **buffer, const ReadOptions *options = NULL);
167 MediaBufferHelper **out, const ReadOptions *options) { in read()
171 ReadOptions::SeekMode seekMode; in read()
174 status_t err = mExtractor->seek(seekTimeUs, (ReadOptions::SeekMode)seekMode); in read()
187 mImpl->read(&mbuf, (MediaTrack::ReadOptions*) options); in read()
619 const MediaTrackHelper::ReadOptions::SeekMode &seekMode) { in seek()
640 case MediaTrackHelper::ReadOptions::SEEK_NEXT_SYNC: in seek()
646 case MediaTrackHelper::ReadOptions::SEEK_CLOSEST_SYNC: in seek()
647 case MediaTrackHelper::ReadOptions::SEEK_CLOSEST: in seek()
651 case MediaTrackHelper::ReadOptions::SEEK_PREVIOUS_SYNC: in seek()
DMPEG2PSExtractor.cpp51 MediaBufferHelper **buffer, const ReadOptions *options);
82 MediaBufferHelper **buffer, const ReadOptions *options);
685 MediaBufferHelper **buffer, const ReadOptions *options) { in read()
704 mSource->read(&mbuf, (MediaTrack::ReadOptions*) options); in read()
816 MediaBufferHelper **buffer, const ReadOptions *options) { in read()
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp48 MediaBufferHelper **buffer, const ReadOptions *options = NULL);
117 MediaBufferHelper **outBuffer, const ReadOptions *options) in read()
124 ReadOptions::SeekMode mode; in read()
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp47 MediaBufferHelper **buffer, const ReadOptions *options = NULL);
279 MediaBufferHelper **out, const ReadOptions *options) { in read()
283 ReadOptions::SeekMode mode; in read()
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp48 MediaBufferHelper **buffer, const ReadOptions *options = NULL);
271 MediaBufferHelper **out, const ReadOptions *options) { in read()
275 ReadOptions::SeekMode mode; in read()
/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp166 android::MediaSource::ReadOptions::SeekMode sfmode; in AMediaExtractor_seekTo()
168 sfmode = android::MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC; in AMediaExtractor_seekTo()
170 sfmode = android::MediaSource::ReadOptions::SEEK_CLOSEST_SYNC; in AMediaExtractor_seekTo()
172 sfmode = android::MediaSource::ReadOptions::SEEK_NEXT_SYNC; in AMediaExtractor_seekTo()
/frameworks/av/cmds/stagefright/
DSineSource.h21 MediaBufferBase **out, const ReadOptions *options = NULL);
/frameworks/av/media/extractors/fuzzers/
DExtractorFuzzerBase.cpp176 MediaTrackHelper::ReadOptions* options = in seekAndExtractTrack()
177 new MediaTrackHelper::ReadOptions(seekOption, seekPts); in seekAndExtractTrack()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp234 MediaBufferBase **out, const ReadOptions *options) { in read()
238 ReadOptions::SeekMode mode; in read()

123