Home
last modified time | relevance | path

Searched refs:mMediaExtractor (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/ndk/fuzzer/
Dndk_extractor_fuzzer.cpp60 AMediaExtractor* mMediaExtractor = AMediaExtractor_new(); in process() local
64 AMediaExtractor_setDataSourceFd(mMediaExtractor, mDataSourceFd, 0, mDataSize); in process()
68 AMediaExtractor_setDataSourceCustom(mMediaExtractor, mDataSource); in process()
79 AMediaExtractor_selectTrack(mMediaExtractor, in process()
84 AMediaExtractor_unselectTrack(mMediaExtractor, in process()
89 int32_t sampleSize = AMediaExtractor_getSampleSize(mMediaExtractor); in process()
93 mMediaExtractor, buffer.data(), in process()
99 AMediaExtractor_getSampleFlags(mMediaExtractor); in process()
103 AMediaExtractor_getSampleCryptoInfo(mMediaExtractor); in process()
107 AMediaExtractor_getPsshInfo(mMediaExtractor); in process()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DMediaDecoder.java95 private MediaExtractor mMediaExtractor; field in MediaDecoder
230 mMediaExtractor = new MediaExtractor(); in onStart()
231 mMediaExtractor.setDataSource(mContext, mUri, null); in onStart()
236 for (int i = 0; i < mMediaExtractor.getTrackCount(); i++) { in onStart()
237 MediaFormat format = mMediaExtractor.getTrackFormat(i); in onStart()
254 MediaFormat videoFormat = mMediaExtractor.getTrackFormat(mVideoTrackIndex); in onStart()
259 mMediaExtractor.selectTrack(mVideoTrackIndex); in onStart()
266 MediaFormat audioFormat = mMediaExtractor.getTrackFormat(mAudioTrackIndex); in onStart()
269 mMediaExtractor.selectTrack(mAudioTrackIndex); in onStart()
273 mMediaExtractor.seekTo(mStartMicros, MediaExtractor.SEEK_TO_PREVIOUS_SYNC); in onStart()
[all …]