Home
last modified time | relevance | path

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

12

/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()
/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 AVCODEC_LOGW("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_str()); in ReceiveBuffer()
265 AVCODEC_LOGE("avcodec open error %{public}s", FFMpegConverter::AVStrError(res).c_str()); in OpenContext()
299 AVCODEC_LOGE("avcodec reopen error %{public}s", FFMpegConverter::AVStrError(res).c_str()); in ReAllocateContext()
315 "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_str()); in ReceiveBuffer()
574 AVCODEC_LOGE("avcodec reopen error %{public}s", FFMpegConverter::AVStrError(res).c_str()); in ReAllocateContext()
/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).data()); 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 AVCODEC_LOGE("audio decoder receive unknow error,ffmpeg error message:%{public}s", AVStrError(ret).data()); in ReceiveBuffer()
336 "avcodec open error %{public}s", AVStrError(res).c_str()); in OpenContext()
/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 AVCODEC_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()
/foundation/multimedia/media_foundation/interface/inner_api/osal/utils/
H A Dutil.h37 std::string AVStrError(int errnum);
/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()
633 "Get frame buffer failed: %{public}s", OSAL::AVStrError(ret).c_str()); in InitFrame()
668 MEDIA_LOG_D("Frame make writable failed: %{public}s", OSAL::AVStrError(ret).c_str()); in PushInFifo()
710 MEDIA_LOG_E("skip this frame because data not enough, msg:%{public}s", OSAL::AVStrError(ret).data()); in SendFrameToFfmpeg()
713 MEDIA_LOG_D("eos send frame, msg:%{public}s", OSAL::AVStrError(ret).data()); in SendFrameToFfmpeg()
716 MEDIA_LOG_D("Send frame unknown error: %{public}s", OSAL::AVStrError(ret).c_str()); in SendFrameToFfmpeg()
/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);
/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_utils.h41 std::string AVStrError(int errnum);
H A Dffmpeg_convert.cpp145 static std::string AVStrError(int errnum) in AVStrError() function
181 MEDIA_LOG_E("convert frame failed, %{public}s", AVStrError(ret).c_str()); in ConvertFrame()
/foundation/multimedia/media_foundation/src/osal/utils/
H A Dutil.cpp82 std::string AVStrError(int errnum) in AVStrError() function
88 return "AVStrError " + std::to_string(errnum); in AVStrError()
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/utils/
H A Dffmpeg_utils.h45 std::string AVStrError(int errnum);
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_decoder/
H A Daudio_ffmpeg_decoder_plugin.cpp397 MEDIA_LOG_E("avcodec open error " PUBLIC_LOG_S, AVStrError(res).c_str()); in OpenCtxLocked()
414 MEDIA_LOG_E("avcodec close error " PUBLIC_LOG_S, AVStrError(res).c_str()); in CloseCtxLocked()
535 } else if (ret == AVERROR_EOF) { // AVStrError(ret).c_str() == "End of file" in SendBufferLocked()
538 MEDIA_LOG_E("send buffer error " PUBLIC_LOG_S, AVStrError(ret).c_str()); in SendBufferLocked()
631 MEDIA_LOG_E("audio decoder receive error: " PUBLIC_LOG_S, AVStrError(ret).c_str()); in ReceiveBufferLocked()
/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()
/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()
/foundation/multimedia/av_codec/services/engine/codec/audio/
H A Daudio_resample.cpp122 AVCODEC_LOGE("convert frame failed, %{public}s", FFMpegConverter::AVStrError(ret).c_str()); in ConvertFrame()
/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()
/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_str()); in InitCodecContext()
492 FALSE_RETURN_V_MSG_E(ret >= 0, false, "avformat_find_stream_info fail : " PUBLIC_LOG_S, AVStrError(ret).c_str()); in ParseMediaData()
/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()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.cpp359 "Call av_bsf_alloc failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in InitBitStreamContext()
362 FALSE_RETURN_MSG((ret >= 0), "Call avcodec_parameters_copy failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in InitBitStreamContext()
365 FALSE_RETURN_MSG((ret >= 0), "Call av_bsf_init failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in InitBitStreamContext()
382 "Call av_bsf_send_packet failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in ConvertAvcToAnnexb()
387 "Call av_bsf_receive_packet failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in ConvertAvcToAnnexb()
679 AVStrError(ffmpegRet).c_str(), int(ioContext_.retry)); in ReadPacketToCacheQueue()
898 pluginImpl_->name, AVStrError(ret).c_str()); in InitAVFormatContext()
912 pluginImpl_->name, AVStrError(ret).c_str()); in InitAVFormatContext()
1301 "Call av_seek_frame failed, err: " PUBLIC_LOG_S, AVStrError(ret).c_str()); in SeekTo()
H A Dffmpeg_reference_parser.cpp239 AVStrError(ffmpegRet).c_str(), int(parserRefIoContext_.retry)); in ParserRefInfoLoop()
340 "Call av_seek_frame failed, err: " PUBLIC_LOG_S, AVStrError(ret).c_str()); in SelectProGopId()
/foundation/multimedia/media_foundation/test/unittest/
H A DTestFFmpegUtils.cpp191 auto res = AVStrError(number); in HWTEST()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/muxer/
H A Dffmpeg_muxer_plugin.cpp779 MEDIA_LOG_E("write header failed, %{public}s", AVStrError(ret).c_str()); in Start()
791 MEDIA_LOG_E("write trailer failed, %{public}s", AVStrError(ret).c_str()); in Stop()
795 MEDIA_LOG_E("write trailer failed, %{public}s", AVStrError(ret).c_str()); in Stop()
859 AVStrError(ret).c_str(), trackIndex, sample->pts_, sample->flag_, sample->memory_->GetSize()); in WriteNormal()

Completed in 20 milliseconds

12