Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1398 int width, height, w_step, h_step; in jpeg_bound_align_image() local
1403 w_step = 1 << walign; in jpeg_bound_align_image()
1414 if (w_step == 4 && ((width & 3) == 1)) { in jpeg_bound_align_image()
1422 if (*w < width && (*w + w_step) < wmax) in jpeg_bound_align_image()
1423 *w += w_step; in jpeg_bound_align_image()
1756 int w_step, h_step; in exynos3250_jpeg_try_crop() local
1761 w_step = 1; in exynos3250_jpeg_try_crop()
1765 w_step = 2; in exynos3250_jpeg_try_crop()
1769 w_step = 1; in exynos3250_jpeg_try_crop()
1779 r->width = round_down(r->width, w_step); in exynos3250_jpeg_try_crop()
/Linux-v5.4/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_core.c165 int width, height, w_step, h_step; in mtk_jpeg_bound_align_image() local
169 w_step = 1 << walign; in mtk_jpeg_bound_align_image()
173 if (*w < width && (*w + w_step) <= wmax) in mtk_jpeg_bound_align_image()
174 *w += w_step; in mtk_jpeg_bound_align_image()
/Linux-v5.4/drivers/media/platform/
Drcar_jpu.c752 unsigned int width, height, w_step, h_step; in jpu_bound_align_image() local
757 w_step = 1U << w_align; in jpu_bound_align_image()
762 if (*w < width && *w + w_step < w_max) in jpu_bound_align_image()
763 *w += w_step; in jpu_bound_align_image()