Home
last modified time | relevance | path

Searched refs:srcH (Results 1 - 9 of 9) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image.cpp177 float srcH; member
188 tempRectF.SetAll(0.f, 0.f, imageParameter.srcW, imageParameter.srcH); in ApplyImageFitSwitch()
191 tempRectF.SetAll(0.f, 0.f, imageParameter.srcW, imageParameter.srcH); in ApplyImageFitSwitch()
195 imageParameter.srcW, imageParameter.srcH); in ApplyImageFitSwitch()
198 tempRectF.SetAll(imageParameter.dstW - imageParameter.srcW, 0.f, imageParameter.srcW, imageParameter.srcH); in ApplyImageFitSwitch()
201 tempRectF.SetAll(0.f, (imageParameter.dstH - imageParameter.srcH) / CENTER_ALIGNED_FACTOR, in ApplyImageFitSwitch()
202 imageParameter.srcW, imageParameter.srcH); in ApplyImageFitSwitch()
206 (imageParameter.dstH - imageParameter.srcH) / CENTER_ALIGNED_FACTOR, in ApplyImageFitSwitch()
207 imageParameter.srcW, imageParameter.srcH); in ApplyImageFitSwitch()
211 (imageParameter.dstH - imageParameter.srcH) / CENTER_ALIGNED_FACTO in ApplyImageFitSwitch()
277 const float srcH = srcRect_.height_ / scale_; ApplyImageFit() local
[all...]
/foundation/multimedia/image_effect/frameworks/native/render_environment/base/math/
H A Drender_roi.h28 RenderROI(int srcW, int srcH, double roiL, double roiR, double roiB, double roiT) in RenderROI() argument
29 : w(srcW), h(srcH), l(roiL), r(roiR), b(roiB), t(roiT) in RenderROI()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dpixel_yuv_ext_utils.cpp81 bool PixelYuvExtUtils::BGRAToYuv420(const uint8_t *src, uint8_t *dst, int srcW, int srcH, in BGRAToYuv420() argument
90 info.uvStride, srcW, srcH); in BGRAToYuv420()
95 info.uvStride, srcW, srcH); in BGRAToYuv420()
157 size.srcW, size.srcH, rotateNum) == -1) { in NV12Rotate()
178 std::unique_ptr<uint16_t[]> dstPixels = std::make_unique<uint16_t[]>(GetImageSize(info.yStride, size.srcH)); in NV12P010Rotate()
184 uint16_t* dstU = dstPixels.get() + GetYSize(info.yStride, size.srcH); in NV12P010Rotate()
185 uint16_t* dstV = dstPixels.get() + GetVOffset(info.yStride, size.srcH); in NV12P010Rotate()
189 dstV, GetUStride(info.yStride), size.srcW, size.srcH) == -1) { in NV12P010Rotate()
194 std::unique_ptr<uint16_t[]> rotatePixels = std::make_unique<uint16_t[]>(GetImageSize(size.srcW, size.srcH)); in NV12P010Rotate()
201 rotateV, GetUStride(size.dstW), size.srcW, size.srcH, rotateNu in NV12P010Rotate()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/
H A Dpixel_yuv_ext_utils.h40 static bool BGRAToYuv420(const uint8_t *src, uint8_t *dst, int srcW, int srcH,
H A Dpixel_yuv_utils.h50 int32_t srcH = 0; member
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_yuv.cpp471 int32_t srcH = imageInfo_.size.height; in flip() local
475 auto dstMemory = CreateMemory(imageInfo_.pixelFormat, "flip ImageData", srcW, srcH, dstStrides); in flip()
483 YuvImageInfo srcInfo = {PixelYuvUtils::ConvertFormat(format), srcW, srcH, imageInfo_.pixelFormat, yuvDataInfo}; in flip()
484 YuvImageInfo dstInfo = {PixelYuvUtils::ConvertFormat(format), srcW, srcH, imageInfo_.pixelFormat, yuvDataInfo}; in flip()
500 UpdateYUVDataInfo(format, srcW, srcH, dstStrides); in flip()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dpixel_yuv_ext_utils_test.cpp90 size.srcH = 1; in HWTEST_F()
/foundation/multimodalinput/input/util/common/include/
H A Dstruct_multimodal.h449 int32_t srcH {};
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dmesh_builder.cpp226 constexpr auto srcH = std::numeric_limits<T>::max(); variable
228 auto round = v >= 0 ? (srcH - 1) : (-srcH + 1); in onstexpr()
229 return static_cast<U>(((static_cast<int32_t>(v) * dstH) + round) / srcH); in onstexpr()
231 return static_cast<U>(((static_cast<uint32_t>(v) * dstH) + (srcH - 1)) / srcH);

Completed in 10 milliseconds