Home
last modified time | relevance | path

Searched refs:ReadOptions (Results 1 – 25 of 65) 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);
155 MediaSource::ReadOptions::SeekMode mode =
156 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
160 MediaSource::ReadOptions::SeekMode mode =
161 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.cpp495 mSeekMode(MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC), in VideoFrameDecoder()
502 MediaSource::ReadOptions *options, in onGetFormatAndSeekOptions()
504 mSeekMode = static_cast<MediaSource::ReadOptions::SeekMode>(seekMode); in onGetFormatAndSeekOptions()
505 if (mSeekMode < MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC || in onGetFormatAndSeekOptions()
506 mSeekMode > MediaSource::ReadOptions::SEEK_FRAME_INDEX) { in onGetFormatAndSeekOptions()
547 bool isSeekingClosest = (mSeekMode == MediaSource::ReadOptions::SEEK_CLOSEST) in onGetFormatAndSeekOptions()
548 || (mSeekMode == MediaSource::ReadOptions::SEEK_FRAME_INDEX); in onGetFormatAndSeekOptions()
576 bool isSeekingClosest = (mSeekMode == MediaSource::ReadOptions::SEEK_CLOSEST) in onInputReceived()
577 || (mSeekMode == MediaSource::ReadOptions::SEEK_FRAME_INDEX); in onInputReceived()
788 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/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/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/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/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/libstagefright/include/
DFrameDecoder.h62 MediaSource::ReadOptions *options,
93 MediaSource::ReadOptions mReadOptions;
116 MediaSource::ReadOptions *options,
141 MediaSource::ReadOptions::SeekMode mSeekMode;
160 MediaSource::ReadOptions *options,
/frameworks/av/media/libstagefright/httplive/fuzzer/
Dhttplive_fuzzer.cpp51 constexpr MediaSource::ReadOptions::SeekMode kValidSeekMode[] = {
52 MediaSource::ReadOptions::SeekMode::SEEK_PREVIOUS_SYNC,
53 MediaSource::ReadOptions::SeekMode::SEEK_NEXT_SYNC,
54 MediaSource::ReadOptions::SeekMode::SEEK_CLOSEST_SYNC,
55 MediaSource::ReadOptions::SeekMode::SEEK_CLOSEST,
56 MediaSource::ReadOptions::SeekMode::SEEK_FRAME_INDEX};
210 MediaSource::ReadOptions::SeekMode mode = in invokeSeekTo()
/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.cpp64 MediaBufferHelper **buffer, const ReadOptions *options = NULL);
166 MediaBufferHelper **out, const ReadOptions *options) { in read()
170 ReadOptions::SeekMode seekMode; in read()
173 status_t err = mExtractor->seek(seekTimeUs, (ReadOptions::SeekMode)seekMode); in read()
186 mImpl->read(&mbuf, (MediaTrack::ReadOptions*) options); in read()
621 const MediaTrackHelper::ReadOptions::SeekMode &seekMode) { in seek()
642 case MediaTrackHelper::ReadOptions::SEEK_NEXT_SYNC: in seek()
648 case MediaTrackHelper::ReadOptions::SEEK_CLOSEST_SYNC: in seek()
649 case MediaTrackHelper::ReadOptions::SEEK_CLOSEST: in seek()
653 case MediaTrackHelper::ReadOptions::SEEK_PREVIOUS_SYNC: in seek()
/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/wilhelm/src/android/util/
DAacAdtsExtractor.cpp234 MediaBufferBase **out, const ReadOptions *options) { in read()
238 ReadOptions::SeekMode mode; in read()
/frameworks/av/media/extractors/fuzzers/
DExtractorFuzzerBase.cpp176 MediaTrackHelper::ReadOptions* options = in seekAndExtractTrack()
177 new MediaTrackHelper::ReadOptions(seekOption, seekPts); in seekAndExtractTrack()

123