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
261 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 …]
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()