Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp40 static media_status_t translate_error(status_t err) { in translate_error() function
72 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); in AMediaMuxer_setLocation()
77 return translate_error(muxer->mImpl->setOrientationHint(degrees)); in AMediaMuxer_setOrientationHint()
84 return translate_error(muxer->mImpl->addTrack(msg)); in AMediaMuxer_addTrack()
89 return translate_error(muxer->mImpl->start()); in AMediaMuxer_start()
94 return translate_error(muxer->mImpl->stop()); in AMediaMuxer_stop()
101 return translate_error( in AMediaMuxer_writeSampleData()
DNdkMediaCodec.cpp41 static media_status_t translate_error(status_t err) { in translate_error() function
212 return translate_error(mData->mCodec->configure(nativeFormat, surface, in AMediaCodec_configure()
220 return translate_error(ret); in AMediaCodec_start()
230 media_status_t ret = translate_error(mData->mCodec->stop()); in AMediaCodec_stop()
242 return translate_error(mData->mCodec->flush()); in AMediaCodec_flush()
253 return translate_error(ret); in AMediaCodec_dequeueInputBuffer()
298 return translate_error(ret); in AMediaCodec_queueInputBuffer()
328 return translate_error(ret); in AMediaCodec_dequeueOutputBuffer()
341 return translate_error(mData->mCodec->renderOutputBufferAndRelease(idx)); in AMediaCodec_releaseOutputBuffer()
343 return translate_error(mData->mCodec->releaseOutputBuffer(idx)); in AMediaCodec_releaseOutputBuffer()
[all …]
DNdkMediaExtractor.cpp41 static media_status_t translate_error(status_t err) { in translate_error() function
75 return translate_error(mData->mImpl->setDataSource(fd, offset, length)); in AMediaExtractor_setDataSourceFd()
119 return translate_error(err); in AMediaExtractor_setDataSource()
137 return translate_error(mData->mImpl->selectTrack(idx)); in AMediaExtractor_selectTrack()
143 return translate_error(mData->mImpl->unselectTrack(idx)); in AMediaExtractor_unselectTrack()
163 return translate_error(ex->mImpl->seekTo(seekPosUs, sfmode)); in AMediaExtractor_seekTo()
DNdkMediaCrypto.cpp38 static media_status_t translate_error(status_t err) { in translate_error() function