Searched refs:swsContext (Results 1 - 5 of 5) sorted by relevance
/foundation/multimedia/media_foundation/engine/plugin/convert/ |
H A D | ffmpeg_convert.cpp | 116 auto swsContext = sws_getContext(scalePara_.srcWidth, scalePara_.srcHeight, scalePara_.srcFfFmt, in Init() local 119 FALSE_RETURN_V_MSG_E(swsContext != nullptr, Status::ERROR_UNKNOWN, "sws_getContext fail"); in Init() 120 swsCtx_ = std::shared_ptr<SwsContext>(swsContext, [](struct SwsContext *ptr) { in Init()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/ |
H A D | ffmpeg_convert.cpp | 194 auto swsContext = in Init() local 197 FALSE_RETURN_V_MSG_E(swsContext != nullptr, Status::ERROR_UNKNOWN, "sws_getContext fail"); in Init() 198 swsCtx_ = std::shared_ptr<SwsContext>(swsContext, [](struct SwsContext *ptr) { in Init()
|
/foundation/multimedia/av_codec/services/engine/common/ |
H A D | codec_utils.cpp | 288 auto swsContext = in Init() local 291 if (swsContext == nullptr) { in Init() 294 swsCtx_ = std::shared_ptr<SwsContext>(swsContext, [](struct SwsContext *ptr) { in Init()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 947 SwsContext *swsContext = sws_getContext(srcWidth, srcHeight, pixelFormat, desiredSize.width, desiredSize.height, in ScalePixelMapEx() local 949 if (swsContext == nullptr) { in ScalePixelMapEx() 957 auto res = sws_scale(swsContext, srcPixels, srcRowStride, 0, srcHeight, dstPixels, dstRowStride); in ScalePixelMapEx() 959 sws_freeContext(swsContext); in ScalePixelMapEx()
|
H A D | image_format_convert_utils.cpp | 154 SwsContext *swsContext = sws_getContext(srcParam.width, srcParam.height, srcformat, destParam.width, in SoftDecode() local 156 if (swsContext == nullptr) { in SoftDecode() 164 sws_freeContext(swsContext); in SoftDecode() 174 auto ret = sws_scale(swsContext, srcFrame->data, srcFrame->linesize, SRCSLICEY, destParam.height, in SoftDecode() 178 sws_freeContext(swsContext); in SoftDecode()
|
Completed in 6 milliseconds