Searched refs:RFIX (Results 1 – 2 of 2) sorted by relevance
225 #define RFIX 30 macro226 #define MULT(x,y) (((int64_t)(x) * (y) + (1 << (RFIX - 1))) >> RFIX)230 const int fx_scale = (1 << RFIX) / dst_width; in ImportRow()283 const int fy_scale = (1 << RFIX) / dst_height; in RescalePlane()285 ((int64_t)dst_height << RFIX) / (dst_width * src_height) : in RescalePlane()286 ((int64_t)dst_height << RFIX) / (src_width * src_height); in RescalePlane()307 #undef RFIX
420 #define RFIX 30 macro421 #define MULT(x,y) (((int64_t)(x) * (y) + (1 << (RFIX - 1))) >> RFIX)442 wrk->fx_scale = (1 << RFIX) / x_sub; in InitRescaler()443 wrk->fy_scale = (1 << RFIX) / y_sub; in InitRescaler()445 ((int64_t)dst_height << RFIX) / (x_sub * src_height) : in InitRescaler()446 ((int64_t)dst_height << RFIX) / (x_add * src_height); in InitRescaler()504 #undef RFIX