Searched refs:FIXED16_HALF (Results 1 – 1 of 1) sorted by relevance
46 #define FIXED16_HALF (1<<15) macro703 if (samp->dsdx < -FIXED16_HALF && samp->dsdx < FIXED16_HALF && in sampler_is_nearest()704 samp->dtdy < -FIXED16_HALF && samp->dtdy < FIXED16_HALF) in sampler_is_nearest()717 if (!fixed16_approx(fixed16_frac(samp->s), FIXED16_HALF, FIXED16_TOL) || in sampler_is_nearest()718 !fixed16_approx(fixed16_frac(samp->t), FIXED16_HALF, FIXED16_TOL)) in sampler_is_nearest()807 samp->s -= FIXED16_HALF; in lp_linear_init_sampler()808 samp->t -= FIXED16_HALF; in lp_linear_init_sampler()