Searched refs:FIXED16_ONE (Results 1 – 1 of 1) sorted by relevance
45 #define FIXED16_ONE (1<<16) macro51 #define FIXED16_TOL (FIXED16_ONE >> 7)64 return f * (float)FIXED16_ONE; in float_to_fixed16()70 return x & (FIXED16_ONE - 1); in fixed16_frac()369 samp->dsdx == FIXED16_ONE) { // TODO: could be relaxed in fetch_and_stretch_bgra_row()709 if ((samp->dsdx < 2 * FIXED16_ONE || samp->dsdx > 2 * FIXED16_ONE) && in sampler_is_nearest()710 (samp->dtdy < 2 * FIXED16_ONE || samp->dtdy > 2 * FIXED16_ONE)) in sampler_is_nearest()724 if (!fixed16_approx(samp->dsdx, FIXED16_ONE, FIXED16_TOL_DERIV) || in sampler_is_nearest()725 !fixed16_approx(samp->dtdy, FIXED16_ONE, FIXED16_TOL_DERIV)) in sampler_is_nearest()801 minify = (rho > FIXED16_ONE); in lp_linear_init_sampler()[all …]