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.h78 MediaSource::ReadOptions::SeekMode mode =
79 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
84 MediaSource::ReadOptions::SeekMode mode =
85 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
154 MediaSource::ReadOptions::SeekMode mode =
155 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
159 MediaSource::ReadOptions::SeekMode mode =
160 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);
DMediaAdapter.h43 MediaBufferBase **buffer, const ReadOptions *options = NULL);
DJPEGSource.h36 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.cpp486 mSeekMode(MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC), in VideoFrameDecoder()
493 MediaSource::ReadOptions *options, in onGetFormatAndSeekOptions()
495 mSeekMode = static_cast<MediaSource::ReadOptions::SeekMode>(seekMode); in onGetFormatAndSeekOptions()
496 if (mSeekMode < MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC || in onGetFormatAndSeekOptions()
497 mSeekMode > MediaSource::ReadOptions::SEEK_FRAME_INDEX) { in onGetFormatAndSeekOptions()
535 bool isSeekingClosest = (mSeekMode == MediaSource::ReadOptions::SEEK_CLOSEST) in onGetFormatAndSeekOptions()
536 || (mSeekMode == MediaSource::ReadOptions::SEEK_FRAME_INDEX); in onGetFormatAndSeekOptions()
564 bool isSeekingClosest = (mSeekMode == MediaSource::ReadOptions::SEEK_CLOSEST) in onInputReceived()
565 || (mSeekMode == MediaSource::ReadOptions::SEEK_FRAME_INDEX); in onInputReceived()
765 MediaSource::ReadOptions *options, sp<Surface> * /*window*/) { in onGetFormatAndSeekOptions()
DJPEGSource.cpp112 MediaBufferBase **out, const ReadOptions *options) { in read()
116 ReadOptions::SeekMode mode; in read()
/frameworks/av/media/libstagefright/tests/fuzzers/
DIMediaSourceFuzzImpl.h33 const MediaSource::ReadOptions*) override;
35 const MediaSource::ReadOptions*) override;
57 const MediaSource::ReadOptions *options) { in read()
66 uint32_t maxNumBuffers, const MediaSource::ReadOptions*) { in readMultiple() argument
/frameworks/av/include/media/
DMediaTrack.h72 struct ReadOptions { struct
81 ReadOptions() { in ReadOptions() function
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/extractors/amr/
DAMRExtractor.cpp49 MediaBufferHelper **buffer, const ReadOptions *options = NULL);
281 MediaBufferHelper **out, const ReadOptions *options) { in read()
285 ReadOptions::SeekMode mode; in read()
291 case ReadOptions::SEEK_NEXT_SYNC: in read()
294 case ReadOptions::SEEK_CLOSEST_SYNC: in read()
295 case ReadOptions::SEEK_CLOSEST: in read()
298 case ReadOptions::SEEK_PREVIOUS_SYNC: in read()
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp50 MediaBufferHelper **buffer, const ReadOptions *options = NULL);
275 MediaBufferHelper **out, const ReadOptions *options) { in read()
279 ReadOptions::SeekMode mode; in read()
284 case ReadOptions::SEEK_NEXT_SYNC: in read()
288 case ReadOptions::SEEK_CLOSEST_SYNC: in read()
289 case ReadOptions::SEEK_CLOSEST: in read()
292 case ReadOptions::SEEK_PREVIOUS_SYNC: in read()
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h61 MediaSource::ReadOptions *options,
92 MediaSource::ReadOptions mReadOptions;
115 MediaSource::ReadOptions *options,
140 MediaSource::ReadOptions::SeekMode mSeekMode;
159 MediaSource::ReadOptions *options,
/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()
622 const MediaTrackHelper::ReadOptions::SeekMode &seekMode) { in seek()
643 case MediaTrackHelper::ReadOptions::SEEK_NEXT_SYNC: in seek()
649 case MediaTrackHelper::ReadOptions::SEEK_CLOSEST_SYNC: in seek()
650 case MediaTrackHelper::ReadOptions::SEEK_CLOSEST: in seek()
654 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/cmds/stagefright/
DSineSource.h21 MediaBufferBase **out, const ReadOptions *options = NULL);
/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp170 android::MediaSource::ReadOptions::SeekMode sfmode; in AMediaExtractor_seekTo()
172 sfmode = android::MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC; in AMediaExtractor_seekTo()
174 sfmode = android::MediaSource::ReadOptions::SEEK_CLOSEST_SYNC; in AMediaExtractor_seekTo()
176 sfmode = android::MediaSource::ReadOptions::SEEK_NEXT_SYNC; in AMediaExtractor_seekTo()
/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