Lines Matching refs:mData

65     AMediaExtractor *mData = new AMediaExtractor();  in AMediaExtractor_new()  local
66 mData->mImpl = new NuMediaExtractor(); in AMediaExtractor_new()
67 return mData; in AMediaExtractor_new()
71 media_status_t AMediaExtractor_delete(AMediaExtractor *mData) { in AMediaExtractor_delete() argument
73 delete mData; in AMediaExtractor_delete()
78 media_status_t AMediaExtractor_setDataSourceFd(AMediaExtractor *mData, int fd, off64_t offset, in AMediaExtractor_setDataSourceFd() argument
81 return translate_error(mData->mImpl->setDataSource(fd, offset, length)); in AMediaExtractor_setDataSourceFd()
84 media_status_t AMediaExtractor_setDataSourceWithHeaders(AMediaExtractor *mData, in AMediaExtractor_setDataSourceWithHeaders() argument
106 err = mData->mImpl->setDataSource(httpService, uri, numheaders > 0 ? &headers : NULL); in AMediaExtractor_setDataSourceWithHeaders()
111 media_status_t AMediaExtractor_setDataSource(AMediaExtractor *mData, const char *location) { in AMediaExtractor_setDataSource() argument
112 return AMediaExtractor_setDataSourceWithHeaders(mData, location, 0, NULL, NULL); in AMediaExtractor_setDataSource()
116 media_status_t AMediaExtractor_setDataSourceCustom(AMediaExtractor* mData, AMediaDataSource *src) { in AMediaExtractor_setDataSourceCustom() argument
117 return translate_error(mData->mImpl->setDataSource(new NdkDataSource(src))); in AMediaExtractor_setDataSourceCustom()
121 AMediaFormat* AMediaExtractor_getFileFormat(AMediaExtractor *mData) { in AMediaExtractor_getFileFormat() argument
123 mData->mImpl->getFileFormat(&format); in AMediaExtractor_getFileFormat()
128 size_t AMediaExtractor_getTrackCount(AMediaExtractor *mData) { in AMediaExtractor_getTrackCount() argument
129 return mData->mImpl->countTracks(); in AMediaExtractor_getTrackCount()
133 AMediaFormat* AMediaExtractor_getTrackFormat(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_getTrackFormat() argument
135 mData->mImpl->getTrackFormat(idx, &format); in AMediaExtractor_getTrackFormat()
140 media_status_t AMediaExtractor_selectTrack(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_selectTrack() argument
142 return translate_error(mData->mImpl->selectTrack(idx)); in AMediaExtractor_selectTrack()
146 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_unselectTrack() argument
148 return translate_error(mData->mImpl->unselectTrack(idx)); in AMediaExtractor_unselectTrack()
152 bool AMediaExtractor_advance(AMediaExtractor *mData) { in AMediaExtractor_advance() argument
154 status_t err = mData->mImpl->advance(); in AMediaExtractor_advance()
179 ssize_t AMediaExtractor_readSampleData(AMediaExtractor *mData, uint8_t *buffer, size_t capacity) { in AMediaExtractor_readSampleData() argument
182 if (mData->mImpl->readSampleData(tmp) == OK) { in AMediaExtractor_readSampleData()
189 ssize_t AMediaExtractor_getSampleSize(AMediaExtractor *mData) { in AMediaExtractor_getSampleSize() argument
191 status_t err = mData->mImpl->getSampleSize(&sampleSize); in AMediaExtractor_getSampleSize()
199 uint32_t AMediaExtractor_getSampleFlags(AMediaExtractor *mData) { in AMediaExtractor_getSampleFlags() argument
202 status_t err = mData->mImpl->getSampleMeta(&meta); in AMediaExtractor_getSampleFlags()
221 int AMediaExtractor_getSampleTrackIndex(AMediaExtractor *mData) { in AMediaExtractor_getSampleTrackIndex() argument
223 if (mData->mImpl->getSampleTrackIndex(&idx) != OK) { in AMediaExtractor_getSampleTrackIndex()
230 int64_t AMediaExtractor_getSampleTime(AMediaExtractor *mData) { in AMediaExtractor_getSampleTime() argument
232 if (mData->mImpl->getSampleTime(&time) != OK) { in AMediaExtractor_getSampleTime()