Home
last modified time | relevance | path

Searched refs:scaleW (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_foreground_effect_filter.cpp158 float scaleW = static_cast<float>(std::ceil(width * blurScale_)) / image->GetWidth(); in ApplyForegroundEffect() local
160 blurMatrix.PostScale(scaleW, scaleH); in ApplyForegroundEffect()
189 if (ROSEN_EQ(scaleW, 0.0f) || ROSEN_EQ(scaleH, 0.0f)) { in ApplyForegroundEffect()
193 blurMatrixInv.PostScale(1 / scaleW, 1 / scaleH); in ApplyForegroundEffect()
H A Drs_hps_blur.cpp30 Drawing::Matrix HpsBlurFilter::GetShaderTransform(const Drawing::Rect& blurRect, float scaleW, floa… in GetShaderTransform() argument
33 matrix.SetScale(scaleW, scaleH); in GetShaderTransform()
H A Drs_kawase_blur.cpp180 float scaleW, float scaleH) in GetShaderTransform() argument
183 matrix.SetScale(scaleW, scaleH); in GetShaderTransform()
223 float scaleW = dst.GetWidth() / image->GetWidth(); in OutputOriginalImage() local
226 inputMatrix.PostScale(scaleW, scaleH); in OutputOriginalImage()
298 float scaleW = static_cast<float>(scaledInfo.GetWidth()) / input->GetWidth(); in ExecutePingPongBlur() local
300 blurMatrix.PostScale(scaleW, scaleH); in ExecutePingPongBlur()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/src/
H A Dge_mesa_blur_shader_filter.cpp478 float scaleW = static_cast<float>(scaleWidth) / (width > 0 ? width : 1); in BuildMatrix() local
483 blurMatrix.PostScale(scaleW, scaleH); in BuildMatrix()
492 auto scaleW = static_cast<float>(scaledInfo.GetWidth()) / (width > 0 ? width : 1); in BuildMiddleMatrix() local
495 blurMatrixA.SetScale(scaleW, scaleH); in BuildMiddleMatrix()
503 …float scaleW = static_cast<float>((dst.GetWidth() - offsetX_ - offsetZ_)) / (imageWidth > 0 ? imag… in BuildStretchMatrixFull() local
506 matrix.PostScale(scaleW, scaleH); in BuildStretchMatrixFull()
519 …float scaleW = static_cast<float>((imageWidth - offsetX_ - offsetZ_)) / (imageWidth > 0 ? imageWid… in BuildStretchMatrix() local
522 matrix.PostScale(scaleW, scaleH); in BuildStretchMatrix()
728 float scaleW = static_cast<float>(dst.GetWidth()) / blurImage->GetWidth(); in ScaleAndAddRandomColor() local
730 scaleMatrix.SetScale(scaleW, scaleH); in ScaleAndAddRandomColor()
H A Dge_kawase_blur_shader_filter.cpp269 float scaleW = static_cast<float>(scaleWidth) / (width > 0 ? width : 1); in BuildMatrix() local
274 blurMatrix.PostScale(scaleW, scaleH); in BuildMatrix()
396 const Drawing::Canvas* canvas, const Drawing::Rect& blurRect, float scaleW, float scaleH) in GetShaderTransform() argument
399 matrix.SetScale(scaleW, scaleH); in GetShaderTransform()
437 float scaleW = dst.GetWidth() / width; in OutputOriginalImage() local
440 inputMatrix.PostScale(scaleW, scaleH); in OutputOriginalImage()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_hps_blur.h41 …static Drawing::Matrix GetShaderTransform(const Drawing::Rect& blurRect, float scaleW = 1.0f, floa…
H A Drs_kawase_blur.h64 float scaleW = 1.0f, float scaleH = 1.0f);
/ohos5.0/foundation/window/window_manager/utils/include/
H A Dsurface_draw.h43 …std::shared_ptr<Media::PixelMap>& pixelMap, int32_t timeoutMs, float scaleW = 0.5, float scaleH = …
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/include/
H A Dge_kawase_blur_shader_filter.h44 …const Drawing::Canvas* canvas, const Drawing::Rect& blurRect, float scaleW = 1.0f, float scaleH = …
/ohos5.0/foundation/window/window_manager/utils/src/
H A Dsurface_draw.cpp354 std::shared_ptr<Media::PixelMap>&pixelMap, int32_t timeoutMs, float scaleW, float scaleH) in GetSurfaceSnapshot() argument
363 .scaleX = scaleW, in GetSurfaceSnapshot()