Home
last modified time | relevance | path

Searched refs:AVStrError (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/encoder/
H A Daudio_ffmpeg_encoder_plugin.cpp77 … AVCODEC_LOGE("Frame make writable failed: %{public}s", FFMpegConverter::AVStrError(ret).c_str()); in SendBuffer()
110 …OGW("skip this frame because not enough, msg:%{public}s", FFMpegConverter::AVStrError(ret).data()); in SendBuffer()
113 AVCODEC_LOGW("eos send frame, msg:%{public}s", FFMpegConverter::AVStrError(ret).data()); in SendBuffer()
116 … AVCODEC_LOGE("Send frame unknown error: %{public}s", FFMpegConverter::AVStrError(ret).c_str()); in SendBuffer()
152 …AVCODEC_LOGE("audio encoder receive unknow error: %{public}s", FFMpegConverter::AVStrError(ret).c_… in ReceiveBuffer()
265 AVCODEC_LOGE("avcodec open error %{public}s", FFMpegConverter::AVStrError(res).c_str()); in OpenContext()
302 AVCODEC_LOGE("avcodec reopen error %{public}s", FFMpegConverter::AVStrError(res).c_str()); in ReAllocateContext()
318 "Get frame buffer failed: %{public}s", FFMpegConverter::AVStrError(ret).c_str()); in InitFrame()
H A Daudio_ffmpeg_aac_encoder_plugin.cpp340 AVCODEC_LOGE("avcodec open error %{public}s", FFMpegConverter::AVStrError(res).c_str()); in OpenContext()
390 "Get frame buffer failed: %{public}s", FFMpegConverter::AVStrError(ret).c_str()); in InitFrame()
402 … AVCODEC_LOGE("Frame make writable failed: %{public}s", FFMpegConverter::AVStrError(ret).c_str()); in SendBuffer()
436 FFMpegConverter::AVStrError(ret).data()); in SendBuffer()
439 AVCODEC_LOGW("eos send frame, msg:%{public}s", FFMpegConverter::AVStrError(ret).data()); in SendBuffer()
442 … AVCODEC_LOGE("Send frame unknown error: %{public}s", FFMpegConverter::AVStrError(ret).c_str()); in SendBuffer()
497 …AVCODEC_LOGE("audio encoder receive unknow error: %{public}s", FFMpegConverter::AVStrError(ret).c_… in ReceiveBuffer()
574 AVCODEC_LOGE("avcodec reopen error %{public}s", FFMpegConverter::AVStrError(res).c_str()); in ReAllocateContext()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/
H A Dffmpeg_base_encoder.cpp101 AVCODEC_LOGD("Frame make writable failed: %{public}s", OSAL::AVStrError(ret).c_str()); in SendBuffer()
120 …AVCODEC_LOGE("skip this frame because data not enough, msg:%{public}s", OSAL::AVStrError(ret).data… in SendBuffer()
123 AVCODEC_LOGD("eos send frame, msg:%{public}s", OSAL::AVStrError(ret).data()); in SendBuffer()
126 AVCODEC_LOGD("Send frame unknown error: %{public}s", OSAL::AVStrError(ret).c_str()); in SendBuffer()
161 … AVCODEC_LOGE("audio encoder receive unknow error: %{public}s", OSAL::AVStrError(ret).c_str()); in ReceiveBuffer()
303 AVCODEC_LOGE("avcodec open error %{public}s", OSAL::AVStrError(res).c_str()); in OpenContext()
339 AVCODEC_LOGE("avcodec reopen error %{public}s", OSAL::AVStrError(res).c_str()); in ReAllocateContext()
355 "Get frame buffer failed: %{public}s", OSAL::AVStrError(ret).c_str()); in InitFrame()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/decoder/
H A Daudio_ffmpeg_decoder_plugin.cpp65 static std::string AVStrError(int errnum) in AVStrError() function
111 … AVCODEC_LOGW("skip this frame because data not enough, msg:%{public}s", AVStrError(ret).data()); in SendBuffer()
114 AVCODEC_LOGW("eos send frame, msg:%{public}s", AVStrError(ret).data()); in SendBuffer()
117 AVCODEC_LOGE("ffmpeg error message, msg:%{public}s", AVStrError(ret).data()); in SendBuffer()
120 AVCODEC_LOGE("ffmpeg error message, msg:%{public}s", AVStrError(ret).data()); in SendBuffer()
173 …LOGE("audio decoder receive unknow error,ffmpeg error message:%{public}s", AVStrError(ret).data()); in ReceiveBuffer()
331 AVCODEC_LOGE("avcodec open error %{public}s", AVStrError(res).c_str()); in OpenContext()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/
H A Dffmpeg_base_decoder.cpp70 static std::string AVStrError(int errnum) in AVStrError() function
117 …AVCODEC_LOGD_LIMIT(LOGD_FREQUENCY, "skip frame data no enough, msg:%{public}s", AVStrError(ret).da… in SendBuffer()
121 AVCODEC_LOGW("eos send frame, msg:%{public}s", AVStrError(ret).data()); in SendBuffer()
124 AVCODEC_LOGE("error msg:%{public}s", AVStrError(ret).data()); in SendBuffer()
127 AVCODEC_LOGE("error msg:%{public}s", AVStrError(ret).data()); in SendBuffer()
167 …LOGE("audio decoder receive unknow error,ffmpeg error message:%{public}s", AVStrError(ret).data()); in ReceiveBuffer()
335 "avcodec open error %{public}s", AVStrError(res).c_str()); in OpenContext()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/aac/
H A Dffmpeg_aac_encoder_plugin.cpp333 … MEDIA_LOG_E("audio encoder receive unknow error: %{public}s", OSAL::AVStrError(ret).c_str()); in ReceiveBuffer()
436 "avcodec reopen error %{public}s", OSAL::AVStrError(res).c_str()); in ReAllocateContext()
510 MEDIA_LOG_E("avcodec open error %{public}s", OSAL::AVStrError(res).c_str()); in OpenContext()
641 "Get frame buffer failed: %{public}s", OSAL::AVStrError(ret).c_str()); in InitFrame()
676 MEDIA_LOG_D("Frame make writable failed: %{public}s", OSAL::AVStrError(ret).c_str()); in PushInFifo()
718 …MEDIA_LOG_E("skip this frame because data not enough, msg:%{public}s", OSAL::AVStrError(ret).data(… in SendFrameToFfmpeg()
721 MEDIA_LOG_D("eos send frame, msg:%{public}s", OSAL::AVStrError(ret).data()); in SendFrameToFfmpeg()
724 MEDIA_LOG_D("Send frame unknown error: %{public}s", OSAL::AVStrError(ret).c_str()); in SendFrameToFfmpeg()
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/osal/utils/
H A Dutil.h37 std::string AVStrError(int errnum);
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/
H A Daudio_ffmpeg_encoder_plugin.cpp267 AVStrError(res).c_str()); in Start()
297 "avcodec close error " PUBLIC_LOG_S " when stop encoder", AVStrError(res).c_str()); in Stop()
444 MEDIA_LOG_E("send buffer error " PUBLIC_LOG_S, AVStrError(ret).c_str()); in SendBufferLocked()
489 MEDIA_LOG_E("audio encoder receive error: " PUBLIC_LOG_S, AVStrError(ret).c_str()); in ReceiveBufferLocked()
/ohos5.0/foundation/multimedia/av_codec/services/engine/common/include/
H A Dffmpeg_converter.h56 static std::string AVStrError(int errnum);
H A Dcodec_utils.h73 std::string AVStrError(int errnum);
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/
H A Dffmpeg_converter.h57 static std::string AVStrError(int errnum);
H A Dffmpeg_convert.cpp147 static std::string AVStrError(int errnum) in AVStrError() function
183 MEDIA_LOG_E("convert frame failed, %{public}s", AVStrError(ret).c_str()); in ConvertFrame()
H A Dffmpeg_utils.h41 std::string AVStrError(int errnum);
/ohos5.0/foundation/multimedia/media_foundation/src/osal/utils/
H A Dutil.cpp82 std::string AVStrError(int errnum) in AVStrError() function
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_decoder/
H A Daudio_ffmpeg_decoder_plugin.cpp381 MEDIA_LOG_E("avcodec open error " PUBLIC_LOG_S, AVStrError(res).c_str()); in OpenCtxLocked()
398 MEDIA_LOG_E("avcodec close error " PUBLIC_LOG_S, AVStrError(res).c_str()); in CloseCtxLocked()
522 MEDIA_LOG_E("send buffer error " PUBLIC_LOG_S, AVStrError(ret).c_str()); in SendBufferLocked()
615 MEDIA_LOG_E("audio decoder receive error: " PUBLIC_LOG_S, AVStrError(ret).c_str()); in ReceiveBufferLocked()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/
H A Dvideo_ffmpeg_encoder_plugin.cpp261 … MEDIA_LOG_E("avcodec open error " PUBLIC_LOG_S " when start encoder ", AVStrError(res).c_str()); in OpenCodecContext()
276 … MEDIA_LOG_E("avcodec close error " PUBLIC_LOG_S " when stop encoder", AVStrError(res).c_str()); in CloseCodecContext()
455 MEDIA_LOG_D("send buffer error " PUBLIC_LOG_S, AVStrError(ret).c_str()); in SendBufferLocked()
512 MEDIA_LOG_D("video encoder receive error: " PUBLIC_LOG_S, AVStrError(ret).c_str()); in ReceiveBufferLocked()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/utils/
H A Dffmpeg_utils.h45 std::string AVStrError(int errnum);
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.cpp335 MEDIA_LOG_W("ReadFrame failed, rtv = " PUBLIC_LOG_S, AVStrError(res).c_str()); in ReadFrame()
421 pluginImpl_->name, AVStrError(ret).c_str()); in InitAVFormatContext()
438 …MEDIA_LOG_E("avcodec_parameters_to_context failed with return = " PUBLIC_LOG_S, AVStrError(ret).c_… in InitCodecContext()
492 …_MSG_E(ret >= 0, false, "avformat_find_stream_info fail : " PUBLIC_LOG_S, AVStrError(ret).c_str()); in ParseMediaData()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/muxer/
H A Dffmpeg_muxer_plugin.cpp447 AVStrError(ret).c_str()); in WriteHeader()
475 MEDIA_LOG_D("failed to write frame " PUBLIC_LOG_S, AVStrError(ret).c_str()); in WriteFrame()
491 MEDIA_LOG_E("failed to write trailer " PUBLIC_LOG_S, AVStrError(ret).c_str()); in WriteTrailer()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_decoder/
H A Dvideo_ffmpeg_decoder_plugin.cpp300 … MEDIA_LOG_E("avcodec open error " PUBLIC_LOG_S " when start decoder ", AVStrError(res).c_str()); in OpenCodecContext()
315 … MEDIA_LOG_E("avcodec close error " PUBLIC_LOG_S " when stop decoder", AVStrError(res).c_str()); in CloseCodecContext()
484 MEDIA_LOG_DD("send buffer error " PUBLIC_LOG_S, AVStrError(ret).c_str()); in SendBufferLocked()
766 MEDIA_LOG_DD("video decoder receive error: " PUBLIC_LOG_S, AVStrError(ret).c_str()); in ReceiveBufferLocked()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/
H A Daudio_resample.cpp123 AVCODEC_LOGE("convert frame failed, %{public}s", FFMpegConverter::AVStrError(ret).c_str()); in ConvertFrame()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.cpp383 "Call av_bsf_alloc failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in InitBitStreamContext()
386 …MSG((ret >= 0), "Call avcodec_parameters_copy failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in InitBitStreamContext()
389 …FALSE_RETURN_MSG((ret >= 0), "Call av_bsf_init failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()… in InitBitStreamContext()
406 "Call av_bsf_send_packet failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in ConvertAvcToAnnexb()
411 "Call av_bsf_receive_packet failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in ConvertAvcToAnnexb()
718 AVStrError(ffmpegRet).c_str(), int(ioContext_.retry)); in ReadPacketToCacheQueue()
942 pluginImpl->name, AVStrError(ret).c_str()); in ParseHeader()
963 pluginImpl->name, AVStrError(ret).c_str()); in ParseHeader()
1385 "Call av_seek_frame failed, err: " PUBLIC_LOG_S, AVStrError(ret).c_str()); in SeekTo()
H A Dffmpeg_reference_parser.cpp252 AVStrError(ffmpegRet).c_str(), int(parserRefIoContext_.retry)); in ParserRefInfoLoop()
354 "Call av_seek_frame failed, err: " PUBLIC_LOG_S, AVStrError(ret).c_str()); in SelectProGopId()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/muxer/
H A Dffmpeg_muxer_plugin.cpp814 MEDIA_LOG_E("write header failed, %{public}s", AVStrError(ret).c_str()); in Start()
826 MEDIA_LOG_E("write trailer failed, %{public}s", AVStrError(ret).c_str()); in Stop()
830 MEDIA_LOG_E("write trailer failed, %{public}s", AVStrError(ret).c_str()); in Stop()
895AVStrError(ret).c_str(), trackIndex, sample->pts_, sample->flag_, sample->memory_->GetSize()); in WriteNormal()
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/
H A DTestFFmpegUtils.cpp191 auto res = AVStrError(number);

12