/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11shader.cpp | 260 GstD3D11Quad *quad; in gst_d3d11_quad_new() local 272 quad = g_new0 (GstD3D11Quad, 1); in gst_d3d11_quad_new() 274 quad->device = (GstD3D11Device *) gst_object_ref (device); in gst_d3d11_quad_new() 275 quad->ps = pixel_shader; in gst_d3d11_quad_new() 276 quad->vs = vertex_shader; in gst_d3d11_quad_new() 277 quad->layout = layout; in gst_d3d11_quad_new() 278 quad->vertex_buffer = vertex_buffer; in gst_d3d11_quad_new() 279 quad->vertex_stride = vertex_stride; in gst_d3d11_quad_new() 280 quad->index_buffer = index_buffer; in gst_d3d11_quad_new() 281 quad->index_format = index_format; in gst_d3d11_quad_new() [all …]
|
/third_party/skia/tests/ |
D | GrQuadCropTest.cpp | 29 DrawQuad quad = {GrQuad::MakeFromRect(kDrawRect, viewMatrix), in run_crop_axis_aligned_test() local 33 bool exact = GrQuadUtils::CropToRect(clipRect, clipAA, &quad, /* calc. locals */ !!localMatrix); in run_crop_axis_aligned_test() 35 ASSERTF(quad.fDevice.quadType() == GrQuad::Type::kAxisAligned, in run_crop_axis_aligned_test() 42 SkRect actualBounds = quad.fDevice.bounds(); in run_crop_axis_aligned_test() 56 SkPoint expectedPoint = quad.fDevice.point(p); in run_crop_axis_aligned_test() 58 SkPoint actualPoint = quad.fLocal.point(p); in run_crop_axis_aligned_test() 70 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kLeft, "Expected left edge AA set"); in run_crop_axis_aligned_test() 72 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kLeft), "Expected left edge AA unset"); in run_crop_axis_aligned_test() 77 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kRight, "Expected right edge AA set"); in run_crop_axis_aligned_test() 79 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kRight), "Expected right edge AA unset"); in run_crop_axis_aligned_test() [all …]
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 18 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() argument 30 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect() 39 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect() 41 intersections.intersect(quad, line); in doIntersect() 47 static void testLineIntersect(skiatest::Reporter* reporter, const SkDQuad& quad, in testLineIntersect() argument 50 pathStr.appendf(" path.moveTo(%1.9g, %1.9g);\n", quad[0].fX, quad[0].fY); in testLineIntersect() 51 pathStr.appendf(" path.quadTo(%1.9g, %1.9g, %1.9g, %1.9g);\n", quad[1].fX, in testLineIntersect() 52 quad[1].fY, quad[2].fX, quad[2].fY); in testLineIntersect() 58 int result = doIntersect(intersections, quad, line, flipped); in testLineIntersect() 62 SkDPoint quadXY = quad.ptAtT(quadT); in testLineIntersect() [all …]
|
D | PathOpsQuadLineIntersectionTest.cpp | 18 QuadPts quad; member 33 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() argument 45 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect() 54 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect() 56 intersections.intersect(quad, line); in doIntersect() 63 QuadPts quad; member 86 const QuadPts& q = oneOffs[index].quad; in testOneOffs() 87 SkDQuad quad; in testOneOffs() local 88 quad.debugSet(q.fPts); in testOneOffs() 89 SkASSERT(ValidQuad(quad)); in testOneOffs() [all …]
|
D | PathOpsQuadReduceOrderTest.cpp | 23 SkDQuad quad; in oneOffTest() local 24 quad.debugSet(q.fPts); in oneOffTest() 26 SkDEBUGCODE(int result = ) reducer.reduce(quad); in oneOffTest() 53 SkDQuad quad; in standardTestCases() local 54 quad.debugSet(q.fPts); in standardTestCases() 55 order = reducer.reduce(quad); in standardTestCases() 62 SkDQuad quad; in standardTestCases() local 63 quad.debugSet(q.fPts); in standardTestCases() 64 order = reducer.reduce(quad); in standardTestCases()
|
D | StrokerTest.cpp | 238 SkPoint quad[3]; in DEF_TEST() local 239 quad[0].fX = r.nextRangeF(0, 500); in DEF_TEST() 240 quad[0].fY = r.nextRangeF(0, 500); in DEF_TEST() 243 quad[1].fX = r.nextRangeF(0, 500); in DEF_TEST() 244 quad[1].fY = r.nextRangeF(0, 500); in DEF_TEST() 245 } while (SkPointPriv::DistanceToSqd(quad[0], quad[1]) < halfSquared); in DEF_TEST() 247 quad[2].fX = r.nextRangeF(0, 500); in DEF_TEST() 248 quad[2].fY = r.nextRangeF(0, 500); in DEF_TEST() 249 } while (SkPointPriv::DistanceToSqd(quad[0], quad[2]) < halfSquared in DEF_TEST() 250 || SkPointPriv::DistanceToSqd(quad[1], quad[2]) < halfSquared); in DEF_TEST() [all …]
|
/third_party/flutter/skia/src/pathops/ |
D | SkReduceOrder.cpp | 17 static int coincident_line(const SkDQuad& quad, SkDQuad& reduction) { in coincident_line() argument 18 reduction[0] = reduction[1] = quad[0]; in coincident_line() 26 static int vertical_line(const SkDQuad& quad, SkDQuad& reduction) { in vertical_line() argument 27 reduction[0] = quad[0]; in vertical_line() 28 reduction[1] = quad[2]; in vertical_line() 32 static int horizontal_line(const SkDQuad& quad, SkDQuad& reduction) { in horizontal_line() argument 33 reduction[0] = quad[0]; in horizontal_line() 34 reduction[1] = quad[2]; in horizontal_line() 38 static int check_linear(const SkDQuad& quad, in check_linear() argument 40 if (!quad.isLinear(0, 2)) { in check_linear() [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsFragmentOpUtil.cpp | 177 void QuadRenderer::render (const Quad& quad) const in render() 181 quad.posA.x(), quad.posA.y(), quad.depth[0], 1.0f, in render() 182 quad.posA.x(), quad.posB.y(), quad.depth[1], 1.0f, in render() 183 quad.posB.x(), quad.posA.y(), quad.depth[2], 1.0f, in render() 184 quad.posB.x(), quad.posB.y(), quad.depth[3], 1.0f in render() 189 DE_STATIC_ASSERT(sizeof(quad.color) == sizeof(float)*4*4); in render() 190 DE_STATIC_ASSERT(sizeof(quad.color1) == sizeof(float)*4*4); in render() 195 vertexArrays.push_back(glu::va::Float(m_colorLoc, 4, 4, 0, (const float*)&quad.color[0])); in render() 198 vertexArrays.push_back(glu::va::Float(m_color1Loc, 4, 4, 0, (const float*)&quad.color1[0])); in render() 226 const IntegerQuad& quad, in render() argument [all …]
|
/third_party/skia/src/pathops/ |
D | SkReduceOrder.cpp | 17 static int coincident_line(const SkDQuad& quad, SkDQuad& reduction) { in coincident_line() argument 18 reduction[0] = reduction[1] = quad[0]; in coincident_line() 26 static int vertical_line(const SkDQuad& quad, SkDQuad& reduction) { in vertical_line() argument 27 reduction[0] = quad[0]; in vertical_line() 28 reduction[1] = quad[2]; in vertical_line() 32 static int horizontal_line(const SkDQuad& quad, SkDQuad& reduction) { in horizontal_line() argument 33 reduction[0] = quad[0]; in horizontal_line() 34 reduction[1] = quad[2]; in horizontal_line() 38 static int check_linear(const SkDQuad& quad, in check_linear() argument 40 if (!quad.isLinear(0, 2)) { in check_linear() [all …]
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_pipe.c | 35 insert_stage_at_head(struct softpipe_context *sp, struct quad_stage *quad) in insert_stage_at_head() argument 37 quad->next = sp->quad.first; in insert_stage_at_head() 38 sp->quad.first = quad; in insert_stage_at_head() 54 sp->quad.first = sp->quad.blend; in sp_build_quad_pipeline() 58 insert_stage_at_head( sp, sp->quad.shade ); in sp_build_quad_pipeline() 59 insert_stage_at_head( sp, sp->quad.depth_test ); in sp_build_quad_pipeline() 62 insert_stage_at_head( sp, sp->quad.depth_test ); in sp_build_quad_pipeline() 63 insert_stage_at_head( sp, sp->quad.shade ); in sp_build_quad_pipeline() 68 insert_stage_at_head( sp, sp->quad.pstipple ); in sp_build_quad_pipeline()
|
D | sp_setup.c | 97 struct quad_header quad[MAX_QUADS]; member 129 quad_clip(struct setup_context *setup, struct quad_header *quad) in quad_clip() argument 131 unsigned viewport_index = quad[0].input.viewport_index; in quad_clip() 138 if (quad->input.x0 >= maxx || in quad_clip() 139 quad->input.y0 >= maxy || in quad_clip() 140 quad->input.x0 + 1 < minx || in quad_clip() 141 quad->input.y0 + 1 < miny) { in quad_clip() 143 quad->inout.mask = 0x0; in quad_clip() 146 if (quad->input.x0 < minx) in quad_clip() 147 quad->inout.mask &= (MASK_BOTTOM_RIGHT | MASK_TOP_RIGHT); in quad_clip() [all …]
|
D | sp_quad_depth_test.c | 62 const struct quad_header *quad ) in get_depth_stencil_values() argument 70 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 71 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() 77 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 78 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() 85 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 86 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() 94 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 95 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() 102 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() [all …]
|
D | sp_fs_exec.c | 113 struct quad_header *quad, in exec_run() argument 117 setup_pos_vector(quad->posCoef, in exec_run() 118 (float)quad->input.x0, (float)quad->input.y0, in exec_run() 122 machine->Face = (float) (quad->input.facing * -2 + 1); in exec_run() 124 machine->NonHelperMask = quad->inout.mask; in exec_run() 125 quad->inout.mask &= tgsi_exec_machine_run( machine, 0 ); in exec_run() 126 if (quad->inout.mask == 0) in exec_run() 141 assert(sizeof(quad->output.color[cbuf]) == in exec_run() 145 memcpy(quad->output.color[cbuf], in exec_run() 147 sizeof(quad->output.color[0]) ); in exec_run() [all …]
|
D | sp_quad_stipple.c | 29 struct quad_header *quad = quads[q]; in stipple_quad() local 31 const int col0 = quad->input.x0 % 32; in stipple_quad() 32 const int y0 = quad->input.y0; in stipple_quad() 39 quad->inout.mask &= ~MASK_TOP_LEFT; in stipple_quad() 42 quad->inout.mask &= ~MASK_TOP_RIGHT; in stipple_quad() 45 quad->inout.mask &= ~MASK_BOTTOM_LEFT; in stipple_quad() 48 quad->inout.mask &= ~MASK_BOTTOM_RIGHT; in stipple_quad() 50 if (quad->inout.mask) in stipple_quad() 51 quads[pass++] = quad; in stipple_quad()
|
/third_party/flutter/skia/tests/ |
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 18 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() argument 30 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect() 39 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect() 41 intersections.intersect(quad, line); in doIntersect() 47 static void testLineIntersect(skiatest::Reporter* reporter, const SkDQuad& quad, in testLineIntersect() argument 50 pathStr.appendf(" path.moveTo(%1.9g, %1.9g);\n", quad[0].fX, quad[0].fY); in testLineIntersect() 51 pathStr.appendf(" path.quadTo(%1.9g, %1.9g, %1.9g, %1.9g);\n", quad[1].fX, in testLineIntersect() 52 quad[1].fY, quad[2].fX, quad[2].fY); in testLineIntersect() 58 int result = doIntersect(intersections, quad, line, flipped); in testLineIntersect() 62 SkDPoint quadXY = quad.ptAtT(quadT); in testLineIntersect() [all …]
|
D | PathOpsQuadLineIntersectionTest.cpp | 18 QuadPts quad; member 33 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() argument 45 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect() 54 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect() 56 intersections.intersect(quad, line); in doIntersect() 63 QuadPts quad; member 86 const QuadPts& q = oneOffs[index].quad; in testOneOffs() 87 SkDQuad quad; in testOneOffs() local 88 quad.debugSet(q.fPts); in testOneOffs() 89 SkASSERT(ValidQuad(quad)); in testOneOffs() [all …]
|
D | PathOpsQuadReduceOrderTest.cpp | 23 SkDQuad quad; in oneOffTest() local 24 quad.debugSet(q.fPts); in oneOffTest() 26 SkDEBUGCODE(int result = ) reducer.reduce(quad); in oneOffTest() 53 SkDQuad quad; in standardTestCases() local 54 quad.debugSet(q.fPts); in standardTestCases() 55 order = reducer.reduce(quad); in standardTestCases() 62 SkDQuad quad; in standardTestCases() local 63 quad.debugSet(q.fPts); in standardTestCases() 64 order = reducer.reduce(quad); in standardTestCases()
|
D | StrokerTest.cpp | 236 SkPoint quad[3]; in DEF_TEST() local 237 quad[0].fX = r.nextRangeF(0, 500); in DEF_TEST() 238 quad[0].fY = r.nextRangeF(0, 500); in DEF_TEST() 241 quad[1].fX = r.nextRangeF(0, 500); in DEF_TEST() 242 quad[1].fY = r.nextRangeF(0, 500); in DEF_TEST() 243 } while (SkPointPriv::DistanceToSqd(quad[0], quad[1]) < halfSquared); in DEF_TEST() 245 quad[2].fX = r.nextRangeF(0, 500); in DEF_TEST() 246 quad[2].fY = r.nextRangeF(0, 500); in DEF_TEST() 247 } while (SkPointPriv::DistanceToSqd(quad[0], quad[2]) < halfSquared in DEF_TEST() 248 || SkPointPriv::DistanceToSqd(quad[1], quad[2]) < halfSquared); in DEF_TEST() [all …]
|
/third_party/openssl/crypto/aes/asm/x86_64/ |
D | vpaes-x86_64.s | 759 .quad 0x0E05060F0D080180, 0x040703090A0B0C02 760 .quad 0x01040A060F0B0780, 0x030D0E0C02050809 763 .quad 0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F0F0F0F0F 766 .quad 0xC2B2E8985A2A7000, 0xCABAE09052227808 767 .quad 0x4C01307D317C4D00, 0xCD80B1FCB0FDCC81 770 .quad 0xB19BE18FCB503E00, 0xA5DF7A6E142AF544 771 .quad 0x3618D415FAE22300, 0x3BF7CCC10D2ED9EF 773 .quad 0xE27A93C60B712400, 0x5EB7E955BC982FCD 774 .quad 0x69EB88400AE12900, 0xC2A163C8AB82234A 776 .quad 0xD0D26D176FBDC700, 0x15AABF7AC502A878 [all …]
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrQuadUtils.cpp | 176 static bool is_simple_rect(const GrQuad& quad) { in is_simple_rect() argument 177 if (quad.quadType() != GrQuad::Type::kAxisAligned) { in is_simple_rect() 183 return ((quad.x(0) + SK_ScalarNearlyZero) < quad.x(2)) && in is_simple_rect() 184 ((quad.y(0) + SK_ScalarNearlyZero) < quad.y(1)); in is_simple_rect() 218 void ResolveAAType(GrAAType requestedAAType, GrQuadAAFlags requestedEdgeFlags, const GrQuad& quad, in ResolveAAType() argument 233 if (quad.quadType() == GrQuad::Type::kAxisAligned && !quad.aaHasEffectOnRect()) { in ResolveAAType() 250 bool CropToRect(const SkRect& cropRect, GrAA cropAA, GrQuadAAFlags* edgeFlags, GrQuad* quad, in CropToRect() argument 252 SkASSERT(quad->isFinite()); in CropToRect() 254 if (quad->quadType() == GrQuad::Type::kAxisAligned) { in CropToRect() 260 if (is_simple_rect(*quad) && is_simple_rect(*local)) { in CropToRect() [all …]
|
D | GrQuadBuffer.h | 219 float* packQuad(const GrQuad& quad, float* coords); 220 const float* unpackQuad(GrQuad::Type type, const float* coords, GrQuad* quad) const; 232 float* GrQuadBuffer<T>::packQuad(const GrQuad& quad, float* coords) { in packQuad() argument 235 SkASSERT(quad.xs() + 4 == quad.ys() && quad.xs() + 8 == quad.ws()); in packQuad() 236 if (quad.hasPerspective()) { in packQuad() 237 memcpy(coords, quad.xs(), k3DQuadFloats * sizeof(float)); in packQuad() 240 memcpy(coords, quad.xs(), k2DQuadFloats * sizeof(float)); in packQuad() 246 const float* GrQuadBuffer<T>::unpackQuad(GrQuad::Type type, const float* coords, GrQuad* quad) cons… in unpackQuad() argument 247 SkASSERT(quad->xs() + 4 == quad->ys() && quad->xs() + 8 == quad->ws()); in unpackQuad() 250 memcpy(quad->xs(), coords, k3DQuadFloats * sizeof(float)); in unpackQuad() [all …]
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 165 static AI void outset_vertices(const V4f& outset, const QuadMetadata& metadata, Vertices* quad) { in outset_vertices() argument 171 quad->fX += fma(maskedOutsetCW, nextCW(metadata.fDX), maskedOutset * metadata.fDX); in outset_vertices() 172 quad->fY += fma(maskedOutsetCW, nextCW(metadata.fDY), maskedOutset * metadata.fDY); in outset_vertices() 173 if (quad->fUVRCount > 0) { in outset_vertices() 177 V4f du = nextCCW(quad->fU) - quad->fU; in outset_vertices() 178 V4f dv = nextCCW(quad->fV) - quad->fV; in outset_vertices() 179 quad->fU += fma(maskedOutsetCW, nextCW(du), maskedOutset * du); in outset_vertices() 180 quad->fV += fma(maskedOutsetCW, nextCW(dv), maskedOutset * dv); in outset_vertices() 181 if (quad->fUVRCount == 3) { in outset_vertices() 182 V4f dr = nextCCW(quad->fR) - quad->fR; in outset_vertices() [all …]
|
/third_party/ffmpeg/tests/checkasm/aarch64/ |
D | checkasm.S | 26 .quad 0x21f86d66c8ca00ce 27 .quad 0x75b6ba21077c48ad 28 .quad 0xed56bb2dcb3c7736 29 .quad 0x8bda43d3fd1a7e06 30 .quad 0xb64a9c9e5d318408 31 .quad 0xdf9a54b303f1d3a3 32 .quad 0x4a75479abd64e097 33 .quad 0x249214109d5d1c88 34 .quad 0x1a1b2550a612b48c 35 .quad 0x79445c159ce79064 [all …]
|
/third_party/boost/boost/geometry/srs/projections/proj/ |
D | isea.hpp | 217 int quad; /* quad of last transformed point */ member 773 int downtri, quad; in isea_ptdd() local 776 quad = ((tri - 1) % 5) + ((tri - 1) / 10) * 5 + 1; in isea_ptdd() 784 return quad; in isea_ptdd() 788 inline int isea_dddi_ap3odd(isea_dgg<T> *g, int quad, isea_pt<T> *pt, isea_pt<T> *di) in isea_dddi_ap3odd() argument 822 if (quad <= 5) { in isea_dddi_ap3odd() 825 quad = 0; in isea_dddi_ap3odd() 830 quad += 1; in isea_dddi_ap3odd() 831 if (quad == 6) in isea_dddi_ap3odd() 832 quad = 1; in isea_dddi_ap3odd() [all …]
|
/third_party/skia/src/gpu/ops/ |
D | FillRectOp.cpp | 70 DrawQuad* quad, in Make() argument 74 GrQuadUtils::ResolveAAType(aaType, quad->fEdgeFlags, quad->fDevice, in Make() 75 &aaType, &quad->fEdgeFlags); in Make() 76 return Helper::FactoryHelper<FillRectOpImpl>(context, std::move(paint), aaType, quad, in Make() 83 DrawQuad* quad, const GrUserStencilSettings* stencil, in FillRectOpImpl() argument 90 bool hairline = GrQuadUtils::WillUseHairline(quad->fDevice, aaType, quad->fEdgeFlags); in FillRectOpImpl() 91 this->setBounds(quad->fDevice.bounds(), HasAABloat(aaType == GrAAType::kCoverage), in FillRectOpImpl() 95 int count = GrQuadUtils::ClipToW0(quad, &extra); in FillRectOpImpl() 99 quad->fEdgeFlags = GrQuadAAFlags::kNone; in FillRectOpImpl() 106 fQuads.append(quad->fDevice, {paintColor, quad->fEdgeFlags}, in FillRectOpImpl() [all …]
|