/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_texture.c | 49 float rx, ry, rz; in util_map_texcoords2d_onto_cubemap() local 70 ry = -tc; in util_map_texcoords2d_onto_cubemap() 75 ry = -tc; in util_map_texcoords2d_onto_cubemap() 80 ry = 1; in util_map_texcoords2d_onto_cubemap() 85 ry = -1; in util_map_texcoords2d_onto_cubemap() 90 ry = -tc; in util_map_texcoords2d_onto_cubemap() 95 ry = -tc; in util_map_texcoords2d_onto_cubemap() 99 rx = ry = rz = 0; in util_map_texcoords2d_onto_cubemap() 104 out_str[1] = ry; /*t*/ in util_map_texcoords2d_onto_cubemap()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGEllipse.cpp | 20 this->setRy(SkSVGAttributeParser::parse<SkSVGLength>("ry", n, v)); in parseAndSetAttribute() 27 const auto ry = lctx.resolve(fRy, SkSVGLengthContext::LengthType::kVertical); in resolve() local 29 return (rx > 0 && ry > 0) in resolve() 30 ? SkRect::MakeXYWH(cx - rx, cy - ry, rx * 2, ry * 2) in resolve()
|
H A D | SkSVGRect.cpp | 25 this->setRy(SkSVGAttributeParser::parse<SkSVGLength>("ry", n, v)); in parseAndSetAttribute() 33 // - Let rx and ry be length values. in resolve() 34 // - If neither ‘rx’ nor ‘ry’ are properly specified, then set both rx and ry to 0. in resolve() 35 // - Otherwise, if a properly specified value is provided for ‘rx’, but not for ‘ry’, in resolve() 36 // then set both rx and ry to the value of ‘rx’. in resolve() 37 // - Otherwise, if a properly specified value is provided for ‘ry’, but not for ‘rx’, in resolve() 38 // then set both rx and ry to the value of ‘ry’. in resolve() 39 // - Otherwise, both ‘rx’ and ‘ry’ wer in resolve() 58 ry = std::min(lctx.resolve(rylen, SkSVGLengthContext::LengthType::kVertical), resolve() local [all...] |
/third_party/mesa3d/src/panfrost/shared/test/ |
H A D | test-tiling.cpp | 126 test(unsigned width, unsigned height, unsigned rx, unsigned ry, 149 panfrost_store_tiled_image(tiled, linear, rx, ry, rw, rh, 156 panfrost_load_tiled_image(linear, tiled, rx, ry, rw, rh, 160 ref_access_tiled(ref, store ? linear : tiled, rx, ry, rw, rh, 174 test_ldst(unsigned width, unsigned height, unsigned rx, unsigned ry, 178 test(width, height, rx, ry, rw, rh, linear_stride, format, true); 179 test(width, height, rx, ry, rw, rh, linear_stride, format, false);
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_deshake.c | 73 { "ry", "set y for the rectangular search area", OFFSET(ry), AV_OPT_TYPE_INT, {.i64=16}, 0, MAX_R, .flags = FLAGS }, 117 * and ry attributes. Searches using a simple matrix of those shifts and 134 for (y = -deshake->ry; y <= deshake->ry; y++) { in find_block_motion() 146 for (y = -deshake->ry + 1; y < deshake->ry; y += 2) { in find_block_motion() 251 for (y = 0; y < deshake->ry * 2 + 1; y++) { in find_motion() 258 for (y = deshake->ry; y < height - deshake->ry in find_motion() [all...] |
H A D | vf_codecview.c | 190 int ry = -dx + dy; in draw_arrow() local 191 int length = sqrt((rx * rx + ry * ry) << 8); in draw_arrow() 195 ry = ROUNDED_DIV(ry * (3 << 4), length); in draw_arrow() 199 ry = -ry; in draw_arrow() 202 draw_line(buf, sx, sy, sx + rx, sy + ry, w, h, stride, color); in draw_arrow() 203 draw_line(buf, sx, sy, sx - ry, sy + rx, w, h, stride, color); in draw_arrow()
|
H A D | vf_chromashift.c | 188 const int ry = av_clip(y - rv, 0, h-1) * srlinesize; \ 194 dr[x] = sr[av_clip(x - rh, 0, w - 1) + ry]; \ 255 int ry = (y - rv) % h; \ 259 if (ry < 0) \ 260 ry += h; \ 277 dr[x] = sr[rx + ry * srlinesize]; \
|
H A D | deshake.h | 62 int ry; ///< Maximum vertical shift member
|
/third_party/skia/modules/skottie/src/effects/ |
H A D | SphereEffect.cpp | 348 ry = SkM44::Rotate({0,1,0}, SkDegreesToRadians( y)), 352 case 1: return rx * ry * rz; 353 case 2: return rx * rz * ry; 354 case 3: return ry * rx * rz; 355 case 4: return ry * rz * rx; 356 case 5: return rz * rx * ry; 358 default: return rz * ry * rx;
|
/third_party/backends/backend/escl/ |
H A D | escl_jpeg.c | 199 int ry = (int)((double)scanner->caps[scanner->source].pos_y * ratio); in get_JPEG_data() local 209 if (ry < 0) in get_JPEG_data() 210 ry = 0; in get_JPEG_data() 213 ry, in get_JPEG_data() 223 y_off = ry; in get_JPEG_data()
|
/third_party/skia/tests/ |
H A D | PathOpsAngleTest.cpp | 127 static int find_slop(double x, double y, double rx, double ry) { in find_slop() argument 144 double x_ry1 = x1 * ry; in find_slop() 149 double x_ry2 = x2 * ry; in find_slop() 166 // x y rx ry 181 double ry = slopTest[3]; 182 SkDebugf("%s xy %d=%d\n", __FUNCTION__, index, find_slop(x, y, rx, ry)); 183 SkDebugf("%s rxy %d=%d\n", __FUNCTION__, index, find_slop(rx, ry, x, y)); 185 double rAngle = diamond_angle(ry, rx);
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | time-smoother.c | 69 pa_usec_t ry; /* The original y value for ex */ member 365 s->ry = y; in pa_smoother_put() 377 s->py = s->ry + (pa_usec_t) llrint(s->dp * (double) s->adjust_time); in pa_smoother_put() 380 s->py = s->ry; in pa_smoother_put() 473 s->py = s->ry; in pa_smoother_fix_now() 508 s->ex = s->ey = s->ry = 0; in pa_smoother_reset()
|
/third_party/mbedtls/library/ |
H A D | bn_mul.h | 1051 mbedtls_mpi_uint r0, r1, rx, ry; \ 1059 ry = s1 * b0; r1 = s1 * b1; \ 1061 r1 += ( ry >> biH ); \ 1062 rx <<= biH; ry <<= biH; \ 1064 r0 += ry; r1 += (r0 < ry); \
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorTests.cpp | 198 const float ry = 2.0f * renderArea.w(); in genVertices() local 207 const float y = y0 + rng.getFloat(0.0f, ry); in genVertices() 216 const float y = y0 + rng.getFloat(0.0f, ry - size); in genVertices() 226 const float y = y0 + rng.getFloat(0.0f, ry - size); in genVertices() 235 vertices.push_back(makeVertex(x0 + rx, y0 + ry, primitiveColor)); in genVertices() 240 vertices.push_back(makeVertex(x0 + rx/2.0f, y0 + ry, primitiveColor)); in genVertices()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorTests.cpp | 198 const float ry = 2.0f * renderArea.w(); in genVertices() local 207 const float y = y0 + rng.getFloat(0.0f, ry); in genVertices() 216 const float y = y0 + rng.getFloat(0.0f, ry - size); in genVertices() 226 const float y = y0 + rng.getFloat(0.0f, ry - size); in genVertices() 235 vertices.push_back(makeVertex(x0 + rx, y0 + ry, primitiveColor)); in genVertices() 240 vertices.push_back(makeVertex(x0 + rx/2.0f, y0 + ry, primitiveColor)); in genVertices()
|
/third_party/libinput/tools/ |
H A D | libinput-debug-gui.c | 715 double rx, ry; in draw_pad() local 720 ry = w->height/2 + 100; in draw_pad() 725 cairo_arc(cr, rx, ry, 50, 0, 2 * M_PI); in draw_pad() 730 cairo_arc(cr, rx, ry, 30, 0, 2 * M_PI); in draw_pad() 740 cairo_arc(cr, rx, ry, 40, pos - M_PI/8 , pos + M_PI/8); in draw_pad() 745 draw_text(cr, number, rx, ry); in draw_pad() 752 ry = w->height/2 + 50; in draw_pad() 756 cairo_rectangle(cr, rx, ry, 20, 100); in draw_pad() 762 cairo_rectangle(cr, rx, ry + pos, 20, 20); in draw_pad() 767 draw_text(cr, number, rx + 10, ry in draw_pad() 779 int rx, ry; draw_tablet() local [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_lower_cubemap_to_array.c | 80 nir_ssa_def *ry; member 98 nir_ssa_def *y = nir_fadd(b, nir_fmul(b, ima, coord->ry), nir_imm_float(b, 0.5)); in evaluate_face_x() 110 nir_ssa_def *sign = nir_fsign(b, coord->ry); in evaluate_face_y() 111 nir_ssa_def *positive = nir_fge(b, coord->ry, nir_imm_float(b, 0.0)); in evaluate_face_y() 132 nir_ssa_def *y = nir_fadd(b, nir_fmul(b, ima, coord->ry), nir_imm_float(b, 0.5)); in evaluate_face_z() 348 coords.ry = nir_channel(b, coord, 1); in lower_cube_coords() 351 coords.ary = nir_fabs(b, coords.ry); in lower_cube_coords()
|
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | dxil_nir_lower_int_cubemaps.c | 125 nir_ssa_def *ry; member 143 nir_ssa_def *y = nir_fadd(b, nir_fmul(b, ima, coord->ry), nir_imm_float(b, 0.5)); in evaluate_face_x() 157 nir_ssa_def *sign = nir_fsign(b, coord->ry); in evaluate_face_y() 158 nir_ssa_def *positive = nir_fge(b, coord->ry, nir_imm_float(b, 0.0)); in evaluate_face_y() 181 nir_ssa_def *y = nir_fadd(b, nir_fmul(b, ima, coord->ry), nir_imm_float(b, 0.5)); in evaluate_face_z() 387 coords.ry = nir_channel(b, coord, 1); in lower_cube_coords() 390 coords.ary = nir_fabs(b, coords.ry); in lower_cube_coords()
|
/third_party/skia/src/core/ |
H A D | SkPathBuilder.cpp | 460 // If rx = 0 or ry = 0 then this arc is treated as a straight line segment (a "lineto") in arcTo() 472 SkScalar ry = SkScalarAbs(rad.fY); in arcTo() local 482 SkScalar squareRy = ry * ry; in arcTo() 492 ry *= radiiScale; in arcTo() 495 pointTransform.setScale(1 / rx, 1 / ry); in arcTo() 533 pointTransform.preScale(rx, ry); in arcTo() 548 scalar_is_integer(rx) && scalar_is_integer(ry) && in arcTo()
|
/third_party/skia/modules/canvaskit/ |
H A D | interface.js | 191 // describe part of oval with radii (rx, ry) rotated by xAxisRotate degrees. Arc 197 // (rx, ry) to fit last point and (x, y) if both are greater than zero but 204 CanvasKit.Path.prototype.arcToRotated = function(rx, ry, xAxisRotate, useSmallArc, isCCW, x, y) { 205 this._arcToRotated(rx, ry, xAxisRotate, !!useSmallArc, !!isCCW, x, y); 297 CanvasKit.Path.prototype.rArcTo = function(rx, ry, xAxisRotate, useSmallArc, isCCW, dx, dy) { 298 this._rArcTo(rx, ry, xAxisRotate, useSmallArc, isCCW, dx, dy); 1144 CanvasKit.RRectXY = function(rect, rx, ry) { 1147 rx, ry, 1148 rx, ry, 1149 rx, ry, [all...] |
/third_party/ffmpeg/libswscale/ |
H A D | input.c | 40 int32_t ry = rgb2yuv[RY_IDX], gy = rgb2yuv[GY_IDX], by = rgb2yuv[BY_IDX]; in rgb64ToY_c_template() local 47 dst[i] = (ry*r + gy*g + by*b + (0x2001<<(RGB2YUV_SHIFT-1))) >> RGB2YUV_SHIFT; in rgb64ToY_c_template() 128 int32_t ry = rgb2yuv[RY_IDX], gy = rgb2yuv[GY_IDX], by = rgb2yuv[BY_IDX]; in rgb48ToY_c_template() local 135 dst[i] = (ry*r + gy*g + by*b + (0x2001 << (RGB2YUV_SHIFT - 1))) >> RGB2YUV_SHIFT; in rgb48ToY_c_template() 259 const int ry = rgb2yuv[RY_IDX]<<rsh, gy = rgb2yuv[GY_IDX]<<gsh, by = rgb2yuv[BY_IDX]<<bsh; in rgb16_32ToY_c_template() local 269 dst[i] = (ry * r + gy * g + by * b + rnd) >> ((S)-6); in rgb16_32ToY_c_template() 766 int32_t ry = rgb2yuv[RY_IDX], gy = rgb2yuv[GY_IDX], by = rgb2yuv[BY_IDX]; in bgr24ToY_c() local 773 dst[i] = ((ry*r + gy*g + by*b + (32<<(RGB2YUV_SHIFT-1)) + (1<<(RGB2YUV_SHIFT-7)))>>(RGB2YUV_SHIFT-6)); in bgr24ToY_c() 819 int32_t ry = rgb2yuv[RY_IDX], gy = rgb2yuv[GY_IDX], by = rgb2yuv[BY_IDX]; in rgb24ToY_c() local 826 dst[i] = ((ry* in rgb24ToY_c() 871 int32_t ry = rgb2yuv[RY_IDX], gy = rgb2yuv[GY_IDX], by = rgb2yuv[BY_IDX]; planar_rgb_to_y() local 915 int32_t ry = rgb2yuv[RY_IDX], gy = rgb2yuv[GY_IDX], by = rgb2yuv[BY_IDX]; planar_rgb16_to_y() local 999 int32_t ry = rgb2yuv[RY_IDX], gy = rgb2yuv[GY_IDX], by = rgb2yuv[BY_IDX]; planar_rgbf32_to_y() local [all...] |
/third_party/mbedtls/3rdparty/p256-m/p256-m/ |
H A D | p256-m.c | 1053 * out: R = s * P = (rx, ry), affine coordinates (Montgomery). 1057 static void scalar_mult(uint32_t rx[8], uint32_t ry[8], in scalar_mult() argument 1087 u256_cmov(ry, py, 1); in scalar_mult() 1089 u256_cmov(ry, py_neg, negate); in scalar_mult() 1125 point_double(rx, ry, rz); in scalar_mult() 1126 point_add(rx, ry, rz, px, py_use); in scalar_mult() 1129 point_to_affine(rx, ry, rz); in scalar_mult()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | rastpos.c | 297 GLfloat u[3], two_nu, rx, ry, rz, m, mInv; in compute_texgen() local 302 ry = u[1] - normal[1] * two_nu; in compute_texgen() 304 m = rx * rx + ry * ry + (rz + 1.0F) * (rz + 1.0F); in compute_texgen() 342 texcoord[1] = ry * mInv + 0.5F; in compute_texgen() 345 texcoord[1] = ry; in compute_texgen()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrQuad.cpp | 60 V4f ry{rect.fTop, rect.fBottom, rect.fTop, rect.fBottom}; in map_rect_general() 61 map_quad_general(rx, ry, matrix, xs, ys, ws); in map_rect_general()
|
/third_party/skia/include/core/ |
H A D | SkPath.h | 78 static SkPath RRect(const SkRect& bounds, SkScalar rx, SkScalar ry, 891 Four oval parts with radii (rx, ry) start at last SkPath SkPoint and ends at (x, y). 900 describe part of oval with radii (rx, ry) rotated by xAxisRotate degrees. Arc 906 (rx, ry) to fit last SkPath SkPoint and (x, y) if both are greater than zero but 915 @param ry radius on y-axis before x-axis rotation 923 SkPath& arcTo(SkScalar rx, SkScalar ry, SkScalar xAxisRotate, ArcSize largeArc, 955 more conic, weighted to describe part of oval with radii (rx, ry) rotated by 963 arcTo() scales radii (rx, ry) to fit last SkPath SkPoint and end SkPoint if both are 972 @param ry radius before x-axis rotation 980 SkPath& rArcTo(SkScalar rx, SkScalar ry, SkScala [all...] |