Searched refs:walign (Results 1 – 6 of 6) sorted by relevance
/drivers/media/v4l2-core/ |
D | v4l2-common.c | 120 unsigned int walign, in v4l_bound_align_image() argument 124 *w = clamp_align(*w, wmin, wmax, walign); in v4l_bound_align_image() 132 walign = __ffs(*w); in v4l_bound_align_image() 135 if (walign + halign < salign) { in v4l_bound_align_image() 144 (walign <= halign && walign < wmaxa)) { in v4l_bound_align_image() 145 *w = clamp_align(*w, wmin, wmax, walign + 1); in v4l_bound_align_image() 146 walign = __ffs(*w); in v4l_bound_align_image() 151 } while (halign + walign < salign); in v4l_bound_align_image()
|
/drivers/media/platform/rcar-vin/ |
D | rcar-v4l2.c | 157 u32 walign; in rvin_format_align() local 183 walign = 5; in rvin_format_align() 188 walign = 1; in rvin_format_align() 192 walign = 0; in rvin_format_align() 197 v4l_bound_align_image(&pix->width, 5, vin->info->max_width, walign, in rvin_format_align()
|
/drivers/media/test-drivers/ |
D | vim2m.c | 173 unsigned int *walign, unsigned int *halign) in get_alignment() argument 180 *walign = BAYER_WIDTH_ALIGN; in get_alignment() 184 *walign = WIDTH_ALIGN; in get_alignment() 770 int walign, halign; in vidioc_try_fmt() local 785 get_alignment(f->fmt.pix.pixelformat, &walign, &halign); in vidioc_try_fmt() 786 f->fmt.pix.width &= ~(walign - 1); in vidioc_try_fmt()
|
/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 279 int remainder = 0, walign, halign; in gsc_check_src_scale_info() local 282 walign = GSC_SC_ALIGN_4; in gsc_check_src_scale_info() 285 walign = GSC_SC_ALIGN_4; in gsc_check_src_scale_info() 288 walign = GSC_SC_ALIGN_2; in gsc_check_src_scale_info() 292 remainder = s_frame->crop.width % (*wratio * walign); in gsc_check_src_scale_info()
|
/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_m2m.c | 157 int walign, halign; in mtk_mdp_bound_align_image() local 161 walign = ffs(align_w) - 1; in mtk_mdp_bound_align_image() 163 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in mtk_mdp_bound_align_image() 165 step_w = 1 << walign; in mtk_mdp_bound_align_image()
|
/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.c | 1394 unsigned int walign, in jpeg_bound_align_image() argument 1403 w_step = 1 << walign; in jpeg_bound_align_image() 1420 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in jpeg_bound_align_image()
|