Home
last modified time | relevance | path

Searched refs:fWidth (Results 1 - 25 of 29) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/test/fuzztest/gerender_fuzzer/
H A Dge_render_fuzzer.cpp47 float fWidth = GETest::GetPlainData<float>(); in GERenderFuzzTest001() local
49 Drawing::Rect src{fLeft, fTop, fWidth, fHeight}; in GERenderFuzzTest001()
73 float fWidth = GETest::GetPlainData<float>(); in GERenderFuzzTest002() local
75 Drawing::Rect src{fLeft, fTop, fWidth, fHeight}; in GERenderFuzzTest002()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_offscreen_canvas.cpp142 double fWidth = 0.0; in Constructor() local
153 if (napi_get_value_double(env, argv[0], &fWidth) == napi_ok) { in Constructor()
154 fWidth *= density; in Constructor()
155 workCanvas->SetWidth(fWidth); in Constructor()
162 static_cast<int32_t>(fWidth), static_cast<int32_t>(fHeight)); in Constructor()
239 double fWidth = GetWidth(); in OnGetWidth() local
241 fWidth /= density; in OnGetWidth()
243 napi_create_double(env, fWidth, &width); in OnGetWidth()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dpoints_mask_filter.cpp50 float fWidth = 10.0f; in OnTestFunction() local
65 OH_Drawing_PenSetWidth(pen, fWidth); in OnTestFunction()
H A Dstroke_rect_shader.cpp33 float fWidth = 10.f; in drawRect() local
39 OH_Drawing_PenSetWidth(pen, fWidth); in drawRect()
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_motion_blur.cpp223 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in Execute() local
225 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, {} }; in Execute()
261 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteTileVelocity() local
263 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, {} }; in ExecuteTileVelocity()
H A Drender_copy.cpp146 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in Execute() local
148 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in Execute()
H A Drender_node_back_buffer.cpp52 const float fWidth = static_cast<float>(dstImageDesc.width); in FillPushConstant() local
55 pushData.texSizeInvTexSize[0u] = fWidth; in FillPushConstant()
57 pushData.texSizeInvTexSize[2u] = 1.0f / fWidth; in FillPushConstant()
H A Drender_node_single_post_process.cpp349 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteSinglePostProcess() local
351 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteSinglePostProcess()
366 const float fWidth = static_cast<float>(targetSize.x); in ExecuteSinglePostProcess() local
368 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteSinglePostProcess()
H A Drender_node_mip_chain_post_process.cpp357 const float fWidth = static_cast<float>(width); in RenderGraphics() local
395 cmdList.SetDynamicStateViewport(ViewportDesc { 0.0f, 0.0f, fWidth, fHeight, 0.0f, 0.0f }); in RenderGraphics()
410 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in RenderGraphics()
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/
H A Dskia_image_data.cpp106 imageSize.SetSizeT(SizeF(codec->dimensions().fHeight, codec->dimensions().fWidth)); in Parse()
109 imageSize.SetSizeT(SizeF(codec->dimensions().fWidth, codec->dimensions().fHeight)); in Parse()
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/custom/
H A Dlume_custom_render.cpp204 auto fWidth = static_cast<float>(width); in OnSizeChange() local
206 if ((buffer[0] == fWidth) && (buffer[1] == fHeight)) { in OnSizeChange()
210 WIDGET_LOGD("update custom shader resolution %f X %f", fWidth, fHeight); in OnSizeChange()
211 resolutionBuffer_.Update(fWidth, 0U); in OnSizeChange()
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/rosen/
H A Ddrawing_image_data.cpp152 imageSize.SetSizeT(SizeF(codec->dimensions().fHeight, codec->dimensions().fWidth)); in Parse()
155 imageSize.SetSizeT(SizeF(codec->dimensions().fWidth, codec->dimensions().fHeight)); in Parse()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_shadows_blur.cpp182 const float fWidth = static_cast<float>(tempImage.width); in ProcessSingleShadow() local
184 const Math::Vec4 texSizeInvTexSize = { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }; in ProcessSingleShadow()
186 const ViewportDesc viewport { 0.0f, 0.0f, fWidth, fHeight, 0.0f, 1.0f }; in ProcessSingleShadow()
H A Drender_node_camera_single_post_process.cpp358 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteSinglePostProcess() local
360 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteSinglePostProcess()
375 const float fWidth = static_cast<float>(targetSize.x); in ExecuteSinglePostProcess() local
377 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteSinglePostProcess()
H A Drender_node_camera_cubemap.cpp295 const float fWidth = static_cast<float>(currSize.x); in ExecuteSinglePostProcess() local
297 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteSinglePostProcess()
H A Drender_node_default_material_deferred_shading.cpp212 const float fWidth = static_cast<float>(renderPass_.renderPassDesc.renderArea.extentWidth); in RenderData() local
214 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in RenderData()
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_post_process_util.cpp558 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteCombine() local
560 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, {} }; in ExecuteCombine()
668 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteTAA() local
670 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteTAA()
747 const float fWidth = static_cast<float>(rp.renderPassDesc.renderArea.extentWidth); in ExecuteDofBlur() local
749 const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, {} }; in ExecuteDofBlur()
810 const float fWidth in ExecuteDof() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dtypography.cpp276 return lines[lineNumber].fWidth; in GetLineWidth()
340 lineMetrics->width = sklineMetrics.fWidth; in GetLineInfo()
378 line.width = skLineMetrics.fWidth; in GetLineMetrics()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dcanvas_renderer.h102 std::unique_ptr<ImageData> GetImageData(double fLeft, double fTop, double fWidth, double fHeight);
/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_object.cpp125 imageSize.SetSize(Size(codec->dimensions().fHeight, codec->dimensions().fWidth)); in BuildImageObject()
128 imageSize.SetSize(Size(codec->dimensions().fWidth, codec->dimensions().fHeight)); in BuildImageObject()
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/
H A Dparagraph_builder_test.cpp125 EXPECT_EQ(builder->fPlaceholders[0].fStyle.fWidth, placeholderRunDefault.width); in HWTEST_F()
127 EXPECT_EQ(builder->fPlaceholders[1].fStyle.fWidth, placeholderRun.width); in HWTEST_F()
/foundation/multimedia/media_foundation/video_processing_engine/framework/algorithm/detail_enhancer/skia/
H A Dskia_impl.cpp163 imageSize.fWidth = buffer->GetWidth(); in CreateYUVPixmap()
164 if (imageSize.fWidth <= 0) { in CreateYUVPixmap()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/
H A Drender_node_scene_util.cpp88 const float fWidth = static_cast<float>(renderArea.extentWidth); in UpdateRenderArea() local
91 const float offsetX = (fWidth * scissor.x); in UpdateRenderArea()
93 const float extentWidth = (fWidth * scissor.z); in UpdateRenderArea()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsproperty_fuzzer/
H A Drsproperty_fuzzer.cpp308 float fWidth = GetData<float>(); in RSPropertiesPainterFuzzTest() local
310 RectF rect(fLeft, fTop, fWidth, fHeight); in RSPropertiesPainterFuzzTest()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_canvas_ffi.h177 int64_t contextId, double fLeft, double fTop, double fWidth, double fHeight);

Completed in 17 milliseconds

12