Lines Matching refs:mExtractor

39     AMediaExtractor* mExtractor;  member in CodecDecoderTest
76 mExtractor(nullptr), in CodecDecoderTest()
115 mExtractor = AMediaExtractor_new(); in setUpExtractor()
117 AMediaExtractor_setDataSourceFd(mExtractor, fileno(fp), 0, buf.st_size); in setUpExtractor()
125 for (size_t trackID = 0; trackID < AMediaExtractor_getTrackCount(mExtractor); in setUpExtractor()
127 AMediaFormat* currFormat = AMediaExtractor_getTrackFormat(mExtractor, trackID); in setUpExtractor()
131 AMediaExtractor_selectTrack(mExtractor, trackID); in setUpExtractor()
153 if (mExtractor) { in deleteExtractor()
154 AMediaExtractor_delete(mExtractor); in deleteExtractor()
155 mExtractor = nullptr; in deleteExtractor()
216 if (AMediaExtractor_getSampleSize(mExtractor) < 0) { in enqueueInput()
223 ssize_t size = AMediaExtractor_getSampleSize(mExtractor); in enqueueInput()
224 int64_t pts = AMediaExtractor_getSampleTime(mExtractor); in enqueueInput()
228 RETURN_IF_TRUE(size != AMediaExtractor_readSampleData(mExtractor, buf, bufSize), in enqueueInput()
230 if (!AMediaExtractor_advance(mExtractor) && mSignalEOSWithLastFrame) { in enqueueInput()
341 AMediaExtractor_seekTo(mExtractor, pts, mode); in decodeToMemory()
370 AMediaExtractor_seekTo(mExtractor, 0, AMEDIAEXTRACTOR_SEEK_CLOSEST_SYNC); in testSimpleDecode()
448 AMediaExtractor_seekTo(mExtractor, 0, mode); in testFlush()
472 AMediaExtractor_seekTo(mExtractor, 0, mode); in testFlush()
486 AMediaExtractor_seekTo(mExtractor, pts, mode); in testFlush()
500 AMediaExtractor_seekTo(mExtractor, pts, mode); in testFlush()
585 AMediaExtractor_seekTo(mExtractor, 0, AMEDIAEXTRACTOR_SEEK_CLOSEST_SYNC); in testSimpleDecodeQueueCSD()