Searched defs:STAGE (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/jumper/
H A DSkJumper_stages.cpp762 #define STAGE(name, ...) \ macro
775 #define STAGE(name, ...) \ macro
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(nam
1484 STAGE(load_tables_rgb_u16_be, const SkJumper_LoadTablesCtx* c) { function
1497 STAGE(byte_tables, const void* ctx) { // TODO: rename Tables SkJumper_ByteTablesCtx function
1507 STAGE(byte_tables_rgb, const void* ctx) { // TODO: rename Tables SkJumper_ByteTablesRGBCtx function
1520 STAGE(table_r, const SkJumper_TableCtx* ctx) { r = table(r, ctx); } function
1521 STAGE(table_g, const SkJumper_TableCtx* ctx) { g = table(g, ctx); } function
1522 STAGE(table_b, const SkJumper_TableCtx* ctx) { b = table(b, ctx); } function
1523 STAGE(table_a, const SkJumper_TableCtx* ctx) { a = table(a, ctx); } function
1530 STAGE(parametric_r, const SkJumper_ParametricTransferFunction* ctx) { r = parametric(r, ctx); } function
1531 STAGE(parametric_g, const SkJumper_ParametricTransferFunction* ctx) { g = parametric(g, ctx); } function
1532 STAGE(parametric_b, const SkJumper_ParametricTransferFunction* ctx) { b = parametric(b, ctx); } function
1533 STAGE(parametric_a, const SkJumper_ParametricTransferFunction* ctx) { a = parametric(a, ctx); } function
1535 STAGE(gamma, const float* G) { function
1540 STAGE(gamma_dst, const float* G) { function
1546 STAGE(lab_to_xyz, Ctx::None) { function
1565 STAGE(load_a8, const SkJumper_MemoryCtx* ctx) { function
1571 STAGE(load_a8_dst, const SkJumper_MemoryCtx* ctx) { function
1577 STAGE(gather_a8, const SkJumper_GatherCtx* ctx) { function
1583 STAGE(store_a8, const SkJumper_MemoryCtx* ctx) { function
1590 STAGE(load_g8, const SkJumper_MemoryCtx* ctx) { function
1596 STAGE(load_g8_dst, const SkJumper_MemoryCtx* ctx) { function
1602 STAGE(gather_g8, const SkJumper_GatherCtx* ctx) { function
1609 STAGE(load_565, const SkJumper_MemoryCtx* ctx) { function
1615 STAGE(load_565_dst, const SkJumper_MemoryCtx* ctx) { function
1621 STAGE(gather_565, const SkJumper_GatherCtx* ctx) { function
1627 STAGE(store_565, const SkJumper_MemoryCtx* ctx) { function
1636 STAGE(load_4444, const SkJumper_MemoryCtx* ctx) { function
1640 STAGE(load_4444_dst, const SkJumper_MemoryCtx* ctx) { function
1644 STAGE(gather_4444, const SkJumper_GatherCtx* ctx) { function
1649 STAGE(store_4444, const SkJumper_MemoryCtx* ctx) { function
1658 STAGE(load_8888, const SkJumper_MemoryCtx* ctx) { function
1662 STAGE(load_8888_dst, const SkJumper_MemoryCtx* ctx) { function
1666 STAGE(gather_8888, const SkJumper_GatherCtx* ctx) { function
1671 STAGE(store_8888, const SkJumper_MemoryCtx* ctx) { function
1681 STAGE(load_bgra, const SkJumper_MemoryCtx* ctx) { function
1685 STAGE(load_bgra_dst, const SkJumper_MemoryCtx* ctx) { function
1689 STAGE(gather_bgra, const SkJumper_GatherCtx* ctx) { function
1694 STAGE(store_bgra, const SkJumper_MemoryCtx* ctx) { function
1704 STAGE(load_1010102, const SkJumper_MemoryCtx* ctx) { function
1708 STAGE(load_1010102_dst, const SkJumper_MemoryCtx* ctx) { function
1712 STAGE(gather_1010102, const SkJumper_GatherCtx* ctx) { function
1717 STAGE(store_1010102, const SkJumper_MemoryCtx* ctx) { function
1727 STAGE(load_f16, const SkJumper_MemoryCtx* ctx) { function
1737 STAGE(load_f16_dst, const SkJumper_MemoryCtx* ctx) { function
1747 STAGE(gather_f16, const SkJumper_GatherCtx* ctx) { function
1759 STAGE(store_f16, const SkJumper_MemoryCtx* ctx) { function
1767 STAGE(load_u16_be, const SkJumper_MemoryCtx* ctx) { function
1778 STAGE(load_rgb_u16_be, const SkJumper_MemoryCtx* ctx) { function
1789 STAGE(store_u16_be, const SkJumper_MemoryCtx* ctx) { function
1800 STAGE(load_f32, const SkJumper_MemoryCtx* ctx) { function
1804 STAGE(load_f32_dst, const SkJumper_MemoryCtx* ctx) { function
1808 STAGE(store_f32, const SkJumper_MemoryCtx* ctx) { function
1824 STAGE(repeat_x, const SkJumper_TileCtx* ctx) { r = exclusive_repeat(r, ctx); } function
1825 STAGE(repeat_y, const SkJumper_TileCtx* ctx) { g = exclusive_repeat(g, ctx); } function
1826 STAGE(mirror_x, const SkJumper_TileCtx* ctx) { r = exclusive_mirror(r, ctx); } function
1827 STAGE(mirror_y, const SkJumper_TileCtx* ctx) { g = exclusive_mirror(g, ctx); } function
1833 STAGE( clamp_x_1, Ctx::None) { r = clamp_01(r); } function
1834 STAGE(repeat_x_1, Ctx::None) { r = clamp_01(r - floor_(r)); } function
1835 STAGE(mirror_x_1, Ctx::None) { r = clamp_01(abs_( (r-1.0f) - two(floor_((r-1.0f)*0.5f)) - 1.0f )); } function
1843 STAGE(decal_x, SkJumper_DecalTileCtx* ctx) { function
1847 STAGE(decal_y, SkJumper_DecalTileCtx* ctx) { function
1851 STAGE(decal_x_and_y, SkJumper_DecalTileCtx* ctx) { function
1857 STAGE(check_decal_mask, SkJumper_DecalTileCtx* ctx) { function
1865 STAGE(luminance_to_alpha, Ctx::None) { function
1870 STAGE(matrix_translate, const float* m) { function
1874 STAGE(matrix_scale_translate, const float* m) { function
1878 STAGE(matrix_2x3, const float* m) { function
1884 STAGE(matrix_3x4, const float* m) { function
1892 STAGE(matrix_4x5, const float* m) { function
1902 STAGE(matrix_4x3, const float* m) { function
1911 STAGE(matrix_perspective, const float* m) { function
1952 STAGE(evenly_spaced_gradient, const SkJumper_GradientCtx* c) { function
1958 STAGE(gradient, const SkJumper_GradientCtx* c) { function
1970 STAGE(evenly_spaced_2_stop_gradient, const void* ctx) { function
1982 STAGE(xy_to_unit_angle, Ctx::None) { function
2008 STAGE(xy_to_radius, Ctx::None) { function
2016 STAGE(negate_x, Ctx::None) { r = -r; } function
2018 STAGE(xy_to_2pt_conical_strip, const SkJumper_2PtConicalCtx* ctx) { function
2023 STAGE(xy_to_2pt_conical_focal_on_circle, Ctx::None) { function
2028 STAGE(xy_to_2pt_conical_well_behaved, const SkJumper_2PtConicalCtx* ctx) { function
2033 STAGE(xy_to_2pt_conical_greater, const SkJumper_2PtConicalCtx* ctx) { function
2038 STAGE(xy_to_2pt_conical_smaller, const SkJumper_2PtConicalCtx* ctx) { function
2043 STAGE(alter_2pt_conical_compensate_focal, const SkJumper_2PtConicalCtx* ctx) { function
2048 STAGE(alter_2pt_conical_unswap, Ctx::None) { function
2053 STAGE(mask_2pt_conical_nan, SkJumper_2PtConicalCtx* c) { function
2060 STAGE(mask_2pt_conical_degenerates, SkJumper_2PtConicalCtx* c) { function
2067 STAGE(apply_vector_mask, const uint32_t* ctx) { function
2075 STAGE(save_xy, SkJumper_SamplerCtx* c) { function
2089 STAGE(accumulate, const SkJumper_SamplerCtx* c) { function
2126 STAGE(bilinear_nx, SkJumper_SamplerCtx* ctx) { bilinear_x<-1>(ctx, &r); } function
2127 STAGE(bilinear_px, SkJumper_SamplerCtx* ctx) { bilinear_x<+1>(ctx, &r); } function
2128 STAGE(bilinear_ny, SkJumper_SamplerCtx* ctx) { bilinear_y<-1>(ctx, &g); } function
2129 STAGE(bilinear_py, SkJumper_SamplerCtx* ctx) { bilinear_y<+1>(ctx, &g); } function
2172 STAGE(bicubic_n3x, SkJumper_SamplerCtx* ctx) { bicubic_x<-3>(ctx, &r); } function
2173 STAGE(bicubic_n1x, SkJumper_SamplerCtx* ctx) { bicubic_x<-1>(ctx, &r); } function
2174 STAGE(bicubic_p1x, SkJumper_SamplerCtx* ctx) { bicubic_x<+1>(ctx, &r); } function
2175 STAGE(bicubic_p3x, SkJumper_SamplerCtx* ctx) { bicubic_x<+3>(ctx, &r); } function
2177 STAGE(bicubic_n3y, SkJumper_SamplerCtx* ctx) { bicubic_y<-3>(ctx, &g); } function
2178 STAGE(bicubic_n1y, SkJumper_SamplerCtx* ctx) { bicubic_y<-1>(ctx, &g); } function
2179 STAGE(bicubic_p1y, SkJumper_SamplerCtx* ctx) { bicubic_y<+1>(ctx, &g); } function
2180 STAGE(bicubic_p3y, SkJumper_SamplerCtx* ctx) { bicubic_y<+3>(ctx, &g); } function
2182 STAGE(callback, SkJumper_CallbackCtx* c) { function
2230 STAGE(clut_3D, const SkJumper_ColorLookupTableCtx* ctx) { function
2234 STAGE(clut_4D, const SkJumper_ColorLookupTableCtx* ctx) { function
2240 STAGE(gauss_a_to_rgba, Ctx::None) { function
2257 STAGE(bilerp_clamp_8888, SkJumper_GatherCtx* ctx) { function
[all...]
/external/skqp/src/jumper/
H A DSkJumper_stages.cpp762 #define STAGE(name, ...) \ macro
775 #define STAGE(name, ...) \ macro
910 STAGE(seed_shader, const float* iota) {
921 STAGE(dither, const float* rate) {
954 STAGE(uniform_color, const SkJumper_UniformColorCtx* c) {
962 STAGE(black_color, Ctx::None) {
967 STAGE(white_color, Ctx::None) {
972 STAGE(load_rgba, const float* ptr) {
980 STAGE(store_rgba, float* ptr) {
990 STAGE(nam
1482 STAGE(load_tables_rgb_u16_be, const SkJumper_LoadTablesCtx* c) { function
1495 STAGE(byte_tables, const void* ctx) { // TODO: rename Tables SkJumper_ByteTablesCtx function
1505 STAGE(byte_tables_rgb, const void* ctx) { // TODO: rename Tables SkJumper_ByteTablesRGBCtx function
1518 STAGE(table_r, const SkJumper_TableCtx* ctx) { r = table(r, ctx); } function
1519 STAGE(table_g, const SkJumper_TableCtx* ctx) { g = table(g, ctx); } function
1520 STAGE(table_b, const SkJumper_TableCtx* ctx) { b = table(b, ctx); } function
1521 STAGE(table_a, const SkJumper_TableCtx* ctx) { a = table(a, ctx); } function
1528 STAGE(parametric_r, const SkJumper_ParametricTransferFunction* ctx) { r = parametric(r, ctx); } function
1529 STAGE(parametric_g, const SkJumper_ParametricTransferFunction* ctx) { g = parametric(g, ctx); } function
1530 STAGE(parametric_b, const SkJumper_ParametricTransferFunction* ctx) { b = parametric(b, ctx); } function
1531 STAGE(parametric_a, const SkJumper_ParametricTransferFunction* ctx) { a = parametric(a, ctx); } function
1533 STAGE(gamma, const float* G) { function
1538 STAGE(gamma_dst, const float* G) { function
1544 STAGE(lab_to_xyz, Ctx::None) { function
1563 STAGE(load_a8, const SkJumper_MemoryCtx* ctx) { function
1569 STAGE(load_a8_dst, const SkJumper_MemoryCtx* ctx) { function
1575 STAGE(gather_a8, const SkJumper_GatherCtx* ctx) { function
1581 STAGE(store_a8, const SkJumper_MemoryCtx* ctx) { function
1588 STAGE(load_g8, const SkJumper_MemoryCtx* ctx) { function
1594 STAGE(load_g8_dst, const SkJumper_MemoryCtx* ctx) { function
1600 STAGE(gather_g8, const SkJumper_GatherCtx* ctx) { function
1607 STAGE(load_565, const SkJumper_MemoryCtx* ctx) { function
1613 STAGE(load_565_dst, const SkJumper_MemoryCtx* ctx) { function
1619 STAGE(gather_565, const SkJumper_GatherCtx* ctx) { function
1625 STAGE(store_565, const SkJumper_MemoryCtx* ctx) { function
1634 STAGE(load_4444, const SkJumper_MemoryCtx* ctx) { function
1638 STAGE(load_4444_dst, const SkJumper_MemoryCtx* ctx) { function
1642 STAGE(gather_4444, const SkJumper_GatherCtx* ctx) { function
1647 STAGE(store_4444, const SkJumper_MemoryCtx* ctx) { function
1656 STAGE(load_8888, const SkJumper_MemoryCtx* ctx) { function
1660 STAGE(load_8888_dst, const SkJumper_MemoryCtx* ctx) { function
1664 STAGE(gather_8888, const SkJumper_GatherCtx* ctx) { function
1669 STAGE(store_8888, const SkJumper_MemoryCtx* ctx) { function
1679 STAGE(load_bgra, const SkJumper_MemoryCtx* ctx) { function
1683 STAGE(load_bgra_dst, const SkJumper_MemoryCtx* ctx) { function
1687 STAGE(gather_bgra, const SkJumper_GatherCtx* ctx) { function
1692 STAGE(store_bgra, const SkJumper_MemoryCtx* ctx) { function
1702 STAGE(load_1010102, const SkJumper_MemoryCtx* ctx) { function
1706 STAGE(load_1010102_dst, const SkJumper_MemoryCtx* ctx) { function
1710 STAGE(gather_1010102, const SkJumper_GatherCtx* ctx) { function
1715 STAGE(store_1010102, const SkJumper_MemoryCtx* ctx) { function
1725 STAGE(load_f16, const SkJumper_MemoryCtx* ctx) { function
1735 STAGE(load_f16_dst, const SkJumper_MemoryCtx* ctx) { function
1745 STAGE(gather_f16, const SkJumper_GatherCtx* ctx) { function
1757 STAGE(store_f16, const SkJumper_MemoryCtx* ctx) { function
1765 STAGE(load_u16_be, const SkJumper_MemoryCtx* ctx) { function
1776 STAGE(load_rgb_u16_be, const SkJumper_MemoryCtx* ctx) { function
1787 STAGE(store_u16_be, const SkJumper_MemoryCtx* ctx) { function
1798 STAGE(load_f32, const SkJumper_MemoryCtx* ctx) { function
1802 STAGE(load_f32_dst, const SkJumper_MemoryCtx* ctx) { function
1806 STAGE(store_f32, const SkJumper_MemoryCtx* ctx) { function
1822 STAGE(repeat_x, const SkJumper_TileCtx* ctx) { r = exclusive_repeat(r, ctx); } function
1823 STAGE(repeat_y, const SkJumper_TileCtx* ctx) { g = exclusive_repeat(g, ctx); } function
1824 STAGE(mirror_x, const SkJumper_TileCtx* ctx) { r = exclusive_mirror(r, ctx); } function
1825 STAGE(mirror_y, const SkJumper_TileCtx* ctx) { g = exclusive_mirror(g, ctx); } function
1831 STAGE( clamp_x_1, Ctx::None) { r = clamp_01(r); } function
1832 STAGE(repeat_x_1, Ctx::None) { r = clamp_01(r - floor_(r)); } function
1833 STAGE(mirror_x_1, Ctx::None) { r = clamp_01(abs_( (r-1.0f) - two(floor_((r-1.0f)*0.5f)) - 1.0f )); } function
1835 STAGE(luminance_to_alpha, Ctx::None) { function
1840 STAGE(matrix_translate, const float* m) { function
1844 STAGE(matrix_scale_translate, const float* m) { function
1848 STAGE(matrix_2x3, const float* m) { function
1854 STAGE(matrix_3x4, const float* m) { function
1862 STAGE(matrix_4x5, const float* m) { function
1872 STAGE(matrix_4x3, const float* m) { function
1881 STAGE(matrix_perspective, const float* m) { function
1922 STAGE(evenly_spaced_gradient, const SkJumper_GradientCtx* c) { function
1928 STAGE(gradient, const SkJumper_GradientCtx* c) { function
1940 STAGE(evenly_spaced_2_stop_gradient, const void* ctx) { function
1952 STAGE(xy_to_unit_angle, Ctx::None) { function
1978 STAGE(xy_to_radius, Ctx::None) { function
1986 STAGE(negate_x, Ctx::None) { r = -r; } function
1988 STAGE(xy_to_2pt_conical_strip, const SkJumper_2PtConicalCtx* ctx) { function
1993 STAGE(xy_to_2pt_conical_focal_on_circle, Ctx::None) { function
1998 STAGE(xy_to_2pt_conical_well_behaved, const SkJumper_2PtConicalCtx* ctx) { function
2003 STAGE(xy_to_2pt_conical_greater, const SkJumper_2PtConicalCtx* ctx) { function
2008 STAGE(xy_to_2pt_conical_smaller, const SkJumper_2PtConicalCtx* ctx) { function
2013 STAGE(alter_2pt_conical_compensate_focal, const SkJumper_2PtConicalCtx* ctx) { function
2018 STAGE(alter_2pt_conical_unswap, Ctx::None) { function
2023 STAGE(mask_2pt_conical_nan, SkJumper_2PtConicalCtx* c) { function
2030 STAGE(mask_2pt_conical_degenerates, SkJumper_2PtConicalCtx* c) { function
2037 STAGE(apply_vector_mask, const uint32_t* ctx) { function
2045 STAGE(save_xy, SkJumper_SamplerCtx* c) { function
2059 STAGE(accumulate, const SkJumper_SamplerCtx* c) { function
2096 STAGE(bilinear_nx, SkJumper_SamplerCtx* ctx) { bilinear_x<-1>(ctx, &r); } function
2097 STAGE(bilinear_px, SkJumper_SamplerCtx* ctx) { bilinear_x<+1>(ctx, &r); } function
2098 STAGE(bilinear_ny, SkJumper_SamplerCtx* ctx) { bilinear_y<-1>(ctx, &g); } function
2099 STAGE(bilinear_py, SkJumper_SamplerCtx* ctx) { bilinear_y<+1>(ctx, &g); } function
2142 STAGE(bicubic_n3x, SkJumper_SamplerCtx* ctx) { bicubic_x<-3>(ctx, &r); } function
2143 STAGE(bicubic_n1x, SkJumper_SamplerCtx* ctx) { bicubic_x<-1>(ctx, &r); } function
2144 STAGE(bicubic_p1x, SkJumper_SamplerCtx* ctx) { bicubic_x<+1>(ctx, &r); } function
2145 STAGE(bicubic_p3x, SkJumper_SamplerCtx* ctx) { bicubic_x<+3>(ctx, &r); } function
2147 STAGE(bicubic_n3y, SkJumper_SamplerCtx* ctx) { bicubic_y<-3>(ctx, &g); } function
2148 STAGE(bicubic_n1y, SkJumper_SamplerCtx* ctx) { bicubic_y<-1>(ctx, &g); } function
2149 STAGE(bicubic_p1y, SkJumper_SamplerCtx* ctx) { bicubic_y<+1>(ctx, &g); } function
2150 STAGE(bicubic_p3y, SkJumper_SamplerCtx* ctx) { bicubic_y<+3>(ctx, &g); } function
2152 STAGE(callback, SkJumper_CallbackCtx* c) { function
2200 STAGE(clut_3D, const SkJumper_ColorLookupTableCtx* ctx) { function
2204 STAGE(clut_4D, const SkJumper_ColorLookupTableCtx* ctx) { function
2210 STAGE(gauss_a_to_rgba, Ctx::None) { function
2227 STAGE(bilerp_clamp_8888, SkJumper_GatherCtx* ctx) { function
[all...]

Completed in 201 milliseconds