Searched refs:translate_error (Results 1 – 6 of 6) sorted by relevance
66 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); in AMediaMuxer_setLocation()71 return translate_error(muxer->mImpl->setOrientationHint(degrees)); in AMediaMuxer_setOrientationHint()79 return (ret >= 0) ? ret : translate_error(ret); in AMediaMuxer_addTrack()84 return translate_error(muxer->mImpl->start()); in AMediaMuxer_start()89 return translate_error(muxer->mImpl->stop()); in AMediaMuxer_stop()96 return translate_error( in AMediaMuxer_writeSampleData()
43 static media_status_t translate_error(status_t err) { in translate_error() function271 translate_error(err), in onMessageReceived()431 return translate_error(err); in AMediaCodec_getName()467 return translate_error(err); in AMediaCodec_configure()480 return translate_error(err); in AMediaCodec_setAsyncNotifyCallback()494 return translate_error(mData->mCodec->releaseCrypto()); in AMediaCodec_releaseCrypto()501 return translate_error(ret); in AMediaCodec_start()511 media_status_t ret = translate_error(mData->mCodec->stop()); in AMediaCodec_stop()523 return translate_error(mData->mCodec->flush()); in AMediaCodec_flush()534 return translate_error(ret); in AMediaCodec_dequeueInputBuffer()[all …]
85 return translate_error(mData->mImpl->setDataSource(fd, offset, length)); in AMediaExtractor_setDataSourceFd()111 return translate_error(err); in AMediaExtractor_setDataSourceWithHeaders()121 return translate_error(mData->mImpl->setDataSource(new NdkDataSource(src))); in AMediaExtractor_setDataSourceCustom()146 return translate_error(mData->mImpl->selectTrack(idx)); in AMediaExtractor_selectTrack()152 return translate_error(mData->mImpl->unselectTrack(idx)); in AMediaExtractor_unselectTrack()179 return translate_error(ex->mImpl->seekTo(seekPosUs, sfmode)); in AMediaExtractor_seekTo()430 return translate_error(err); in AMediaExtractor_getSampleFormat()
23 media_status_t translate_error(android::status_t);
24 media_status_t translate_error(status_t err) { in translate_error() function
92 return translate_error(err); in wrap()