Home
last modified time | relevance | path

Searched refs:w_step (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c1396 int width, height, w_step, h_step; in jpeg_bound_align_image() local
1401 w_step = 1 << walign; in jpeg_bound_align_image()
1412 if (w_step == 4 && ((width & 3) == 1)) { in jpeg_bound_align_image()
1420 if (*w < width && (*w + w_step) < wmax) in jpeg_bound_align_image()
1421 *w += w_step; in jpeg_bound_align_image()
1741 int w_step, h_step; in exynos3250_jpeg_try_crop() local
1746 w_step = 1; in exynos3250_jpeg_try_crop()
1750 w_step = 2; in exynos3250_jpeg_try_crop()
1754 w_step = 1; in exynos3250_jpeg_try_crop()
1764 r->width = round_down(r->width, w_step); in exynos3250_jpeg_try_crop()
/openbmc/linux/drivers/media/platform/renesas/
H A Drcar_jpu.c745 unsigned int width, height, w_step, h_step; in jpu_bound_align_image() local
750 w_step = 1U << w_align; in jpu_bound_align_image()
755 if (*w < width && *w + w_step < w_max) in jpu_bound_align_image()
756 *w += w_step; in jpu_bound_align_image()