/third_party/mesa3d/src/asahi/compiler/test/ |
H A D | test-optimizer.cpp | 52 wy = agx_register(2, AGX_SIZE_32); in Optimizer() 64 agx_index wx, wy, wz, hx; member in Optimizer 69 CASE(agx_fadd_to(b, wz, agx_fmov(b, agx_abs(wx)), wy), in TEST_F() 70 agx_fadd_to(b, wz, agx_abs(wx), wy)); in TEST_F() 78 CASE(agx_fmul_to(b, wz, wx, agx_mov(b, wy)), agx_fmul_to(b, wz, wx, wy)); in TEST_F() 79 CASE(agx_fmul_to(b, wz, agx_mov(b, wx), agx_mov(b, wy)), agx_fmul_to(b, wz, wx, wy)); in TEST_F() 84 NEGCASE(agx_p_combine_to(b, wx, agx_mov_imm(b, AGX_SIZE_32, 0), wy, wz, wz)); in TEST_F() 89 CASE(agx_fadd_to(b, wz, agx_abs(agx_mov(b, wx)), wy), in TEST_F() [all...] |
H A D | test-lower-pseudo.cpp | 37 wy = agx_register(2, AGX_SIZE_32); in LowerPseudo() 46 agx_index wx, wy, wz; member in LowerPseudo 50 CASE(agx_mov_to(b, wx, wy), agx_bitop_to(b, wx, wy, agx_zero(), 0xA)); in TEST_F() 54 CASE(agx_not_to(b, wx, wy), agx_bitop_to(b, wx, wy, agx_zero(), 0x5)); in TEST_F() 58 CASE(agx_and_to(b, wx, wy, wz), agx_bitop_to(b, wx, wy, wz, 0x8)); in TEST_F() 59 CASE(agx_xor_to(b, wx, wy, wz), agx_bitop_to(b, wx, wy, w in TEST_F() [all...] |
/third_party/skia/src/opts/ |
H A D | SkBitmapProcState_opts.h | 49 // In a _DX variant only X varies; all samples share y0/y1 coordinates and wy weight. in S32_alpha_D32_filter_DX() 50 int y0, y1, wy; in S32_alpha_D32_filter_DX() local 51 decode_packed_coordinates_and_weight(*xy++, &y0, &y1, &wy); in S32_alpha_D32_filter_DX() 117 sum = 16*top + (bot-top)*wy; in S32_alpha_D32_filter_DX() 126 // sum = tl * (16-wy) * (16-wx) in S32_alpha_D32_filter_DX() 127 // + bl * ( wy) * (16-wx) in S32_alpha_D32_filter_DX() 128 // + tr * (16-wy) * ( wx) in S32_alpha_D32_filter_DX() 129 // + br * ( wy) * ( wx) in S32_alpha_D32_filter_DX() 135 skvx::Vec<32, uint16_t> sum = lerp(lerp(to_16x4(tl), to_16x4(bl), wy), in S32_alpha_D32_filter_DX() 136 lerp(to_16x4(tr), to_16x4(br), wy), to_16x in S32_alpha_D32_filter_DX() 237 int y0, y1, wy; S32_alpha_D32_filter_DX() local 320 int y0, y1, wy; S32_alpha_D32_filter_DX() local 482 int y0, y1, wy; S32_alpha_D32_filter_DX() local 515 int y0, y1, wy, S32_alpha_D32_filter_DXDY() local [all...] |
H A D | SkRasterPipeline_opts.h | 2743 F cx, F cy, const F (&wx)[D], const F (&wy)[D], 2756 F w = wx[i] * wy[j]; 2769 const F wy[] = {1.0f - fy, fy}; 2771 sampler(ctx, x,y, wx,wy, &r,&g,&b,&a); 2777 const F wy[] = { bicubic_far(1-fy), bicubic_near(1-fy), bicubic_near(fy), bicubic_far(fy) }; 2779 sampler(ctx, x,y, wx,wy, &r,&g,&b,&a);
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | genpng.c | 317 double wy = bicubic[abs(dy)][0]; in alpha_calc() local 319 if (wy != 0) in alpha_calc() 332 alpha += wy * alphay; in alpha_calc() 389 double wy = fabs(arg->y1-arg->y2)/2; in square_check_line() local 391 if (square_check(x, y, cx-wx-w, cy-wy-w, cx+wx+w, cy+wy+w)) in square_check_line() 397 wy -= w; in square_check_line() 398 if (wx > 0 && wy > 0 && square_check(x, y, cx-wx, cy-wy, cx+wx, cy+wy)) in square_check_line() 498 double wy = fabs(arg->y1-arg->y2)/2; circle_check_line() local [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureTestUtil.cpp | 302 static inline float triDerivateY (const tcu::Vec3& s, const tcu::Vec3& w, float wy, float height, float nx) in triDerivateY() argument 304 float d = w[1]*w[2]*(height*(nx - 1.0f) + wy) - w[0]*(w[1]*height*nx + w[2]*wy); in triDerivateY() 309 static float computeProjectedTriLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& projection, float wx, float wy, float width, float height) in computeProjectedTriLod() argument 312 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod() 313 float dudy = triDerivateY(u, projection, wy, height, wx/width); in computeProjectedTriLod() 319 static float computeProjectedTriLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& v, const tcu::Vec3& projection, float wx, float wy, float width, float height) in computeProjectedTriLod() argument 322 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod() 323 float dvdx = triDerivateX(v, projection, wx, width, wy/height); in computeProjectedTriLod() 324 float dudy = triDerivateY(u, projection, wy, heigh in computeProjectedTriLod() 331 computeProjectedTriLod(LodMode mode, const tcu::Vec3& u, const tcu::Vec3& v, const tcu::Vec3& w, const tcu::Vec3& projection, float wx, float wy, float width, float height) computeProjectedTriLod() argument 495 float wy = (float)py + 0.5f; sampleTextureProjected() local 539 float wy = (float)py + 0.5f; sampleTextureProjected() local 677 const float wy = (float)py + 0.5f; sampleTextureCube() local 886 float wy = (float)py + 0.5f; sampleTextureProjected() local 953 const float wy = (float)py + 0.5f; sampleTextureCubeArray() local 1347 const float wy = (float)py + 0.5f; computeTextureLookupDiff() local 1473 const float wy = (float)py + 0.5f; computeTextureLookupDiff() local 1697 const float wy = (float)py + 0.5f; computeTextureLookupDiff() local 1888 const float wy = (float)py + 0.5f; computeTextureLookupDiff() local 2055 const float wy = (float)py + 0.5f; computeTextureLookupDiff() local 2164 const float wy = (float)py + 0.5f; computeTextureLookupDiff() local 2371 const float wy = (float)py + 0.5f; computeTextureLookupDiff() local 2548 const float wy = (float)py + 0.5f; computeTextureCompareDiff() local 2664 const float wy = (float)py + 0.5f; computeTextureCompareDiff() local 2786 const float wy = (float)py + 0.5f; computeTextureCompareDiff() local 2898 const float wy = (float)py + 0.5f; computeTextureCompareDiff() local 3005 const float wy = (float)py + 0.5f; computeTextureCompareDiff() local 3116 const float wy = (float)py + 0.5f; computeTextureCompareDiff() local [all...] |
/third_party/astc-encoder/Test/ |
H A D | astc_trace_analysis.py | 312 wy = get_attrib(candidate, "weight_y") 318 candStruct = Candidate(wx, wy, wz, wq) 449 wy = can.weight_y 451 if MERGE_ROTATIONS and wx < wy: 452 wx, wy = wy, wx 454 decim_count[wx][wy] += 1 455 quant_count[wx][wy][can.weight_quant] += 1
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_ciescope.c | 1196 int wx, wy; in plot_white_point() local 1202 wy = (h - 1) - ((int) ((h - 1) * wvp)); in plot_white_point() 1207 wy = (h - 1) - ((int) ((h - 1) * wv)); in plot_white_point() 1210 wy = (h - 1) - ((int) ((h - 1) * cs->yWhite)); in plot_white_point() 1216 wx + Sz(3), wy, wx + Sz(10), wy, in plot_white_point() 1219 wx - Sz(3), wy, wx - Sz(10), wy, in plot_white_point() 1222 wx, wy + Sz(3), wx, wy in plot_white_point() 1418 int wx, wy, pos; filter_frame() local [all...] |
H A D | vf_shear.c | 132 const int wy = hsub * shy * width * 0.5f / vsub; \ 143 int sy = y + hsub * shy * x / vsub - wy; \ 179 const float wy = hsub * shy * width * 0.5f / vsub; \ 190 const float sy = y + hsub * shy * x / vsub - wy; \
|
H A D | vf_datascope.c | 467 float wx, wy; member 501 { "wy", "set window y offset", POFFSET(wy), AV_OPT_TYPE_FLOAT, {.dbl=-1}, -1, 1, FLAGSR }, 594 if (s->wy >= 0) { in pixscope_filter_frame() 595 Y = (in->height - s->wh) * s->wy; in pixscope_filter_frame() 597 Y = (in->height - s->wh) * -s->wy; in pixscope_filter_frame() 607 if (s->wy < 0) { in pixscope_filter_frame() 610 Y = (in->height - s->wh) * (1 + s->wy); in pixscope_filter_frame()
|
/third_party/skia/include/third_party/skcms/ |
H A D | skcms.h | 366 SKCMS_API bool skcms_AdaptToXYZD50(float wx, float wy, 374 float wx, float wy,
|
/third_party/backends/backend/ |
H A D | st400.h | 73 unsigned short wy, wh; /* current subwindow */ member
|
H A D | apple.h | 237 double wy; member
|
H A D | st400.c | 345 set16(scsi_cmd.y_ul, dev->wy + yoff); in st400_set_window() 352 DBG(DSCSI, "SCSI: sending SET_WINDOW (x=%hu y=%hu w=%hu h=%hu wy=%hu wh=%hu th=%d\n", dev->x, dev->y, dev->w, dev->h, dev->wy, dev->wh, (int)th); in st400_set_window() 401 dev->wy += dev->wh; in st400_fill_scanner_buffer() 1167 dev->wy = dev->y; in sane_start()
|
H A D | apple.c | 933 s->wy = SANE_UNFIX (s->val[OPT_BR_Y].w) / MM_PER_INCH - s->uly; in calc_parameters() 936 s->ulx, s->uly, s->wx, s->wy); in calc_parameters() 946 s->Height = yquant (s->wy, s->val[OPT_RESOLUTION].w, 1); in calc_parameters() 980 s->wy = (double) s->Height / 1200; in calc_parameters() 984 s->ulx, s->uly, s->wx, s->wy); in calc_parameters() 1023 s->val[OPT_BR_Y].w = SANE_FIX ((s->uly + s->wy) * MM_PER_INCH); in calc_parameters()
|
/third_party/lzma/CPP/Windows/Control/ |
H A D | Dialog.cpp | 172 const int wy = RECT_SIZE_Y(rect);
in IsDialogSizeOK() local 175 ySize / 8 * y <= wy;
in IsDialogSizeOK()
|
/third_party/skia/third_party/skcms/ |
H A D | skcms.cc | 1682 bool skcms_AdaptToXYZD50(float wx, float wy, 1684 if (!is_zero_to_one(wx) || !is_zero_to_one(wy) || 1690 skcms_Vector3 wXYZ = { { wx / wy, 1, (1 - wx - wy) / wy } }; 1726 float wx, float wy, 1731 !is_zero_to_one(wx) || !is_zero_to_one(wy) || 1748 skcms_Vector3 wXYZ = { { wx / wy, 1, (1 - wx - wy) / wy } }; [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrTextureEffect.h | 89 GrSamplerState::WrapMode wy,
|
H A D | GrTextureEffect.cpp | 226 Wrap wy, in MakeCustomLinearFilterInset() 232 GrSamplerState sampler(wx, wy, Filter::kLinear); in MakeCustomLinearFilterInset() 221 MakeCustomLinearFilterInset( GrSurfaceProxyView view, SkAlphaType alphaType, const SkMatrix& matrix, Wrap wx, Wrap wy, const SkRect& subset, const SkRect* domain, SkVector inset, const GrCaps& caps, const float border[4]) MakeCustomLinearFilterInset() argument
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 79 float wy = (float)py + 0.5f; in renderReference() local 81 float ny = wy / dstH; in renderReference()
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
H A D | es3aVaryingInterpolationTests.cpp | 81 float wy = (float)py + 0.5f; in renderReference() local 83 float ny = wy / dstH; in renderReference()
|
/third_party/ffmpeg/libavcodec/ |
H A D | pngenc.c | 299 double rx, ry, gx, gy, bx, by, wx = 0.3127, wy = 0.3290; in png_get_chrm() local 310 wx = 0.310; wy = 0.316; in png_get_chrm() 332 AV_WB32_PNG(buf , wx); AV_WB32_PNG(buf + 4 , wy); in png_get_chrm()
|
H A D | diracdec.c | 1575 int left, int right, int wy) in init_obmc_weight_row() 1579 obmc_weight[x] = wy*8; in init_obmc_weight_row() 1581 obmc_weight[x] = wy*weight(x, p->xblen, p->xoffset); in init_obmc_weight_row() 1583 obmc_weight[x] = wy*8; in init_obmc_weight_row() 1597 int wy = weight(y, p->yblen, p->yoffset); in init_obmc_weight() local 1598 init_obmc_weight_row(p, obmc_weight, stride, left, right, wy); in init_obmc_weight() 1574 init_obmc_weight_row(Plane *p, uint8_t *obmc_weight, int stride, int left, int right, int wy) init_obmc_weight_row() argument
|
/third_party/skia/src/shaders/ |
H A D | SkImageShader.cpp | 836 wy[4]; in makeProgram() 855 wy[row] = dot(ru, tmpy); in makeProgram() 866 skvm::F32 w = wx[i] * wy[j]; in makeProgram()
|
/third_party/skia/src/codec/ |
H A D | SkPngCodec.cpp | 402 float wy = png_fixed_point_to_float(chrm[1]); in read_color_profile() local 405 if (skcms_PrimariesToXYZD50(rx, ry, gx, gy, bx, by, wx, wy, &tmp)) { in read_color_profile()
|