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() function267 translate_error(err), in onMessageReceived()391 return translate_error(err); in AMediaCodec_getName()427 return translate_error(err); in AMediaCodec_configure()440 return translate_error(err); in AMediaCodec_setAsyncNotifyCallback()454 return translate_error(mData->mCodec->releaseCrypto()); in AMediaCodec_releaseCrypto()461 return translate_error(ret); in AMediaCodec_start()471 media_status_t ret = translate_error(mData->mCodec->stop()); in AMediaCodec_stop()483 return translate_error(mData->mCodec->flush()); in AMediaCodec_flush()494 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()