/third_party/ffmpeg/libavfilter/ |
D | vf_codecview.c | 92 static int clip_line(int *sx, int *sy, int *ex, int *ey, int maxx) in clip_line() argument 95 return clip_line(ex, ey, sx, sy, maxx); in clip_line() 100 *sy = *ey + (*sy - *ey) * (int64_t)*ex / (*ex - *sx); in clip_line() 107 *ey = *sy + (*ey - *sy) * (int64_t)(maxx - *sx) / (*ex - *sx); in clip_line() 120 static void draw_line(uint8_t *buf, int sx, int sy, int ex, int ey, in draw_line() argument 125 if (clip_line(&sx, &sy, &ex, &ey, w - 1)) in draw_line() 127 if (clip_line(&sy, &sx, &ey, &ex, h - 1)) in draw_line() 131 sy = av_clip(sy, 0, h - 1); in draw_line() 135 buf[sy * stride + sx] += color; in draw_line() 137 if (FFABS(ex - sx) > FFABS(ey - sy)) { in draw_line() [all …]
|
/third_party/skia/src/core/ |
D | SkMatrix.cpp | 211 SkScalar sy = fMat[kMSkewY]; in isSimilarity() local 213 if (is_degenerate_2x2(mx, sx, sy, my)) { in isSimilarity() 219 return (SkScalarNearlyEqual(mx, my, tol) && SkScalarNearlyEqual(sx, -sy, tol)) in isSimilarity() 220 || (SkScalarNearlyEqual(mx, -my, tol) && SkScalarNearlyEqual(sx, sy, tol)); in isSimilarity() 239 SkScalar sy = fMat[kMSkewY]; in preservesRightAngles() local 241 if (is_degenerate_2x2(mx, sx, sy, my)) { in preservesRightAngles() 247 vec[0].set(mx, sy); in preservesRightAngles() 310 SkMatrix& SkMatrix::setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) { in setScale() argument 311 if (1 == sx && 1 == sy) { in setScale() 314 this->setScaleTranslate(sx, sy, px - sx * px, py - sy * py); in setScale() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkMatrix.cpp | 215 SkScalar sy = fMat[kMSkewY]; in isSimilarity() local 217 if (is_degenerate_2x2(mx, sx, sy, my)) { in isSimilarity() 223 return (SkScalarNearlyEqual(mx, my, tol) && SkScalarNearlyEqual(sx, -sy, tol)) in isSimilarity() 224 || (SkScalarNearlyEqual(mx, -my, tol) && SkScalarNearlyEqual(sx, sy, tol)); in isSimilarity() 243 SkScalar sy = fMat[kMSkewY]; in preservesRightAngles() local 245 if (is_degenerate_2x2(mx, sx, sy, my)) { in preservesRightAngles() 251 vec[0].set(mx, sy); in preservesRightAngles() 314 SkMatrix& SkMatrix::setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) { in setScale() argument 315 if (1 == sx && 1 == sy) { in setScale() 318 this->setScaleTranslate(sx, sy, px - sx * px, py - sy * py); in setScale() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/ |
D | VEInstrInfo.td | 116 opc, (outs RC:$sx), (ins RC:$sy, RC:$sz, immOp2:$imm32), 117 !strconcat(opcStr, " $sx, ${imm32}($sy, ${sz})")> { 126 let sy = 0; 138 def rr : RR<opc, (outs RCo:$sx), (ins RCi:$sy, RCi:$sz), 139 !strconcat(opcStr, " $sx, $sy, $sz")> 146 // VE calculates (OpNode $sy, $sz), but llvm requires to have immediate 148 def ri : RR<opc, (outs RCo:$sx), (ins RCi:$sz, immOp:$sy), 149 !strconcat(opcStr, " $sx, $sy, $sz")> 156 def zi : RR<opc, (outs RCo:$sx), (ins immOp:$sy), 157 !strconcat(opcStr, " $sx, $sy")> [all …]
|
/third_party/flutter/skia/docs/examples/ |
D | Matrix_setSkew.cpp | 13 for (SkScalar sy : { -1, 0, 1 } ) { 15 m.setSkew(sx, sy, 96 + 64 * sx, 128 + 48 * sy); 17 canvas->drawString("K", 96 + 64 * sx, 128 + 48 * sy, p);
|
D | Path_rCubicTo.cpp | 14 sy = SkScalarCos(i * SK_ScalarPI / 8); in draw() local 15 path.rCubicTo(40 * sx, 4 * sy, 4 * sx, 40 * sy, 40 * sx, 40 * sy); in draw()
|
D | Matrix_setSkew_2.cpp | 13 for (SkScalar sy : { -1, 0, 1 } ) { 15 m.setSkew(sx, sy); 16 m.postTranslate(96 + 64 * sx, 128 + 48 * sy);
|
D | Matrix_isSimilarity.cpp | 13 for (SkScalar sy : { -1, 1 } ) { 14 m.setAll(sx, 1, 128, 1, sy, 32, 0, 0, 1); 17 str.printf("sx: %g sy: %g sim: %s", sx, sy, isSimilarity ? "true" : "false");
|
/third_party/skia/docs/examples/ |
D | Matrix_setSkew.cpp | 13 for (SkScalar sy : { -1, 0, 1 } ) { 15 m.setSkew(sx, sy, 96 + 64 * sx, 128 + 48 * sy); 17 canvas->drawString("K", 96 + 64 * sx, 128 + 48 * sy, p);
|
D | Path_rCubicTo.cpp | 14 sy = SkScalarCos(i * SK_ScalarPI / 8); in draw() local 15 path.rCubicTo(40 * sx, 4 * sy, 4 * sx, 40 * sy, 40 * sx, 40 * sy); in draw()
|
D | Matrix_setSkew_2.cpp | 13 for (SkScalar sy : { -1, 0, 1 } ) { 15 m.setSkew(sx, sy); 16 m.postTranslate(96 + 64 * sx, 128 + 48 * sy);
|
D | Matrix_isSimilarity.cpp | 13 for (SkScalar sy : { -1, 1 } ) { 14 m.setAll(sx, 1, 128, 1, sy, 32, 0, 0, 1); 17 str.printf("sx: %g sy: %g sim: %s", sx, sy, isSimilarity ? "true" : "false");
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_copypix.c | 92 GLint sy, dy, stepy, row; in copy_rgba_pixels() local 114 sy = srcy + height - 1; in copy_rgba_pixels() 120 sy = srcy; in copy_rgba_pixels() 140 width, srcx, sy + row, p ); in copy_rgba_pixels() 152 for (row = 0; row < height; row++, sy += stepy, dy += stepy) { in copy_rgba_pixels() 164 width, srcx, sy, rgba ); in copy_rgba_pixels() 239 GLint sy, dy, stepy; in copy_depth_pixels() local 265 sy = srcy + height - 1; in copy_depth_pixels() 271 sy = srcy; in copy_depth_pixels() 277 GLint ssy = sy; in copy_depth_pixels() [all …]
|
/third_party/glslang/Test/ |
D | spv.ext.RayGenShaderArray.rgen | 18 uint sy = gl_LaunchSizeEXT.y; 19 traceRayEXT(accEXT0[i], lx, ly, sx, sy, 0u, origin, 0.5f, dir, 0.75f, 1); 20 traceRayEXT(accEXT1[i], lx, ly, sx, sy, 0u, origin, 0.5f, dir, 0.75f, 1); 21 traceRayEXT(accEXT0[nonuniformEXT(i)], lx, ly, sx, sy, 0u, origin, 0.5f, dir, 0.75f, 1);
|
D | spv.RayGenShaderArray.rgen | 18 uint sy = gl_LaunchSizeNV.y; 19 traceNV(accNV0[i], lx, ly, sx, sy, 0u, origin, 0.5f, dir, 0.75f, 1); 20 traceNV(accNV1[i], lx, ly, sx, sy, 0u, origin, 0.5f, dir, 0.75f, 1); 21 traceNV(accNV0[nonuniformEXT(i)], lx, ly, sx, sy, 0u, origin, 0.5f, dir, 0.75f, 1);
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderRenderCase.cpp | 207 Vec4 getCoords(float sx, float sy) const; 208 Vec4 getUnitCoords(float sx, float sy) const; 214 Vec4 getUserAttrib(int attribNdx, float sx, float sy) const; 259 float sy = static_cast<float>(y) / static_cast<float>(gridSize); in QuadGrid() local 261 float fy = 2.0f * sy - 1.0f; in QuadGrid() 266 m_screenPos[vtxNdx] = Vec4(sx, sy, 0.0f, 1.0f) * viewportScale; in QuadGrid() 267 m_coords[vtxNdx] = getCoords(sx, sy); in QuadGrid() 268 m_unitCoords[vtxNdx] = getUnitCoords(sx, sy); in QuadGrid() 271 m_userAttribs[attribNdx][vtxNdx] = getUserAttrib(attribNdx, sx, sy); in QuadGrid() 300 inline Vec4 QuadGrid::getCoords(float sx, float sy) const in getCoords() [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderRenderCase.cpp | 154 Vec4 getCoords (float sx, float sy) const; 155 Vec4 getUnitCoords (float sx, float sy) const; 158 Vec4 getUserAttrib (int attribNdx, float sx, float sy) const; 202 float sy = (float)y / (float)gridSize; in QuadGrid() local 204 float fy = 2.0f * sy - 1.0f; in QuadGrid() 209 m_screenPos[vtxNdx] = Vec4(sx, sy, 0.0f, 1.0f) * viewportScale; in QuadGrid() 210 m_coords[vtxNdx] = getCoords(sx, sy); in QuadGrid() 211 m_unitCoords[vtxNdx] = getUnitCoords(sx, sy); in QuadGrid() 214 m_userAttribs[attribNdx][vtxNdx] = getUserAttrib(attribNdx, sx, sy); in QuadGrid() 243 inline Vec4 QuadGrid::getCoords (float sx, float sy) const in getCoords() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-format.c | 96 const guint8 *restrict sy = GET_Y_LINE (y); in unpack_planar_420() local 101 sy += x; in unpack_planar_420() 107 d[1] = *sy++; in unpack_planar_420() 113 video_orc_unpack_I420 (d, sy, su, sv, width); in unpack_planar_420() 926 const guint8 *restrict sy = GET_Y_LINE (y); in unpack_Y41B() local 931 sy += x; in unpack_Y41B() 938 d[1] = *sy++; in unpack_Y41B() 945 sy++; in unpack_Y41B() 949 video_orc_unpack_YUV9 (d, sy, su, sv, width / 2); in unpack_Y41B() 954 d[i * 8 + 1] = sy[i * 2 + 0]; in unpack_Y41B() [all …]
|
/third_party/skia/include/c/ |
D | sk_matrix.h | 35 void sk_matrix_set_scale(sk_matrix_t*, float sx, float sy); 40 void sk_matrix_pre_scale(sk_matrix_t*, float sx, float sy); 45 void sk_matrix_post_scale(sk_matrix_t*, float sx, float sy);
|
/third_party/flutter/skia/include/c/ |
D | sk_matrix.h | 35 void sk_matrix_set_scale(sk_matrix_t*, float sx, float sy); 40 void sk_matrix_pre_scale(sk_matrix_t*, float sx, float sy); 45 void sk_matrix_post_scale(sk_matrix_t*, float sx, float sy);
|
/third_party/glslang/Test/baseResults/ |
D | spv.ext.RayGenShaderArray.rgen.out | 23 Name 24 "sy" 89 24(sy): 7(ptr) Variable Function 101 Store 24(sy) 26 109 47: 6(int) Load 24(sy) 122 68: 6(int) Load 24(sy) 136 81: 6(int) Load 24(sy)
|
D | spv.RayGenShaderArray.rgen.out | 23 Name 24 "sy" 89 24(sy): 7(ptr) Variable Function 101 Store 24(sy) 26 109 47: 6(int) Load 24(sy) 122 68: 6(int) Load 24(sy) 136 81: 6(int) Load 24(sy)
|
/third_party/mesa3d/src/asahi/lib/ |
D | tiling.c | 77 unsigned y_offs = agx_space_bits(sy & TILE_MASK) << 1;\ 80 for (unsigned y = sy; y < smaxy; ++y) {\ 108 unsigned sx, unsigned sy, unsigned smaxx, unsigned smaxy) in agx_detile() argument 121 unsigned sx, unsigned sy, unsigned smaxx, unsigned smaxy) in agx_tile() argument
|
/third_party/ffmpeg/libavcodec/ |
D | mpegutils.c | 131 int sy = mb_y * 16 + 4 + 8 * (i >> 1); in ff_print_debug_info2() local 136 … mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction); in ff_print_debug_info2() 141 int sy = mb_y * 16 + 4 + 8 * i; in ff_print_debug_info2() local 149 … mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction); in ff_print_debug_info2() 154 int sy = mb_y * 16 + 8; in ff_print_debug_info2() local 162 … mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction); in ff_print_debug_info2() 166 int sy = mb_y * 16 + 8; in ff_print_debug_info2() local 170 … mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction); in ff_print_debug_info2()
|
D | vorbis.c | 147 intptr_t sy, int ady, int adx, in render_line_unrolled() argument 157 y += sy; in render_line_unrolled() 164 y += sy; in render_line_unrolled() 174 int sy = dy < 0 ? -1 : 1; in render_line() local 177 render_line_unrolled(x0, y0, x1, sy, ady, adx, buf); in render_line() 189 y += sy; in render_line()
|