/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_surface.c | 969 struct ureg_src scale; in nv50_blitter_make_fp() local 981 scale = ureg_imm4f(ureg, in nv50_blitter_make_fp() 1000 ureg_MUL(ureg, outs, ssrc, ureg_scalar(scale, TGSI_SWIZZLE_X)); in nv50_blitter_make_fp() 1004 ureg_MUL(ureg, zdst, zsrc, ureg_scalar(scale, TGSI_SWIZZLE_W)); in nv50_blitter_make_fp() 1008 ureg_MUL(ureg, zdst3, zsrc3, scale); in nv50_blitter_make_fp() 1452 * arranged in a way to yield the desired offset and scale. in nv50_blit_3d()
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | interpreter-generator.cc | 45 Bytecode bytecode, OperandScale scale) \ 46 : BaseAssembler(state, bytecode, scale) {} \ 50 OperandScale scale); \ 56 OperandScale scale) { \ 57 Name##Assembler assembler(state, Bytecode::k##Name, scale); \
|
/third_party/skia/dm/ |
H A D | DMSrcSink.cpp | 158 static SkString get_scaled_name(const Path& path, float scale) { in get_scaled_name() argument 159 return SkStringPrintf("%s_%.3f", SkOSPath::Basename(path.c_str()).c_str(), scale); in get_scaled_name() 355 float scale) in CodecSrc() 360 , fScale(scale) in CodecSrc() 450 // Try to scale the image if it is desired in draw() 747 // And scale in draw() 1321 // Used to force-scale tiny fixed-size images. 1359 canvas->scale(fScale, fScale); in draw() 2265 // Undoes any flip or 90 degree rotate without changing the scale of the bitmap. 354 CodecSrc(Path path, Mode mode, DstColorType dstColorType, SkAlphaType dstAlphaType, float scale) CodecSrc() argument
|
/third_party/node/deps/v8/src/compiler/backend/x64/ |
H A D | instruction-selector-x64.cc | 220 m.index(), m.scale(), m.base(), m.displacement(), in GetEffectiveAddressMemoryOperand() 226 // modes for the scale. in GetEffectiveAddressMemoryOperand() 227 return GenerateMemoryOperandInputs(m.index(), m.scale(), m.displacement(), in GetEffectiveAddressMemoryOperand() 984 Node* result, Node* index, int scale, Node* base, in EmitLea() 991 g.GenerateMemoryOperandInputs(index, scale, base, displacement, in EmitLea() 1012 EmitLea(this, kX64Lea32, node, index, m.scale(), base, nullptr, in VisitWord32Shl() 1025 EmitLea(this, kX64Lea, node, index, m.scale(), base, nullptr, in VisitWord64Shl() 1223 EmitLea(this, kX64Lea32, node, m.index(), m.scale(), m.base(), in VisitInt32Add() 1239 EmitLea(this, kX64Lea, node, m.index(), m.scale(), m.base(), in VisitInt64Add() 1383 EmitLea(this, kX64Lea32, node, index, m.scale(), bas in VisitInt32Mul() 983 EmitLea(InstructionSelector* selector, InstructionCode opcode, Node* result, Node* index, int scale, Node* base, Node* displacement, DisplacementMode displacement_mode) EmitLea() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_cmdstream.c | 734 /* Derive min/max from translate/scale. Note since |x| >= 0 by in panfrost_emit_viewport() 735 * definition, we have that -|x| <= |x| hence translate - |scale| <= in panfrost_emit_viewport() 736 * translate + |scale|, so the ordering is correct here. */ in panfrost_emit_viewport() 737 float vp_minx = vp->translate[0] - fabsf(vp->scale[0]); in panfrost_emit_viewport() 738 float vp_maxx = vp->translate[0] + fabsf(vp->scale[0]); in panfrost_emit_viewport() 739 float vp_miny = vp->translate[1] - fabsf(vp->scale[1]); in panfrost_emit_viewport() 740 float vp_maxy = vp->translate[1] + fabsf(vp->scale[1]); in panfrost_emit_viewport() 741 float minz = (vp->translate[2] - fabsf(vp->scale[2])); in panfrost_emit_viewport() 742 float maxz = (vp->translate[2] + fabsf(vp->scale[2])); in panfrost_emit_viewport() 1057 uniform->f[0] = vp->scale[ in panfrost_upload_viewport_scale_sysval() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_abstract.cpp | 613 NG::ScaleOptions scale(1.0f, 1.0f, 1.0f, 0.5_pct, 0.5_pct); in ParseChainedScaleTransition() 614 ParseJsScale(effectOption, scale.xScale, scale.yScale, scale.zScale, scale.centerX, scale.centerY); in ParseChainedScaleTransition() 615 return AceType::MakeRefPtr<NG::ChainedScaleEffect>(scale); in ParseChainedScaleTransition() 684 { "scale", ParseChainedScaleTransition }, in ParseChainedTransition() 1642 double scale = 0.0; in JsScale() local 1643 if (ParseJsDouble(jsVal, scale)) { in JsScale() 2833 double scale = jsOption->GetProperty("scale")->ToNumber<double>(); ParseBlurStyleOption() local 3034 double scale = jsOption->GetProperty("scale")->ToNumber<double>(); JsForegroundBlurStyle() local [all...] |
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/ |
H A D | inner_model_test.cpp | 1437 std::vector<float> scale; in HWTEST_F() local 1447 void* primitive = mindspore::lite::MindIR_DetectionPostProcess_CreatePrimitive(format, inputSize, scale, in HWTEST_F() 1523 float scale {1.0f}; in HWTEST_F() 1525 void* primitive = mindspore::lite::MindIR_ExpFusion_CreatePrimitive(base, scale, shift); in HWTEST_F() 2220 float scale {1.0f}; in HWTEST_F() 2222 void* primitive = mindspore::lite::MindIR_PowFusion_CreatePrimitive(scale, shift); in HWTEST_F()
|
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_manager/ |
H A D | device_manager_test.cpp | 580 std::vector<float> scale; in HWTEST_F() local 590 void* primitive = mindspore::lite::MindIR_DetectionPostProcess_CreatePrimitive(format, inputSize, scale, in HWTEST_F() 666 float scale {1.0f}; in HWTEST_F() 668 void* primitive = mindspore::lite::MindIR_ExpFusion_CreatePrimitive(base, scale, shift); in HWTEST_F() 1363 float scale {1.0f}; in HWTEST_F() 1365 void* primitive = mindspore::lite::MindIR_PowFusion_CreatePrimitive(scale, shift); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_resource_manager.cpp | 253 bool scale = false; in GetScalingImageNeed() local 257 scale = (copies[0].width != desc.width) || (copies[0].height != desc.height); in GetScalingImageNeed() 260 return scale; in GetScalingImageNeed() 265 bool scale = false; in GetScalingImageNeed() local 269 scale = (copies[0].imageExtent.width != desc.width) || (copies[0].imageExtent.height != desc.height); in GetScalingImageNeed() 272 return scale; in GetScalingImageNeed()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | jpg_yuv_test.cpp | 365 pixelMap->scale(imageSize.dstWidth, imageSize.dstHeight, option); in ScaleYuv420() 377 std::string outpath = IMAGE_OUTPUT_JPG_PATH + "scale/"; in ScaleYuv420() 724 srcPixelMap->scale(imageSize.dstWidth, imageSize.dstHeight, option); in ScaleYuv420P010() 960 srcPixelMap->scale(imageSize.dstWidth, imageSize.dstHeight, option); in RGBA1010102Scale() 1238 float scale = 0.875; in HWTEST_F() local 1239 int outwidth = TREE_ORIGINAL_WIDTH * scale; in HWTEST_F() 1240 int outheight = TREE_ORIGINAL_HEIGHT * scale; in HWTEST_F() 1365 std::filesystem::path dir("scale"); in HWTEST_F() 1655 std::filesystem::path dir("scale"); in HWTEST_F() 1802 std::filesystem::path dir("scale"); in HWTEST_F() [all...] |
/third_party/mesa3d/src/vulkan/overlay-layer/ |
H A D | overlay.cpp | 1287 /* Setup scale and translation through push constants : in render_swapchain_display() 1293 float scale[2]; in render_swapchain_display() local 1294 scale[0] = 2.0f / draw_data->DisplaySize.x; in render_swapchain_display() 1295 scale[1] = 2.0f / draw_data->DisplaySize.y; in render_swapchain_display() 1297 translate[0] = -1.0f - draw_data->DisplayPos.x * scale[0]; in render_swapchain_display() 1298 translate[1] = -1.0f - draw_data->DisplayPos.y * scale[1]; in render_swapchain_display() 1301 sizeof(float) * 0, sizeof(float) * 2, scale); in render_swapchain_display() 1497 /* Constants: we are using 'vec2 offset' and 'vec2 scale' instead of a full in setup_swapchain_data_pipeline()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | PixelProgram.cpp | 1111 Int4 index = Int4(i) + As<Int4>(a) * Int4(src.rel.scale); in readConstant() 1140 return As<Int>(Extract(r[rel.index].x, 0)) * rel.scale; in relativeAddress() 1144 return As<Int>(Extract(v[rel.index].x, 0)) * rel.scale; in relativeAddress() 1148 return As<Int>(Extract(oC[rel.index].x, 0)) * rel.scale; in relativeAddress() 1152 return *Pointer<Int>(uniformAddress(bufferIndex, rel.index)) * rel.scale; in relativeAddress() 1184 return As<Int4>(a) * Int4(rel.scale); in dynamicAddress()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuAstcUtil.cpp | 825 deInt32 scale = (deInt32)getBits(v3, 0, 4); 842 deInt32& S = scale; 866 scale <<= shiftAmounts[mode]; 879 e0 = UVec4(de::clamp(red - scale, 0, 0xfff), 880 de::clamp(green - scale, 0, 0xfff), 881 de::clamp(blue - scale, 0, 0xfff),
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | overlay_manager.cpp | 330 // reverse scale in UpdateHoverImageDisappearScaleAndPosition() 425 // menuScale default value is 1.0f, only update menu scale with not the default value in UpdateContextMenuDisappearPositionAnimation() 449 // reverse scale in ContextMenuSwitchDragPreviewScaleAnimationProc() 512 // update custom preview scale and position in ContextMenuSwitchDragPreviewAnimationProc() 869 // scale animation on dialog content in OpenDialogAnimation() 924 // scale animation in CloseDialogAnimation() 5639 float scale = PIXELMAP_DRAG_SCALE; in RemovePixelMapAnimation() local 5640 UpdatePixelMapScale(scale); in RemovePixelMapAnimation() 5697 [imageContext, startDrag, x, y, width, height, scale, coordinateX, coordinateY]() { in RemovePixelMapAnimation() 5700 Dimension(x - (x - coordinateX) * scale in RemovePixelMapAnimation() 5733 UpdatePixelMapScale(float& scale) UpdatePixelMapScale() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fGeometryShaderTests.cpp | 2035 const float scale = 0.3f; in genVertexAttribData() local 2039 m_vertexPosData[ 0] = tcu::Vec4( 0, 0, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 2040 m_vertexPosData[ 1] = tcu::Vec4(-1, -1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 2041 m_vertexPosData[ 2] = tcu::Vec4( 0, -1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 2042 m_vertexPosData[ 3] = tcu::Vec4( 1, 1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 2043 m_vertexPosData[ 4] = tcu::Vec4( 1, 0, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 2044 m_vertexPosData[ 5] = tcu::Vec4( 0, -2, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 2045 m_vertexPosData[ 6] = tcu::Vec4( 1, -1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 2046 m_vertexPosData[ 7] = tcu::Vec4( 2, 1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 2047 m_vertexPosData[ 8] = tcu::Vec4( 2, 0, 0.0f, 0.0f) * scale in genVertexAttribData() [all...] |
/foundation/ai/ai_engine/services/server/plugin/asr/keyword_spotting/source/ |
H A D | kws_plugin.cpp | 345 normConfig.scale = DEFAULT_NORM_SCALE;
in InitComponents()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.h | 365 const float width, const double dx, const double dy, const std::optional<double> scale, RSSaveLayerOps* slo);
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_gesture_ffi.cpp | 91 ffiGestureEvent.scale = event.GetScale(); in FormatGestureEvenFunction()
|
H A D | cj_view_abstract_ffi.h | 237 CJ_EXPORT void FfiOHOSAceFrameworkViewAbstractSetScaleSingle(float scale);
|
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | transform_util_test.cpp | 169 .append("scale: ") in HWTEST_F() 358 EXPECT_EQ(out.scale[0] == 0.0f, true); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tabs_node.cpp | 248 jsonBlurStyle->Put("scale", styleOption.scale); in GetBarBackgroundBlurStyleOptions()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_model.h | 96 virtual void InitialScale(float scale) = 0;
|
H A D | web_model_ng.h | 99 void InitialScale(float scale) override;
|
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/ |
H A D | pixel_map.h | 92 NATIVEEXPORT void scale(float xAxis, float yAxis);
|
/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
H A D | scene_session_manager_interface.h | 232 void SetAnchorAndScale(int32_t x, int32_t y, float scale) override {}
|