/linux-6.1.9/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-regs.c | 74 .walign = 1, 82 .walign = 1, 90 .walign = 1, 98 .walign = 1, 106 .walign = 1, 115 .walign = 1, 124 .walign = 1, 133 .walign = 1, 142 .walign = 1, 150 .walign = 1, [all …]
|
D | mtk-mdp3-regs.h | 259 u8 walign; member
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/media/platform/renesas/rcar-vin/ |
D | rcar-v4l2.c | 161 u32 walign; in rvin_format_align() local 187 walign = 5; in rvin_format_align() 192 walign = 1; in rvin_format_align() 196 walign = 0; in rvin_format_align() 201 v4l_bound_align_image(&pix->width, 5, vin->info->max_width, walign, in rvin_format_align()
|
/linux-6.1.9/drivers/media/test-drivers/ |
D | vim2m.c | 168 unsigned int *walign, unsigned int *halign) in get_alignment() argument 175 *walign = BAYER_WIDTH_ALIGN; in get_alignment() 179 *walign = WIDTH_ALIGN; in get_alignment() 760 int walign, halign; in vidioc_try_fmt() local 775 get_alignment(f->fmt.pix.pixelformat, &walign, &halign); in vidioc_try_fmt() 776 f->fmt.pix.width &= ~(walign - 1); in vidioc_try_fmt()
|
/linux-6.1.9/drivers/media/platform/samsung/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()
|
/linux-6.1.9/drivers/media/platform/mediatek/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()
|
/linux-6.1.9/include/media/ |
D | v4l2-common.h | 387 unsigned int wmax, unsigned int walign,
|
/linux-6.1.9/drivers/media/platform/samsung/s5p-jpeg/ |
D | jpeg-core.c | 1392 unsigned int walign, in jpeg_bound_align_image() argument 1401 w_step = 1 << walign; in jpeg_bound_align_image() 1418 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in jpeg_bound_align_image()
|