Searched refs:translate_error (Results 1 – 6 of 6) sorted by relevance
63 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); in AMediaMuxer_setLocation()68 return translate_error(muxer->mImpl->setOrientationHint(degrees)); in AMediaMuxer_setOrientationHint()76 return (ret >= 0) ? ret : translate_error(ret); in AMediaMuxer_addTrack()81 return translate_error(muxer->mImpl->start()); in AMediaMuxer_start()86 return translate_error(muxer->mImpl->stop()); in AMediaMuxer_stop()93 return translate_error( in AMediaMuxer_writeSampleData()
43 static media_status_t translate_error(status_t err) { in translate_error() function261 translate_error(err), in onMessageReceived()385 return translate_error(err); in AMediaCodec_getName()421 return translate_error(err); in AMediaCodec_configure()434 return translate_error(err); in AMediaCodec_setAsyncNotifyCallback()448 return translate_error(mData->mCodec->releaseCrypto()); in AMediaCodec_releaseCrypto()455 return translate_error(ret); in AMediaCodec_start()465 media_status_t ret = translate_error(mData->mCodec->stop()); in AMediaCodec_stop()477 return translate_error(mData->mCodec->flush()); in AMediaCodec_flush()488 return translate_error(ret); in AMediaCodec_dequeueInputBuffer()[all …]
81 return translate_error(mData->mImpl->setDataSource(fd, offset, length)); in AMediaExtractor_setDataSourceFd()107 return translate_error(err); in AMediaExtractor_setDataSourceWithHeaders()117 return translate_error(mData->mImpl->setDataSource(new NdkDataSource(src))); in AMediaExtractor_setDataSourceCustom()142 return translate_error(mData->mImpl->selectTrack(idx)); in AMediaExtractor_selectTrack()148 return translate_error(mData->mImpl->unselectTrack(idx)); in AMediaExtractor_unselectTrack()175 return translate_error(ex->mImpl->seekTo(seekPosUs, sfmode)); in AMediaExtractor_seekTo()425 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()