Home
last modified time | relevance | path

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

123

/frameworks/av/media/libmedia/
DIMediaSource.cpp116 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options) { in read()
126 Vector<MediaBuffer *> *buffers, uint32_t maxNumBuffers, const ReadOptions *options) { in readMultiple()
333 ReadOptions opts; in onTransact()
454 IMediaSource::ReadOptions::ReadOptions() { in ReadOptions() function in android::IMediaSource::ReadOptions
458 void IMediaSource::ReadOptions::reset() { in reset()
465 void IMediaSource::ReadOptions::setNonBlocking() { in setNonBlocking()
469 void IMediaSource::ReadOptions::clearNonBlocking() { in clearNonBlocking()
473 bool IMediaSource::ReadOptions::getNonBlocking() const { in getNonBlocking()
477 void IMediaSource::ReadOptions::setSeekTo(int64_t time_us, SeekMode mode) { in setSeekTo()
483 void IMediaSource::ReadOptions::clearSeekTo() { in clearSeekTo()
[all …]
/frameworks/av/include/media/
DIMediaSource.h61 struct ReadOptions { struct
69 ReadOptions(); argument
113 MediaBuffer **buffer, const ReadOptions *options = NULL) = 0; argument
129 const ReadOptions *options = nullptr) = 0;
171 const ReadOptions * /* options = nullptr */) { in readMultiple() argument
/frameworks/av/media/libmedia/include/media/
DIMediaSource.h61 struct ReadOptions { struct
69 ReadOptions(); argument
113 MediaBuffer **buffer, const ReadOptions *options = NULL) = 0; argument
129 const ReadOptions *options = nullptr) = 0;
171 const ReadOptions * /* options = nullptr */) { in readMultiple() argument
/frameworks/av/media/libstagefright/include/
DNuMediaExtractor.h79 MediaSource::ReadOptions::SeekMode mode =
80 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
126 MediaSource::ReadOptions::SeekMode mode =
127 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
DSimpleDecodingSource.h64 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options);
104 Mutexed<ProtectedState>::Locked &me, MediaBuffer **buffer, const ReadOptions *options);
DMediaSource.h59 MediaBuffer **buffer, const ReadOptions *options = NULL) = 0;
DJPEGSource.h36 MediaBuffer **buffer, const ReadOptions *options = NULL);
DMediaAdapter.h43 MediaBuffer **buffer, const ReadOptions *options = NULL);
DAACEncoder.h38 MediaBuffer **buffer, const ReadOptions *options);
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp58 MediaBuffer **buffer, const ReadOptions *options = NULL);
93 MediaBuffer **out, const ReadOptions *options) { in read()
97 ReadOptions::SeekMode seekMode; in read()
468 const MediaSource::ReadOptions::SeekMode &seekMode) { in seek()
489 case MediaSource::ReadOptions::SEEK_NEXT_SYNC: in seek()
495 case MediaSource::ReadOptions::SEEK_CLOSEST_SYNC: in seek()
496 case MediaSource::ReadOptions::SEEK_CLOSEST: in seek()
500 case MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC: in seek()
DMPEG2PSExtractor.cpp52 MediaBuffer **buffer, const ReadOptions *options);
83 MediaBuffer **buffer, const ReadOptions *options);
662 MediaBuffer **buffer, const ReadOptions *options) { in read()
747 MediaBuffer **buffer, const ReadOptions *options) { in read()
/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp162 android::MediaSource::ReadOptions::SeekMode sfmode; in AMediaExtractor_seekTo()
164 sfmode = android::MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC; in AMediaExtractor_seekTo()
166 sfmode = android::MediaSource::ReadOptions::SEEK_CLOSEST_SYNC; in AMediaExtractor_seekTo()
168 sfmode = android::MediaSource::ReadOptions::SEEK_NEXT_SYNC; in AMediaExtractor_seekTo()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp111 MediaBuffer **out, const ReadOptions *options) { in read()
115 ReadOptions::SeekMode mode; in read()
DMidiExtractor.cpp48 MediaBuffer **buffer, const ReadOptions *options = NULL);
117 MediaBuffer **outBuffer, const ReadOptions *options) in read()
123 ReadOptions::SeekMode mode; in read()
DAMRExtractor.cpp48 MediaBuffer **buffer, const ReadOptions *options = NULL);
257 MediaBuffer **out, const ReadOptions *options) { in read()
261 ReadOptions::SeekMode mode; in read()
DAACExtractor.cpp50 MediaBuffer **buffer, const ReadOptions *options = NULL);
289 MediaBuffer **out, const ReadOptions *options) { in read()
293 ReadOptions::SeekMode mode; in read()
DStagefrightMetadataRetriever.cpp162 bool isSeekingClosest = (seekMode == MediaSource::ReadOptions::SEEK_CLOSEST); in extractVideoFrame()
193 MediaSource::ReadOptions options; in extractVideoFrame()
194 if (seekMode < MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC || in extractVideoFrame()
195 seekMode > MediaSource::ReadOptions::SEEK_CLOSEST) { in extractVideoFrame()
202 MediaSource::ReadOptions::SeekMode mode = in extractVideoFrame()
203 static_cast<MediaSource::ReadOptions::SeekMode>(seekMode); in extractVideoFrame()
DAVIExtractor.cpp47 MediaBuffer **buffer, const ReadOptions *options);
140 MediaBuffer **buffer, const ReadOptions *options) { in read()
146 ReadOptions::SeekMode seekMode; in read()
1174 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode, in getSampleIndexAtTime()
1209 if (mode == MediaSource::ReadOptions::SEEK_CLOSEST) { in getSampleIndexAtTime()
1240 case MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC: in getSampleIndexAtTime()
1247 case MediaSource::ReadOptions::SEEK_NEXT_SYNC: in getSampleIndexAtTime()
1254 case MediaSource::ReadOptions::SEEK_CLOSEST_SYNC: in getSampleIndexAtTime()
DSimpleDecodingSource.cpp178 MediaBuffer **buffer, const ReadOptions *options) { in read()
199 Mutexed<ProtectedState>::Locked &me, MediaBuffer **buffer, const ReadOptions *options) { in doRead()
209 IMediaSource::ReadOptions::SeekMode mode; in doRead()
/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp110 MediaBuffer **buffer, const ReadOptions *options) { in read()
112 ReadOptions::SeekMode seekMode; in read()
DRepeaterSource.h23 MediaBuffer **buffer, const ReadOptions *options);
/frameworks/av/cmds/stagefright/
Dstagefright.cpp233 MediaSource::ReadOptions options; in playSource()
309 MediaSource::ReadOptions options; in playSource()
414 MediaBuffer **buffer, const ReadOptions *options);
480 MediaBuffer **buffer, const ReadOptions *options) { in read()
556 MediaSource::ReadOptions options; in performSeekTest()
558 seekTimeUs, MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC); in performSeekTest()
873 MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC); in main()
DSineSource.h21 MediaBuffer **out, const ReadOptions *options = NULL);
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp259 MediaBuffer **out, const ReadOptions *options) { in read()
263 ReadOptions::SeekMode mode; in read()
/frameworks/av/media/libstagefright/rtsp/
DVideoSource.h58 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { in read()

123