/third_party/ffmpeg/libavfilter/ |
H A D | edge_common.c | 22 static int get_rounded_direction(int gx, int gy) in get_rounded_direction() argument 38 gx = -gx, gy = -gy; in get_rounded_direction() 39 gy *= (1 << 16); in get_rounded_direction() 42 if (gy > -tan3pi8gx && gy < -tanpi8gx) return DIRECTION_45UP; in get_rounded_direction() 43 if (gy > -tanpi8gx && gy < tanpi8gx) return DIRECTION_HORIZONTAL; in get_rounded_direction() 44 if (gy > tanpi8gx && gy < tan3pi8g in get_rounded_direction() 66 const int gy = ff_sobel() local [all...] |
H A D | vf_photosensitivity.c | 84 int cell, gx, gy, x0, x1, y0, y1, x, y, c, area; in convert_frame_partial() local 98 gy = cell / GRID_SIZE; in convert_frame_partial() 102 y0 = height * gy / GRID_SIZE; in convert_frame_partial() 103 y1 = height * (gy+1) / GRID_SIZE; in convert_frame_partial() 111 //av_log(NULL, AV_LOG_VERBOSE, "%d %d %d : (%d,%d) (%d,%d) -> %d,%d | *%d\n", c, gx, gy, x0, y0, x1, y1, x, y, (int)row); in convert_frame_partial() 124 td->out->grid[gy][gx][c] = sum[c]; in convert_frame_partial()
|
H A D | vf_chromashift.c | 189 const int gy = av_clip(y - gv, 0, h-1) * sglinesize; \ 195 dg[x] = sg[av_clip(x - gh, 0, w - 1) + gy]; \ 256 int gy = (y - gv) % h; \ 261 if (gy < 0) \ 262 gy += h; \ 278 dg[x] = sg[gx + gy * sglinesize]; \
|
H A D | vf_ciescope.c | 1335 int rx, ry, gx, gy, bx, by; in plot_gamuts() local 1346 gy = (h - 1) - ((int) ((h - 1) * wvp)); in plot_gamuts() 1357 gy = (h - 1) - ((int) ((h - 1) * wv)); in plot_gamuts() 1365 gy = (h - 1) - ((int) ((h - 1) * cs->yGreen)); in plot_gamuts() 1372 draw_rline(pixels, linesize, rx, ry, gx, gy, w, h); in plot_gamuts() 1373 draw_rline(pixels, linesize, gx, gy, bx, by, w, h); in plot_gamuts()
|
/third_party/skia/third_party/externals/freetype/src/sdf/ |
H A D | ftbsdf.c | 448 FT_16D16 gx, gy; in compute_edge_distance() local 509 gy = g.y; in compute_edge_distance() 512 gy = FT_ABS( gy ); in compute_edge_distance() 514 if ( gx < gy ) in compute_edge_distance() 517 gx = gy; in compute_edge_distance() 518 gy = temp; in compute_edge_distance() 521 a1 = FT_DivFix( gy, gx ) / 2; in compute_edge_distance() 524 dist = ( gx + gy ) / 2 - in compute_edge_distance() 526 FT_MulFix( gy, in compute_edge_distance() [all...] |
/third_party/skia/tests/ |
H A D | PathOpsSimplifyQuadThreadedTest.cpp | 34 int gy = g >> 2; in testSimplifyQuadsMain() local 46 path.quadTo(SkIntToScalar(gx), SkIntToScalar(gy), in testSimplifyQuadsMain() 59 pathStr.appendf(" path.quadTo(%d, %d, %d, %d);\n", gx, gy, hx, hy); in testSimplifyQuadsMain()
|
H A D | PathOpsSimplifyQuadralateralsThreadedTest.cpp | 34 int gy = g >> 2; in testSimplifyQuadralateralsMain() local 46 path.lineTo(SkIntToScalar(gx), SkIntToScalar(gy)); in testSimplifyQuadralateralsMain() 60 pathStr.appendf(" path.lineTo(%d, %d);\n", gx, gy); in testSimplifyQuadralateralsMain()
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | regexp-routines.js | 117 r = /(?:)/gy; 146 assert (RegExp.prototype[Symbol.match].call(/a/gy, "aaa").length === 3);
|
/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*r + gy* 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...] |
H A D | rgb2rgb_template.c | 653 int32_t ry = rgb2yuv[RY_IDX], gy = rgb2yuv[GY_IDX], by = rgb2yuv[BY_IDX]; in ff_rgb24toyv12_c() local 666 unsigned int Y = ((ry * r + gy * g + by * b) >> RGB2YUV_SHIFT) + 16; in ff_rgb24toyv12_c() 678 Y = ((ry * r + gy * g + by * b) >> RGB2YUV_SHIFT) + 16; in ff_rgb24toyv12_c() 692 unsigned int Y = ((ry * r + gy * g + by * b) >> RGB2YUV_SHIFT) + 16; in ff_rgb24toyv12_c() 700 Y = ((ry * r + gy * g + by * b) >> RGB2YUV_SHIFT) + 16; in ff_rgb24toyv12_c()
|
/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 303 gx = 0.300; gy = 0.600; in png_get_chrm() 308 gx = 0.210; gy = 0.710; in png_get_chrm() 314 gx = 0.290; gy = 0.600; in png_get_chrm() 320 gx = 0.310; gy = 0.595; in png_get_chrm() 325 gx = 0.170; gy = 0.797; in png_get_chrm() 334 AV_WB32_PNG(buf + 16, gx); AV_WB32_PNG(buf + 20, gy); in png_get_chrm()
|
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgProgramExecutor.cpp | 199 float gy = ((float)y + 0.5f) / cellHeight; in computeGridCellWeights() local 200 return tcu::Vec2(deFloatFrac(gx), deFloatFrac(gy)); in computeGridCellWeights()
|
/third_party/skia/include/third_party/skcms/ |
H A D | skcms.h | 372 float gx, float gy,
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | ETC_Decoder.cpp | 576 int gy = j * (gv - go) + 2; in decodePlanarBlock() local 581 ((i * (gh - go) + gy) >> 2) + go, in decodePlanarBlock()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | ETC_Decoder.cpp | 579 int gy = j * (gv - go) + 2; in decodePlanarBlock() local 584 ((i * (gh - go) + gy) >> 2) + go, in decodePlanarBlock()
|
/third_party/skia/src/codec/ |
H A D | SkPngCodec.cpp | 398 float gy = png_fixed_point_to_float(chrm[5]); in read_color_profile() local 405 if (skcms_PrimariesToXYZD50(rx, ry, gx, gy, bx, by, wx, wy, &tmp)) { in read_color_profile()
|
/third_party/skia/third_party/skcms/ |
H A D | skcms.cc | 1724 float gx, float gy, 1729 !is_zero_to_one(gx) || !is_zero_to_one(gy) || 1739 { ry, gy, by }, 1740 { 1 - rx - ry, 1 - gx - gy, 1 - bx - by },
|
/third_party/ffmpeg/libswscale/x86/ |
H A D | input.asm | 883 VBROADCASTSS m11, dword [rgb2yuvq + GY_IDX*4] ; gy 921 PMUL G, G, m11 ; g*gy
|
/third_party/skia/third_party/externals/angle2/src/image_util/ |
H A D | loadimage_etc.cpp | 660 int gy = static_cast<int>(j) * (gv - go) + 2; in decodePlanarBlock() local 665 ((static_cast<int>(i) * (gh - go) + gy) >> 2) + go, in decodePlanarBlock()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngvalid.c | 3331 png_fixed_point wx, wy, rx, ry, gx, gy, bx, by; member 3346 png_save_uint_32(pm->buffer+28, ((chrm_modification*)me)->gy); in chrm_modify() 3368 me->gy = fix(chromaticity_y(encoding->green)); in chrm_modification_init()
|
/third_party/glfw/deps/ |
H A D | nuklear.h | 10364 float gx, gy, gh, gw; in nk_draw_list_add_text() local 10375 gy = rect.y + g.offset.y; in nk_draw_list_add_text() 10378 nk_draw_list_push_rect_uv(list, nk_vec2(gx,gy), nk_vec2(gx + gw, gy+ gh), in nk_draw_list_add_text()
|
/third_party/mbedtls/library/ |
H A D | ecp_curves_new.c | 4529 const mbedtls_mpi_uint *gy, size_t gylen, in ecp_group_load() 4541 ecp_mpi_load(&grp->G.Y, gy, gylen); in ecp_group_load() 4524 ecp_group_load(mbedtls_ecp_group *grp, const mbedtls_mpi_uint *p, size_t plen, const mbedtls_mpi_uint *a, size_t alen, const mbedtls_mpi_uint *b, size_t blen, const mbedtls_mpi_uint *gx, size_t gxlen, const mbedtls_mpi_uint *gy, size_t gylen, const mbedtls_mpi_uint *n, size_t nlen, const mbedtls_ecp_point *T) ecp_group_load() argument
|
H A D | ecp_curves.c | 4519 const mbedtls_mpi_uint *gy, size_t gylen, in ecp_group_load() 4531 ecp_mpi_load(&grp->G.Y, gy, gylen); in ecp_group_load() 4514 ecp_group_load(mbedtls_ecp_group *grp, const mbedtls_mpi_uint *p, size_t plen, const mbedtls_mpi_uint *a, size_t alen, const mbedtls_mpi_uint *b, size_t blen, const mbedtls_mpi_uint *gx, size_t gxlen, const mbedtls_mpi_uint *gy, size_t gylen, const mbedtls_mpi_uint *n, size_t nlen, const mbedtls_ecp_point *T) ecp_group_load() argument
|