Lines Matching refs:mExtractor
33 AMediaExtractor* mExtractor; member in CodecEncoderSurfaceTest
87 mExtractor = nullptr;
129 mExtractor = AMediaExtractor_new(); in setUpExtractor()
131 AMediaExtractor_setDataSourceFd(mExtractor, fileno(fp), 0, buf.st_size); in setUpExtractor()
135 for (size_t trackID = 0; trackID < AMediaExtractor_getTrackCount(mExtractor); in setUpExtractor()
137 AMediaFormat* currFormat = AMediaExtractor_getTrackFormat(mExtractor, trackID); in setUpExtractor()
141 AMediaExtractor_selectTrack(mExtractor, trackID); in setUpExtractor()
156 if (mExtractor) { in deleteExtractor()
157 AMediaExtractor_delete(mExtractor); in deleteExtractor()
158 mExtractor = nullptr; in deleteExtractor()
226 if (AMediaExtractor_getSampleSize(mExtractor) < 0) { in enqueueDecoderInput()
236 ssize_t size = AMediaExtractor_getSampleSize(mExtractor); in enqueueDecoderInput()
237 int64_t pts = AMediaExtractor_getSampleTime(mExtractor); in enqueueDecoderInput()
242 if (size != AMediaExtractor_readSampleData(mExtractor, buf, bufSize)) { in enqueueDecoderInput()
246 if (!AMediaExtractor_advance(mExtractor) && mSignalEOSWithLastFrame) { in enqueueDecoderInput()
518 AMediaExtractor_seekTo(mExtractor, 0, AMEDIAEXTRACTOR_SEEK_CLOSEST_SYNC); in testSimpleEncode()