• Home
  • Raw
  • Download

Lines Matching refs:mData

66     AMediaExtractor *mData = new AMediaExtractor();  in AMediaExtractor_new()  local
67 mData->mImpl = new NuMediaExtractor( in AMediaExtractor_new()
71 return mData; in AMediaExtractor_new()
75 media_status_t AMediaExtractor_delete(AMediaExtractor *mData) { in AMediaExtractor_delete() argument
77 delete mData; in AMediaExtractor_delete()
82 media_status_t AMediaExtractor_setDataSourceFd(AMediaExtractor *mData, int fd, off64_t offset, in AMediaExtractor_setDataSourceFd() argument
85 return translate_error(mData->mImpl->setDataSource(fd, offset, length)); in AMediaExtractor_setDataSourceFd()
88 media_status_t AMediaExtractor_setDataSourceWithHeaders(AMediaExtractor *mData, in AMediaExtractor_setDataSourceWithHeaders() argument
110 err = mData->mImpl->setDataSource(httpService, uri, numheaders > 0 ? &headers : NULL); in AMediaExtractor_setDataSourceWithHeaders()
115 media_status_t AMediaExtractor_setDataSource(AMediaExtractor *mData, const char *location) { in AMediaExtractor_setDataSource() argument
116 return AMediaExtractor_setDataSourceWithHeaders(mData, location, 0, NULL, NULL); in AMediaExtractor_setDataSource()
120 media_status_t AMediaExtractor_setDataSourceCustom(AMediaExtractor* mData, AMediaDataSource *src) { in AMediaExtractor_setDataSourceCustom() argument
121 return translate_error(mData->mImpl->setDataSource(new NdkDataSource(src))); in AMediaExtractor_setDataSourceCustom()
125 AMediaFormat* AMediaExtractor_getFileFormat(AMediaExtractor *mData) { in AMediaExtractor_getFileFormat() argument
127 mData->mImpl->getFileFormat(&format); in AMediaExtractor_getFileFormat()
133 size_t AMediaExtractor_getTrackCount(AMediaExtractor *mData) { in AMediaExtractor_getTrackCount() argument
134 return mData->mImpl->countTracks(); in AMediaExtractor_getTrackCount()
138 AMediaFormat* AMediaExtractor_getTrackFormat(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_getTrackFormat() argument
140 mData->mImpl->getTrackFormat(idx, &format); in AMediaExtractor_getTrackFormat()
145 media_status_t AMediaExtractor_selectTrack(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_selectTrack() argument
147 return translate_error(mData->mImpl->selectTrack(idx)); in AMediaExtractor_selectTrack()
151 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_unselectTrack() argument
153 return translate_error(mData->mImpl->unselectTrack(idx)); in AMediaExtractor_unselectTrack()
157 bool AMediaExtractor_advance(AMediaExtractor *mData) { in AMediaExtractor_advance() argument
159 status_t err = mData->mImpl->advance(); in AMediaExtractor_advance()
184 ssize_t AMediaExtractor_readSampleData(AMediaExtractor *mData, uint8_t *buffer, size_t capacity) { in AMediaExtractor_readSampleData() argument
187 if (mData->mImpl->readSampleData(tmp) == OK) { in AMediaExtractor_readSampleData()
194 ssize_t AMediaExtractor_getSampleSize(AMediaExtractor *mData) { in AMediaExtractor_getSampleSize() argument
196 status_t err = mData->mImpl->getSampleSize(&sampleSize); in AMediaExtractor_getSampleSize()
204 uint32_t AMediaExtractor_getSampleFlags(AMediaExtractor *mData) { in AMediaExtractor_getSampleFlags() argument
207 status_t err = mData->mImpl->getSampleMeta(&meta); in AMediaExtractor_getSampleFlags()
226 int AMediaExtractor_getSampleTrackIndex(AMediaExtractor *mData) { in AMediaExtractor_getSampleTrackIndex() argument
228 if (mData->mImpl->getSampleTrackIndex(&idx) != OK) { in AMediaExtractor_getSampleTrackIndex()
235 int64_t AMediaExtractor_getSampleTime(AMediaExtractor *mData) { in AMediaExtractor_getSampleTime() argument
237 if (mData->mImpl->getSampleTime(&time) != OK) { in AMediaExtractor_getSampleTime()