Home
last modified time | relevance | path

Searched refs:translate_error (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp63 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()
DNdkMediaCodec.cpp43 static media_status_t translate_error(status_t err) { in translate_error() function
267 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 …]
DNdkMediaExtractor.cpp81 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()
/frameworks/av/include/media/
DNdkMediaErrorPriv.h23 media_status_t translate_error(android::status_t);
/frameworks/av/media/libmedia/
DNdkMediaErrorPriv.cpp24 media_status_t translate_error(status_t err) { in translate_error() function
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaBufferGroup.h92 return translate_error(err); in wrap()