Searched refs:clamp_01 (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/opts/ |
D | SkRasterPipeline_opts.h | 1812 SI F clamp_01(F v) { return min(max(0, v), 1); } in clamp_01() function 1814 STAGE( clamp_x_1, Ctx::None) { r = clamp_01(r); } in STAGE() 1815 STAGE(repeat_x_1, Ctx::None) { r = clamp_01(r - floor_(r)); } in STAGE() 1816 STAGE(mirror_x_1, Ctx::None) { r = clamp_01(abs_( (r-1.0f) - two(floor_((r-1.0f)*0.5f)) - 1.0f )); } in STAGE() 3117 SI F clamp_01(F v) { return min(max(0, v), 1); } 3119 STAGE_GG(clamp_x_1 , Ctx::None) { x = clamp_01(x); } 3120 STAGE_GG(repeat_x_1, Ctx::None) { x = clamp_01(x - floor_(x)); } 3123 x = clamp_01(abs_( (x-1.0f) - two(floor_((x-1.0f)*0.5f)) - 1.0f ));
|
/external/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 1671 SI F clamp_01(F v) { return min(max(0, v), 1); } in clamp_01() function 1702 F q = clamp_01(abs_(fract(hue) * 6.0f - 3.0f) - 1.0f); in STAGE() 2292 STAGE( clamp_x_1, Ctx::None) { r = clamp_01(r); } in STAGE() 2293 STAGE(repeat_x_1, Ctx::None) { r = clamp_01(r - floor_(r)); } in STAGE() 2294 STAGE(mirror_x_1, Ctx::None) { r = clamp_01(abs_( (r-1.0f) - two(floor_((r-1.0f)*0.5f)) - 1.0f )); } in STAGE() 3855 SI F clamp_01(F v) { return min(max(0, v), 1); } 3857 STAGE_GG(clamp_x_1 , Ctx::None) { x = clamp_01(x); } 3858 STAGE_GG(repeat_x_1, Ctx::None) { x = clamp_01(x - floor_(x)); } 3861 x = clamp_01(abs_( (x-1.0f) - two(floor_((x-1.0f)*0.5f)) - 1.0f ));
|