Searched refs:w_ratio (Results 1 – 6 of 6) sorted by relevance
685 unsigned int w_ratio = (res->width << 13) / w; in distance() local694 match = abs(((w_ratio << 13) / h_ratio) - 8192); in distance()696 if ((w_ratio < 8192) || (h_ratio < 8192) || in distance()700 return w_ratio + h_ratio; in distance()
798 unsigned int w_ratio = (res->width << 13) / w; in distance() local807 match = abs(((w_ratio << 13) / h_ratio) - 8192); in distance()809 if ((w_ratio < 8192) || (h_ratio < 8192) || in distance()813 return w_ratio + h_ratio; in distance()
898 unsigned int w_ratio = (res->width << 13) / w; in distance() local907 match = abs(((w_ratio << 13) / h_ratio) - 8192); in distance()909 if ((w_ratio < 8192) || (h_ratio < 8192) || in distance()913 return w_ratio + h_ratio; in distance()
856 unsigned int w_ratio = (res->width << 13) / w; in distance() local865 match = abs(((w_ratio << 13) / h_ratio) - 8192); in distance()867 if ((w_ratio < 8192) || (h_ratio < 8192) || in distance()871 return w_ratio + h_ratio; in distance()
594 unsigned int w_ratio; in distance() local600 w_ratio = (res->width << 13) / w; in distance()606 match = abs(((w_ratio << 13) / h_ratio) - 8192); in distance()608 if ((w_ratio < 8192) || (h_ratio < 8192) || in distance()612 return w_ratio + h_ratio; in distance()
1709 int w_ratio, h_ratio, scale_factor, cur_ratio, i; in exynos3250_jpeg_try_downscale() local1711 w_ratio = ctx->out_q.w / r->width; in exynos3250_jpeg_try_downscale()1714 scale_factor = w_ratio > h_ratio ? w_ratio : h_ratio; in exynos3250_jpeg_try_downscale()