Home
last modified time | relevance | path

Searched refs:translate_error (Results 1 – 3 of 3) 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
225 return translate_error(mData->mCodec->configure(nativeFormat, surface, in AMediaCodec_configure()
233 return translate_error(ret); in AMediaCodec_start()
243 media_status_t ret = translate_error(mData->mCodec->stop()); in AMediaCodec_stop()
255 return translate_error(mData->mCodec->flush()); in AMediaCodec_flush()
266 return translate_error(ret); in AMediaCodec_dequeueInputBuffer()
311 return translate_error(ret); in AMediaCodec_queueInputBuffer()
341 return translate_error(ret); in AMediaCodec_dequeueOutputBuffer()
354 return translate_error(mData->mCodec->renderOutputBufferAndRelease(idx)); in AMediaCodec_releaseOutputBuffer()
356 return translate_error(mData->mCodec->releaseOutputBuffer(idx)); in AMediaCodec_releaseOutputBuffer()
[all …]
DNdkMediaExtractor.cpp42 static media_status_t translate_error(status_t err) { in translate_error() function
77 return translate_error(mData->mImpl->setDataSource(fd, offset, length)); in AMediaExtractor_setDataSourceFd()
121 return translate_error(err); in AMediaExtractor_setDataSource()
139 return translate_error(mData->mImpl->selectTrack(idx)); in AMediaExtractor_selectTrack()
145 return translate_error(mData->mImpl->unselectTrack(idx)); in AMediaExtractor_unselectTrack()
165 return translate_error(ex->mImpl->seekTo(seekPosUs, sfmode)); in AMediaExtractor_seekTo()