• Home
  • Raw
  • Download

Lines Matching refs:mSource

185     AMediaDataSource *mSource = new AMediaDataSource();  in AMediaDataSource_new()  local
186 mSource->userdata = NULL; in AMediaDataSource_new()
187 mSource->readAt = NULL; in AMediaDataSource_new()
188 mSource->getSize = NULL; in AMediaDataSource_new()
189 mSource->close = NULL; in AMediaDataSource_new()
190 return mSource; in AMediaDataSource_new()
220 void AMediaDataSource_delete(AMediaDataSource *mSource) { in AMediaDataSource_delete() argument
222 if (mSource != NULL) { in AMediaDataSource_delete()
223 delete mSource; in AMediaDataSource_delete()
228 void AMediaDataSource_setUserdata(AMediaDataSource *mSource, void *userdata) { in AMediaDataSource_setUserdata() argument
229 mSource->userdata = userdata; in AMediaDataSource_setUserdata()
233 void AMediaDataSource_setReadAt(AMediaDataSource *mSource, AMediaDataSourceReadAt readAt) { in AMediaDataSource_setReadAt() argument
234 mSource->readAt = readAt; in AMediaDataSource_setReadAt()
238 void AMediaDataSource_setGetSize(AMediaDataSource *mSource, AMediaDataSourceGetSize getSize) { in AMediaDataSource_setGetSize() argument
239 mSource->getSize = getSize; in AMediaDataSource_setGetSize()
243 void AMediaDataSource_setClose(AMediaDataSource *mSource, AMediaDataSourceClose close) { in AMediaDataSource_setClose() argument
244 mSource->close = close; in AMediaDataSource_setClose()
248 void AMediaDataSource_close(AMediaDataSource *mSource) { in AMediaDataSource_close() argument
249 return mSource->close(mSource->userdata); in AMediaDataSource_close()
253 void AMediaDataSource_setGetAvailableSize(AMediaDataSource *mSource, in AMediaDataSource_setGetAvailableSize() argument
255 mSource->getAvailableSize = getAvailableSize; in AMediaDataSource_setGetAvailableSize()