/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/ |
D | gstperspective.c | 91 GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (perspective, "perspective", 142 GstPerspective *perspective; in gst_perspective_set_property() local 147 perspective = GST_PERSPECTIVE_CAST (object); in gst_perspective_set_property() 149 GST_OBJECT_LOCK (perspective); in gst_perspective_set_property() 153 set_matrix_from_array (perspective, g_value_get_boxed (value)); in gst_perspective_set_property() 162 GST_OBJECT_UNLOCK (perspective); in gst_perspective_set_property() 169 GstPerspective *perspective; in gst_perspective_get_property() local 171 perspective = GST_PERSPECTIVE_CAST (object); in gst_perspective_get_property() 175 g_value_set_boxed (value, get_array_from_matrix (perspective)); in gst_perspective_get_property() 187 GstPerspective *perspective = GST_PERSPECTIVE_CAST (gt); in perspective_map() local [all …]
|
/third_party/skia/bench/ |
D | RotatedRectBench.cpp | 74 RotRectBench(bool aa, ColorType ct, SkBlendMode mode, bool perspective = false) in RotRectBench() argument 76 , fPerspective(perspective) in RotRectBench() 114 SkMatrix perspective; in onDraw() local 115 perspective.setIdentity(); in onDraw() 116 perspective.setPerspX(1e-4f); in onDraw() 117 perspective.setPerspY(1e-3f); in onDraw() 118 perspective.setSkewX(0.1f); in onDraw() 119 canvas->concat(perspective); in onDraw()
|
D | RectBench.cpp | 33 RectBench(int shift, int stroke = 0, bool aa = true, bool perspective = false) in RectBench() argument 37 , fPerspective(perspective) {} in RectBench() 90 SkMatrix perspective; in onDraw() local 91 perspective.setIdentity(); in onDraw() 92 perspective.setPerspX(1e-4f); in onDraw() 93 perspective.setPerspY(1e-3f); in onDraw() 94 perspective.setSkewX(0.1f); in onDraw() 95 canvas->concat(perspective); in onDraw() 166 LocalCoordsRectBench(bool aa, bool perspective = false) : INHERITED(1, 0, aa, perspective) { } in LocalCoordsRectBench() argument
|
D | GrQuadBench.cpp | 15 GrQuadBoundsBench(bool perspective) in GrQuadBoundsBench() argument 16 : fPerspective(perspective) { in GrQuadBoundsBench() 17 fName.printf("grquad_bounds_%s", perspective ? "3d" : "2d"); in GrQuadBoundsBench()
|
/third_party/skia/tests/ |
D | GrQuadCropTest.cpp | 217 SkMatrix perspective; in test_axis_aligned() local 218 perspective.setPerspY(0.001f); in test_axis_aligned() 219 perspective.setSkewX(8.f / 25.f); in test_axis_aligned() 220 test_axis_aligned_all_clips(r, viewMatrix, &perspective); in test_axis_aligned() 236 SkMatrix perspective; in test_crop_fully_covered() local 237 perspective.setPerspY(0.001f); in test_crop_fully_covered() 238 perspective.setSkewX(8.f / 25.f); in test_crop_fully_covered() 239 run_crop_fully_covered_test(r, GrAA::kNo, viewMatrix, &perspective); in test_crop_fully_covered() 240 run_crop_fully_covered_test(r, GrAA::kYes, viewMatrix, &perspective); in test_crop_fully_covered() 267 SkMatrix perspective; in TEST() local [all …]
|
D | GrQuadBufferTest.cpp | 50 SkMatrix perspective; in generate_quads() local 51 perspective.setPerspX(0.01f); in generate_quads() 52 perspective.setPerspY(0.001f); in generate_quads() 70 quad = GrQuad::MakeFromRect(rect, perspective); in generate_quads()
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/asm/frag/ |
D | pull-model-interpolation.asm.msl23.frag | 65 interpolant<float3, interpolation::perspective> bar [[user(locn1)]]; 66 interpolant<float2, interpolation::perspective> baz [[user(locn2)]]; 68 interpolant<float2, interpolation::perspective> a_0 [[user(locn4)]]; 69 interpolant<float2, interpolation::perspective> a_1 [[user(locn5)]]; 70 interpolant<float2, interpolation::perspective> b_0 [[user(locn6)]]; 71 interpolant<float2, interpolation::perspective> b_1 [[user(locn7)]]; 72 interpolant<float2, interpolation::perspective> c_0 [[user(locn8)]]; 73 interpolant<float2, interpolation::perspective> c_1 [[user(locn9)]]; 74 interpolant<float4, interpolation::perspective> m_13_x [[user(locn10)]]; 76 interpolant<float4, interpolation::perspective> m_13_z [[user(locn12)]]; [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/asm/frag/ |
D | pull-model-interpolation.asm.msl23.frag | 65 interpolant<float3, interpolation::perspective> bar [[user(locn1)]]; 66 interpolant<float2, interpolation::perspective> baz [[user(locn2)]]; 68 interpolant<float2, interpolation::perspective> a_0 [[user(locn4)]]; 69 interpolant<float2, interpolation::perspective> a_1 [[user(locn5)]]; 70 interpolant<float2, interpolation::perspective> b_0 [[user(locn6)]]; 71 interpolant<float2, interpolation::perspective> b_1 [[user(locn7)]]; 72 interpolant<float2, interpolation::perspective> c_0 [[user(locn8)]]; 73 interpolant<float2, interpolation::perspective> c_1 [[user(locn9)]]; 74 interpolant<float4, interpolation::perspective> m_13_x [[user(locn10)]]; 76 interpolant<float4, interpolation::perspective> m_13_z [[user(locn12)]]; [all …]
|
/third_party/skia/gm/ |
D | glyph_pos.cpp | 76 SkMatrix perspective; in draw_gm() local 77 perspective.setIdentity(); in draw_gm() 78 perspective.setPerspX(-SkScalarInvert(340)); in draw_gm() 79 perspective.setSkewX(8.0f / 25.0f); in draw_gm() 80 perspective.setSkewY(2.0f / 25.0f); in draw_gm() 82 canvas->concat(perspective); in draw_gm()
|
D | scaledemoji.cpp | 188 SkMatrix perspective; in onDraw() local 189 perspective.postTranslate(-600, -600); in onDraw() 190 perspective.postConcat(taper); in onDraw() 191 perspective.postRotate(rotate); in onDraw() 192 perspective.postTranslate(600, 600); in onDraw() 193 canvas->concat(perspective); in onDraw()
|
D | 3d.cpp | 31 SkM44 camera, perspective, viewport; in make_ctm() local 36 perspective = SkM44::Perspective(info.fNear, info.fFar, info.fAngle); in make_ctm() 40 return viewport * perspective * camera * model * inv(viewport); in make_ctm()
|
D | patharcto.cpp | 87 const SkMatrix perspective = SkMatrix::MakeAll(1, 0, 0, variable 110 path.addPath(path1, perspective, SkPath::kAppend_AddPathMode); 124 path.addPath(path1, perspective, SkPath::kExtend_AddPathMode);
|
D | gradients.cpp | 320 SkMatrix perspective; in onDraw() local 321 perspective.setIdentity(); in onDraw() 322 perspective.setPerspY(SkIntToScalar(i+1) / 500); in onDraw() 323 perspective.setSkewX(SkIntToScalar(i+1) / 10); in onDraw() 325 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, perspective)); in onDraw() 354 SkMatrix perspective; in onDraw() local 355 perspective.setIdentity(); in onDraw() 356 perspective.setPerspY(0.001f); in onDraw() 357 perspective.setSkewX(SkIntToScalar(8) / 25); in onDraw() 358 canvas->concat(perspective); in onDraw()
|
/third_party/skia/third_party/externals/tint/test/shader_io/ |
D | interpolate_input_parameters.wgsl.expected.wgsl | 2 …perspective, center)]] perspective_center : f32, [[location(3), interpolate(perspective, centroid)…
|
D | interpolate_input_parameters.wgsl | 5 [[location(2), interpolate(perspective, center)]] perspective_center : f32, 6 [[location(3), interpolate(perspective, centroid)]] perspective_centroid : f32, 7 [[location(4), interpolate(perspective, sample)]] perspective_sample : f32,
|
D | interpolate_input_struct.wgsl.expected.wgsl | 6 [[location(2), interpolate(perspective, center)]] 8 [[location(3), interpolate(perspective, centroid)]] 10 [[location(4), interpolate(perspective, sample)]]
|
D | interpolate_input_struct.wgsl | 4 [[location(2), interpolate(perspective, center)]] perspective_center : f32; 5 [[location(3), interpolate(perspective, centroid)]] perspective_centroid : f32; 6 [[location(4), interpolate(perspective, sample)]] perspective_sample : f32;
|
D | interpolate_return_struct.wgsl.expected.wgsl | 8 [[location(2), interpolate(perspective, center)]] 10 [[location(3), interpolate(perspective, centroid)]] 12 [[location(4), interpolate(perspective, sample)]]
|
D | interpolate_return_struct.wgsl | 5 [[location(2), interpolate(perspective, center)]] perspective_center : f32; 6 [[location(3), interpolate(perspective, centroid)]] perspective_centroid : f32; 7 [[location(4), interpolate(perspective, sample)]] perspective_sample : f32;
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/frag/ |
D | pull-interpolant-access-chain.msl23.frag | 54 interpolant<float4, interpolation::perspective> a_0 [[user(locn0)]]; 55 interpolant<float4, interpolation::perspective> a_1 [[user(locn1)]]; 56 interpolant<float4, interpolation::perspective> b_0 [[user(locn2)]]; 57 interpolant<float4, interpolation::perspective> b_1 [[user(locn3)]];
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | codegen.c | 84 f->imm.perspective = 3; in ppir_codegen_encode_varying() 91 f->imm.perspective = 1; in ppir_codegen_encode_varying() 97 switch (load->perspective) { in ppir_codegen_encode_varying() 99 f->imm.perspective = 0; in ppir_codegen_encode_varying() 102 f->imm.perspective = 2; in ppir_codegen_encode_varying() 105 f->imm.perspective = 3; in ppir_codegen_encode_varying() 120 f->reg.perspective = 1; in ppir_codegen_encode_varying() 123 switch (load->perspective) { in ppir_codegen_encode_varying() 125 f->reg.perspective = 0; in ppir_codegen_encode_varying() 128 f->reg.perspective = 2; in ppir_codegen_encode_varying() [all …]
|
D | disasm.c | 204 bool perspective = varying->imm.source_type < 2 && varying->imm.perspective; in print_varying() local 205 if (perspective) in print_varying() 208 switch (varying->imm.perspective) in print_varying() 242 switch (varying->imm.perspective) { in print_varying() 266 if (varying->imm.perspective) in print_varying()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_point.c | 113 boolean perspective) in texcoord_coef() argument 129 if (perspective) { in texcoord_coef() 149 if (perspective) { in texcoord_coef() 161 info->a0[slot][3] = perspective ? w0 : 1.0f; in texcoord_coef() 224 boolean perspective = !!(interp == LP_INTERP_PERSPECTIVE); in setup_point_coefficients() local 227 if (perspective && usage_mask) { in setup_point_coefficients() 267 perspective); in setup_point_coefficients() 277 if (perspective) { in setup_point_coefficients()
|
D | lp_linear_interp.c | 123 boolean perspective, in lp_linear_init_interp() argument 144 if (perspective && oow != 1.0f) { in lp_linear_init_interp() 232 boolean perspective, in lp_linear_init_interp() argument
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | matrix_decompose.inl | 42 // perspectiveMatrix is used to solve for perspective, but it also provides 54 // First, isolate perspective. This is the messiest. 73 // Clear the perspective partition 79 // No perspective.
|