Home
last modified time | relevance | path

Searched refs:srcFrame (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dpixel_yuv_utils.cpp280 if (srcFrame && *srcFrame) { in CleanUpFilterGraph()
281 av_frame_free(srcFrame); in CleanUpFilterGraph()
282 *srcFrame = NULL; in CleanUpFilterGraph()
392 SetAVFrameInfo(srcFrame, srcInfo); in YuvCrop()
465 auto ret = sws_scale(ctx, srcFrame->data, srcFrame->linesize, 0, srcInfo.height, in YuvScale()
467 av_frame_free(&srcFrame); in YuvScale()
500 dstFrame->width = srcFrame->height; in RoatateUpDataDstdata()
501 dstFrame->height = srcFrame->width; in RoatateUpDataDstdata()
532 SetAVFrameInfo(srcFrame, srcInfo); in Rotate()
591 dstFrame->width = srcFrame->width; in FlipUpDataDstdata()
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
H A Dgif_decoder.cpp466 const GifByteType *srcFrame = savedImage->RasterBits; in PaddingData() local
469 CopyLine(srcFrame, dstPixelMapBuffer, frameWidth, transparentColor, colorMap); in PaddingData()
470 srcFrame += savedImage->ImageDesc.Width; in PaddingData()
476 void GifDecoder::CopyLine(const GifByteType *srcFrame, uint32_t *dstPixelMapBuffer, int32_t frameWi… in CopyLine() argument
479 for (int32_t col = 0; col < frameWidth; col++, srcFrame++, dstPixelMapBuffer++) { in CopyLine()
480 if ((*srcFrame != transparentColor) && (*srcFrame < colorMap->ColorCount)) { in CopyLine()
481 const GifColorType &colorType = colorMap->Colors[*srcFrame]; in CopyLine()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/
H A DHeifDecoderImpl.cpp129 AVFrame *srcFrame = av_frame_alloc(); in ConvertPixelFormat() local
144 if (srcFrame != nullptr && dstFrame != nullptr && ctx != nullptr) { in ConvertPixelFormat()
145 res = FillFrameInfoForPixelConvert(srcFrame, srcParam) in ConvertPixelFormat()
147 && sws_scale(ctx, srcFrame->data, srcFrame->linesize, 0, in ConvertPixelFormat()
151 av_frame_free(&srcFrame); in ConvertPixelFormat()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/include/
H A Dgif_decoder.h68 …void CopyLine(const GifByteType *srcFrame, uint32_t *dstFrame, int32_t frameWidth, int32_t transpa…
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dimage_format_convert_utils.cpp161 AVFrame *srcFrame = av_frame_alloc(); in SoftDecode() local
163 if (srcFrame == nullptr && dstFrame == nullptr) { in SoftDecode()
170 FillFrameInfo(srcFrame, srcSlice, const_cast<int *>(srcParam.stride)); in SoftDecode()
175 … auto ret = sws_scale(swsContext, srcFrame->data, srcFrame->linesize, SRCSLICEY, destParam.height, in SoftDecode()
177 av_frame_free(&srcFrame); in SoftDecode()