Lines Matching defs:STAGE

762     #define STAGE(name, ...)                                                          \
775 #define STAGE(name, ...) \
912 STAGE(seed_shader, const float* iota) {
923 STAGE(dither, const float* rate) {
956 STAGE(uniform_color, const SkJumper_UniformColorCtx* c) {
964 STAGE(black_color, Ctx::None) {
969 STAGE(white_color, Ctx::None) {
974 STAGE(load_rgba, const float* ptr) {
982 STAGE(store_rgba, float* ptr) {
992 STAGE(name, Ctx::None) { \
1024 STAGE(name, Ctx::None) { \
1122 STAGE(hue, Ctx::None) {
1136 STAGE(saturation, Ctx::None) {
1150 STAGE(color, Ctx::None) {
1163 STAGE(luminosity, Ctx::None) {
1177 STAGE(srcover_rgba_8888, const SkJumper_MemoryCtx* ctx) {
1202 STAGE(srcover_bgra_8888, const SkJumper_MemoryCtx* ctx) {
1227 STAGE(clamp_0, Ctx::None) {
1234 STAGE(clamp_1, Ctx::None) {
1241 STAGE(clamp_a, Ctx::None) {
1248 STAGE(clamp_a_dst, Ctx::None) {
1255 STAGE(set_rgb, const float* rgb) {
1260 STAGE(swap_rb, Ctx::None) {
1265 STAGE(invert, Ctx::None) {
1272 STAGE(move_src_dst, Ctx::None) {
1278 STAGE(move_dst_src, Ctx::None) {
1285 STAGE(premul, Ctx::None) {
1290 STAGE(premul_dst, Ctx::None) {
1295 STAGE(unpremul, Ctx::None) {
1303 STAGE(force_opaque , Ctx::None) { a = 1; }
1304 STAGE(force_opaque_dst, Ctx::None) { da = 1; }
1312 STAGE(from_srgb, Ctx::None) {
1317 STAGE(from_srgb_dst, Ctx::None) {
1322 STAGE(to_srgb, Ctx::None) {
1350 STAGE(rgb_to_hsl, Ctx::None) {
1370 STAGE(hsl_to_rgb, Ctx::None) {
1399 STAGE(scale_1_float, const float* c) {
1405 STAGE(scale_u8, const SkJumper_MemoryCtx* ctx) {
1416 STAGE(scale_565, const SkJumper_MemoryCtx* ctx) {
1434 STAGE(lerp_1_float, const float* c) {
1440 STAGE(lerp_u8, const SkJumper_MemoryCtx* ctx) {
1451 STAGE(lerp_565, const SkJumper_MemoryCtx* ctx) {
1465 STAGE(load_tables, const SkJumper_LoadTablesCtx* c) {
1472 STAGE(load_tables_u16_be, const SkJumper_LoadTablesCtx* c) {
1484 STAGE(load_tables_rgb_u16_be, const SkJumper_LoadTablesCtx* c) {
1497 STAGE(byte_tables, const void* ctx) { // TODO: rename Tables SkJumper_ByteTablesCtx
1507 STAGE(byte_tables_rgb, const void* ctx) { // TODO: rename Tables SkJumper_ByteTablesRGBCtx
1520 STAGE(table_r, const SkJumper_TableCtx* ctx) { r = table(r, ctx); }
1521 STAGE(table_g, const SkJumper_TableCtx* ctx) { g = table(g, ctx); }
1522 STAGE(table_b, const SkJumper_TableCtx* ctx) { b = table(b, ctx); }
1523 STAGE(table_a, const SkJumper_TableCtx* ctx) { a = table(a, ctx); }
1530 STAGE(parametric_r, const SkJumper_ParametricTransferFunction* ctx) { r = parametric(r, ctx); }
1531 STAGE(parametric_g, const SkJumper_ParametricTransferFunction* ctx) { g = parametric(g, ctx); }
1532 STAGE(parametric_b, const SkJumper_ParametricTransferFunction* ctx) { b = parametric(b, ctx); }
1533 STAGE(parametric_a, const SkJumper_ParametricTransferFunction* ctx) { a = parametric(a, ctx); }
1535 STAGE(gamma, const float* G) {
1540 STAGE(gamma_dst, const float* G) {
1546 STAGE(lab_to_xyz, Ctx::None) {
1565 STAGE(load_a8, const SkJumper_MemoryCtx* ctx) {
1571 STAGE(load_a8_dst, const SkJumper_MemoryCtx* ctx) {
1577 STAGE(gather_a8, const SkJumper_GatherCtx* ctx) {
1583 STAGE(store_a8, const SkJumper_MemoryCtx* ctx) {
1590 STAGE(load_g8, const SkJumper_MemoryCtx* ctx) {
1596 STAGE(load_g8_dst, const SkJumper_MemoryCtx* ctx) {
1602 STAGE(gather_g8, const SkJumper_GatherCtx* ctx) {
1609 STAGE(load_565, const SkJumper_MemoryCtx* ctx) {
1615 STAGE(load_565_dst, const SkJumper_MemoryCtx* ctx) {
1621 STAGE(gather_565, const SkJumper_GatherCtx* ctx) {
1627 STAGE(store_565, const SkJumper_MemoryCtx* ctx) {
1636 STAGE(load_4444, const SkJumper_MemoryCtx* ctx) {
1640 STAGE(load_4444_dst, const SkJumper_MemoryCtx* ctx) {
1644 STAGE(gather_4444, const SkJumper_GatherCtx* ctx) {
1649 STAGE(store_4444, const SkJumper_MemoryCtx* ctx) {
1658 STAGE(load_8888, const SkJumper_MemoryCtx* ctx) {
1662 STAGE(load_8888_dst, const SkJumper_MemoryCtx* ctx) {
1666 STAGE(gather_8888, const SkJumper_GatherCtx* ctx) {
1671 STAGE(store_8888, const SkJumper_MemoryCtx* ctx) {
1681 STAGE(load_bgra, const SkJumper_MemoryCtx* ctx) {
1685 STAGE(load_bgra_dst, const SkJumper_MemoryCtx* ctx) {
1689 STAGE(gather_bgra, const SkJumper_GatherCtx* ctx) {
1694 STAGE(store_bgra, const SkJumper_MemoryCtx* ctx) {
1704 STAGE(load_1010102, const SkJumper_MemoryCtx* ctx) {
1708 STAGE(load_1010102_dst, const SkJumper_MemoryCtx* ctx) {
1712 STAGE(gather_1010102, const SkJumper_GatherCtx* ctx) {
1717 STAGE(store_1010102, const SkJumper_MemoryCtx* ctx) {
1727 STAGE(load_f16, const SkJumper_MemoryCtx* ctx) {
1737 STAGE(load_f16_dst, const SkJumper_MemoryCtx* ctx) {
1747 STAGE(gather_f16, const SkJumper_GatherCtx* ctx) {
1759 STAGE(store_f16, const SkJumper_MemoryCtx* ctx) {
1767 STAGE(load_u16_be, const SkJumper_MemoryCtx* ctx) {
1778 STAGE(load_rgb_u16_be, const SkJumper_MemoryCtx* ctx) {
1789 STAGE(store_u16_be, const SkJumper_MemoryCtx* ctx) {
1800 STAGE(load_f32, const SkJumper_MemoryCtx* ctx) {
1804 STAGE(load_f32_dst, const SkJumper_MemoryCtx* ctx) {
1808 STAGE(store_f32, const SkJumper_MemoryCtx* ctx) {
1824 STAGE(repeat_x, const SkJumper_TileCtx* ctx) { r = exclusive_repeat(r, ctx); }
1825 STAGE(repeat_y, const SkJumper_TileCtx* ctx) { g = exclusive_repeat(g, ctx); }
1826 STAGE(mirror_x, const SkJumper_TileCtx* ctx) { r = exclusive_mirror(r, ctx); }
1827 STAGE(mirror_y, const SkJumper_TileCtx* ctx) { g = exclusive_mirror(g, ctx); }
1833 STAGE( clamp_x_1, Ctx::None) { r = clamp_01(r); }
1834 STAGE(repeat_x_1, Ctx::None) { r = clamp_01(r - floor_(r)); }
1835 STAGE(mirror_x_1, Ctx::None) { r = clamp_01(abs_( (r-1.0f) - two(floor_((r-1.0f)*0.5f)) - 1.0f )); }
1843 STAGE(decal_x, SkJumper_DecalTileCtx* ctx) {
1847 STAGE(decal_y, SkJumper_DecalTileCtx* ctx) {
1851 STAGE(decal_x_and_y, SkJumper_DecalTileCtx* ctx) {
1857 STAGE(check_decal_mask, SkJumper_DecalTileCtx* ctx) {
1865 STAGE(luminance_to_alpha, Ctx::None) {
1870 STAGE(matrix_translate, const float* m) {
1874 STAGE(matrix_scale_translate, const float* m) {
1878 STAGE(matrix_2x3, const float* m) {
1884 STAGE(matrix_3x4, const float* m) {
1892 STAGE(matrix_4x5, const float* m) {
1902 STAGE(matrix_4x3, const float* m) {
1911 STAGE(matrix_perspective, const float* m) {
1952 STAGE(evenly_spaced_gradient, const SkJumper_GradientCtx* c) {
1958 STAGE(gradient, const SkJumper_GradientCtx* c) {
1970 STAGE(evenly_spaced_2_stop_gradient, const void* ctx) {
1982 STAGE(xy_to_unit_angle, Ctx::None) {
2008 STAGE(xy_to_radius, Ctx::None) {
2016 STAGE(negate_x, Ctx::None) { r = -r; }
2018 STAGE(xy_to_2pt_conical_strip, const SkJumper_2PtConicalCtx* ctx) {
2023 STAGE(xy_to_2pt_conical_focal_on_circle, Ctx::None) {
2028 STAGE(xy_to_2pt_conical_well_behaved, const SkJumper_2PtConicalCtx* ctx) {
2033 STAGE(xy_to_2pt_conical_greater, const SkJumper_2PtConicalCtx* ctx) {
2038 STAGE(xy_to_2pt_conical_smaller, const SkJumper_2PtConicalCtx* ctx) {
2043 STAGE(alter_2pt_conical_compensate_focal, const SkJumper_2PtConicalCtx* ctx) {
2048 STAGE(alter_2pt_conical_unswap, Ctx::None) {
2053 STAGE(mask_2pt_conical_nan, SkJumper_2PtConicalCtx* c) {
2060 STAGE(mask_2pt_conical_degenerates, SkJumper_2PtConicalCtx* c) {
2067 STAGE(apply_vector_mask, const uint32_t* ctx) {
2075 STAGE(save_xy, SkJumper_SamplerCtx* c) {
2089 STAGE(accumulate, const SkJumper_SamplerCtx* c) {
2126 STAGE(bilinear_nx, SkJumper_SamplerCtx* ctx) { bilinear_x<-1>(ctx, &r); }
2127 STAGE(bilinear_px, SkJumper_SamplerCtx* ctx) { bilinear_x<+1>(ctx, &r); }
2128 STAGE(bilinear_ny, SkJumper_SamplerCtx* ctx) { bilinear_y<-1>(ctx, &g); }
2129 STAGE(bilinear_py, SkJumper_SamplerCtx* ctx) { bilinear_y<+1>(ctx, &g); }
2172 STAGE(bicubic_n3x, SkJumper_SamplerCtx* ctx) { bicubic_x<-3>(ctx, &r); }
2173 STAGE(bicubic_n1x, SkJumper_SamplerCtx* ctx) { bicubic_x<-1>(ctx, &r); }
2174 STAGE(bicubic_p1x, SkJumper_SamplerCtx* ctx) { bicubic_x<+1>(ctx, &r); }
2175 STAGE(bicubic_p3x, SkJumper_SamplerCtx* ctx) { bicubic_x<+3>(ctx, &r); }
2177 STAGE(bicubic_n3y, SkJumper_SamplerCtx* ctx) { bicubic_y<-3>(ctx, &g); }
2178 STAGE(bicubic_n1y, SkJumper_SamplerCtx* ctx) { bicubic_y<-1>(ctx, &g); }
2179 STAGE(bicubic_p1y, SkJumper_SamplerCtx* ctx) { bicubic_y<+1>(ctx, &g); }
2180 STAGE(bicubic_p3y, SkJumper_SamplerCtx* ctx) { bicubic_y<+3>(ctx, &g); }
2182 STAGE(callback, SkJumper_CallbackCtx* c) {
2230 STAGE(clut_3D, const SkJumper_ColorLookupTableCtx* ctx) {
2234 STAGE(clut_4D, const SkJumper_ColorLookupTableCtx* ctx) {
2240 STAGE(gauss_a_to_rgba, Ctx::None) {
2257 STAGE(bilerp_clamp_8888, SkJumper_GatherCtx* ctx) {