/foundation/arkui/ace_engine/frameworks/core/image/apng/ |
H A D | apng_image_object.cpp | 32 int32_t dstHeight = -1; in UploadToGpuForRender() local 35 dstHeight = static_cast<int32_t>(imageSize.Height() + SizeOffset); in UploadToGpuForRender() 44 dstHeight); in UploadToGpuForRender() 49 int32_t dstHeight = static_cast<int32_t>(imageSize.Height() + SizeOffset); in UploadToGpuForRender() local 50 animatedPlayer_->SetTargetSize(dstWidth, dstHeight); in UploadToGpuForRender()
|
H A D | apng_image_player.cpp | 34 int32_t dstHeight) in APngImagePlayer() 36 apngDecoder_(decoder), dstWidth_(dstWidth), dstHeight_(dstHeight) in APngImagePlayer() 230 [weak = AceType::WeakClaim(this), index, dstWidth = dstWidth_, dstHeight = dstHeight_, taskExecutor] { in RenderFrame() 243 if (dstWidth > 0 && dstHeight > 0) { in RenderFrame() 244 skImage = ImageProvider::ApplySizeToSkImage(skImage, dstWidth, dstHeight); in RenderFrame() 253 if (dstWidth > 0 && dstHeight > 0) { in RenderFrame() 254 dImage = ImageProvider::ApplySizeToDrawingImage(dImage, dstWidth, dstHeight); in RenderFrame() 28 APngImagePlayer( ImageSourceInfo source, UploadSuccessCallback successCallback, const WeakPtr<PipelineBase>& weakContext, const RefPtr<PNGImageDecoder>& decoder, int32_t dstWidth, int32_t dstHeight) APngImagePlayer() argument
|
H A D | apng_image_player.h | 104 int32_t dstHeight = -1);
|
/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_object_animated.cpp | 115 int32_t dstHeight = -1; in UploadToGpuForRender() local 118 dstHeight = static_cast<int32_t>(imageSize.Height() + SizeOffset); in UploadToGpuForRender() 126 dstHeight); in UploadToGpuForRender() 131 int32_t dstHeight = static_cast<int32_t>(imageSize.Height() + SizeOffset); in UploadToGpuForRender() local 132 animatedPlayer_->SetTargetSize(dstWidth, dstHeight); in UploadToGpuForRender()
|
H A D | animated_image_player.cpp | 49 [weak = AceType::WeakClaim(this), index, dstWidth = dstWidth_, dstHeight = dstHeight_, taskExecutor] { in RenderFrame() 58 if (dstWidth > 0 && dstHeight > 0) { in RenderFrame() 59 skImage = ImageProvider::ApplySizeToSkImage(skImage, dstWidth, dstHeight); in RenderFrame() 68 if (dstWidth > 0 && dstHeight > 0) { in RenderFrame() 69 dImage = ImageProvider::ApplySizeToDrawingImage(dImage, dstWidth, dstHeight); in RenderFrame()
|
H A D | image_provider.cpp | 528 int32_t dstHeight = static_cast<int32_t>(imageSize.Height() + 0.5); local 538 if (rawImage->height() > dstHeight) { 541 dstHeight = rawImage->height(); 549 rawImage, dstWidth, dstHeight, ImageObject::GenerateCacheKey(ImageSourceInfo(src), imageSize)); 560 int32_t dstHeight = static_cast<int32_t>(imageSize.Height() + 0.5); local 570 if (rawImage->GetHeight() > dstHeight) { 573 dstHeight = rawImage->GetHeight(); 581 rawImage, dstWidth, dstHeight, ImageObject::GenerateCacheKey(ImageSourceInfo(src), imageSize)); 587 const sk_sp<SkImage>& rawImage, int32_t dstWidth, int32_t dstHeight, const std::string& srcKey) 591 SkImageInfo::Make(dstWidth, dstHeight, rawImag 586 ApplySizeToSkImage( const sk_sp<SkImage>& rawImage, int32_t dstWidth, int32_t dstHeight, const std::string& srcKey) global() argument 637 ApplySizeToDrawingImage( const std::shared_ptr<RSImage>& rawRSImage, int32_t dstWidth, int32_t dstHeight, const std::string& srcKey) global() argument [all...] |
H A D | animated_image_player.h | 38 int32_t dstHeight = -1) in AnimatedImagePlayer() 41 frameInfos_(codec_->getFrameInfo()), dstWidth_(dstWidth), dstHeight_(dstHeight) in AnimatedImagePlayer()
|
H A D | image_provider.h | 109 const sk_sp<SkImage>& rawImage, int32_t dstWidth, int32_t dstHeight, const std::string& srcKey = std::string()); 117 const std::shared_ptr<RSImage>& rawRSImage, int32_t dstWidth, int32_t dstHeight,
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_yuv_ext.cpp | 215 int32_t dstHeight = imageInfo_.size.height; in rotate() local 216 if (!YuvRotateConvert(imageInfo_.size, degrees, dstWidth, dstHeight, rotateNum)) { in rotate() 221 IMAGE_LOGD("PixelYuvExt::rotate dstWidth=%{public}d dstHeight=%{public}d", dstWidth, dstHeight); in rotate() 223 auto m = CreateMemory(imageInfo_.pixelFormat, "rotate ImageData", dstWidth, dstHeight, dstStrides); in rotate() 231 Size dstSize = {dstWidth, dstHeight}; in rotate() 240 UpdateYUVDataInfo(imageInfo_.pixelFormat, dstWidth, dstHeight, dstStrides) in rotate() 326 int32_t dstHeight = dst.info.height(); in ColorSpaceBGRAToYuv() local 329 uint32_t pictureSize = GetImageSize(dstWidth, dstHeight, format); in ColorSpaceBGRAToYuv() 331 if (!PixelYuvExtUtils::BGRAToYuv420(bgraData, data_, dstWidth, dstHeight, forma in ColorSpaceBGRAToYuv() [all...] |
H A D | pixel_yuv.cpp | 191 bool PixelYuv::YuvRotateConvert(Size &size, int32_t degrees, int32_t &dstWidth, int32_t &dstHeight, in YuvRotateConvert() argument 197 dstHeight = size.width; in YuvRotateConvert() 205 dstHeight = size.width; in YuvRotateConvert() 245 int32_t dstHeight, YUVStrideInfo &dstStrides) in CreateMemory() 247 uint32_t pictureSize = GetImageSize(dstWidth, dstHeight, pixelFormat); in CreateMemory() 251 int32_t dst_uvOffset = dst_yStride * dstHeight; in CreateMemory() 254 MemoryData memoryData = {nullptr, pictureSize, memoryTag.c_str(), {dstWidth, dstHeight}, pixelFormat}; in CreateMemory() 295 int32_t dstHeight = imageInfo_.size.height; in rotate() local 296 if (!YuvRotateConvert(imageInfo_.size, degrees, dstWidth, dstHeight, rotateNum)) { in rotate() 301 auto dstMemory = CreateMemory(imageInfo_.pixelFormat, "Rotate ImageData", dstWidth, dstHeight, dstStride in rotate() 244 CreateMemory(PixelFormat pixelFormat, std::string memoryTag, int32_t dstWidth, int32_t dstHeight, YUVStrideInfo &dstStrides) CreateMemory() argument 927 int32_t dstHeight = dst.info.height(); ColorSpaceBGRAToYuv() local [all...] |
/foundation/multimedia/player_framework/services/include/ |
H A D | i_avmetadatahelper_service.h | 57 int32_t dstHeight = -1; member 62 return dstWidth == other.dstWidth && dstHeight == other.dstHeight && colorFormat == other.colorFormat; in operator ==()
|
/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/ |
H A D | avmetadatahelper_impl.cpp | 706 config.dstHeight = param.dstHeight; in FetchFrameAtTime() 728 bool needScale = (param.dstWidth > 0 && param.dstHeight > 0) && in FetchFrameAtTime() 729 (param.dstWidth <= srcWidth && param.dstHeight <= srcHeight) && in FetchFrameAtTime() 730 (param.dstWidth < srcWidth || param.dstHeight < srcHeight) && srcWidth > 0 && srcHeight > 0; in FetchFrameAtTime() 732 pixelMap->scale((1.0f * param.dstWidth) / srcWidth, (1.0f * param.dstHeight) / srcHeight); in FetchFrameAtTime() 742 int32_t dstWidth = info.rotation % NUM_180 == 0 ? param.dstWidth : param.dstHeight; in ScalePixelMap() 743 int32_t dstHeight = info.rotation % NUM_180 == 0 ? param.dstHeight : param.dstWidth; in ScalePixelMap() local 744 bool needScale = (dstWidth > 0 && dstHeight > in ScalePixelMap() [all...] |
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | pixel_yuv.h | 73 bool YuvRotateConvert(Size &size, int32_t degrees, int32_t &dstWidth, int32_t &dstHeight, 82 int32_t dstWidth, int32_t dstHeight, YUVStrideInfo &dstStrides);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_composer_adapter.cpp | 1024 uint32_t dstHeight = static_cast<uint32_t>(dstRect.h); in LayerScaleDown() local 1032 std::swap(dstWidth, dstHeight); in LayerScaleDown() 1035 uint32_t newWidthDstHeight = newWidth * dstHeight; in LayerScaleDown() 1039 " dstHeight:%{public}d", newWidthDstHeight, newHeightDstWidth, newWidth, newHeight, dstWidth, dstHeight); in LayerScaleDown() 1042 newWidth = dstWidth * newHeight / dstHeight; in LayerScaleDown() 1045 newHeight = dstHeight * newWidth / dstWidth; in LayerScaleDown() 1092 uint32_t dstHeight = static_cast<uint32_t>(dstRect.h); in LayerScaleDown() local 1100 std::swap(dstWidth, dstHeight); in LayerScaleDown() 1103 uint32_t newWidthDstHeight = newWidth * dstHeight; in LayerScaleDown() 1165 uint32_t dstHeight = static_cast<uint32_t>(dstRect.h); LayerScaleFit() local [all...] |
H A D | rs_uni_render_util.cpp | 1627 uint32_t dstHeight = static_cast<uint32_t>(dstRect.height_); in LayerScaleDown() local 1628 if (newWidth == 0 || newHeight == 0 || dstWidth == 0 || dstHeight == 0) { in LayerScaleDown() 1638 std::swap(dstWidth, dstHeight); in LayerScaleDown() 1641 uint32_t newWidthDstHeight = newWidth * dstHeight; in LayerScaleDown() 1646 newWidth = dstWidth * newHeight / dstHeight; in LayerScaleDown() 1649 newHeight = dstHeight * newWidth / dstWidth; in LayerScaleDown() 1696 uint32_t dstHeight = static_cast<uint32_t>(dstRect.height_); in LayerScaleFit() local 1698 if (newWidth == 0 || newHeight == 0 || dstWidth == 0 || dstHeight == 0) { in LayerScaleFit() 1702 uint32_t newWidthDstHeight = newWidth * dstHeight; in LayerScaleFit() 1709 newWidth = newWidth * dstHeight / newHeigh in LayerScaleFit() [all...] |
/foundation/multimedia/media_foundation/engine/plugin/convert/ |
H A D | ffmpeg_convert.cpp | 117 scalePara_.dstWidth, scalePara_.dstHeight, scalePara_.dstFfFmt, in Init() 125 auto ret = av_image_alloc(dstData, dstLineSize, scalePara_.dstWidth, scalePara_.dstHeight, in Init()
|
/foundation/multimedia/av_codec/services/engine/common/include/ |
H A D | codec_utils.h | 43 int32_t dstHeight = 0; member
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/ |
H A D | ffmpeg_convert.h | 76 int32_t dstHeight{0};
|
H A D | ffmpeg_convert.cpp | 196 scalePara_.dstHeight, scalePara_.dstFfFmt, SWS_FAST_BILINEAR, nullptr, nullptr, nullptr); in Init() 203 auto ret = av_image_alloc(dstData, dstLineSize, scalePara_.dstWidth, scalePara_.dstHeight, scalePara_.dstFfFmt, in Init()
|
/foundation/multimedia/media_foundation/engine/include/plugin/convert/ |
H A D | ffmpeg_convert.h | 71 int32_t dstHeight {0};
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/crop/ |
H A D | crop_efilter.cpp | 91 int32_t dstHeight = static_cast<int32_t>(dst->bufferInfo_->height_); in Crop() local 93 int32_t rowCount = cropHeight > dstHeight ? dstHeight : cropHeight; in Crop()
|
/foundation/multimedia/player_framework/interfaces/inner_api/native/ |
H A D | avmetadatahelper.h | 322 int32_t dstHeight = -1; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/ |
H A D | image_decoder.cpp | 211 int32_t dstHeight = std::lround(desiredSize_.Height()); in QueryCompressedCache() local 212 canvasImage->SetCompressData(stripped, dstWidth, dstHeight); in QueryCompressedCache()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | pixel_yuv_ext_utils.cpp | 164 int dstHeight = size.dstH; in NV12Rotate() local 168 dstY, dstYStride, dstUV, dstUVStride, dstWidth, dstHeight) == -1) { in NV12Rotate() 223 int32_t dstHeight = dstSize.height; in YuvRotate() local 224 PixelSize pixelSize = {info.imageSize.width, info.imageSize.height, dstWidth, dstHeight}; in YuvRotate()
|
/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/ |
H A D | av_thumbnail_generator.cpp | 245 "dstWidth:%{public}d, dstHeight:%{public}d, colorFormat:%{public}d", in FetchFrameAtTime() 246 FAKE_POINTER(this), timeUs, option, param.dstWidth, param.dstHeight, in FetchFrameAtTime() 267 FAKE_POINTER(this), outputConfig_.dstWidth, outputConfig_.dstHeight); in FetchFrameAtTime() 281 "dstWidth:%{public}d, dstHeight:%{public}d, colorFormat:%{public}d", in FetchFrameYuv() 282 FAKE_POINTER(this), timeUs, option, param.dstWidth, param.dstHeight, in FetchFrameYuv() 302 FAKE_POINTER(this), outputConfig_.dstWidth, outputConfig_.dstHeight); in FetchFrameYuv()
|