Searched refs:walign (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/drivers/media/v4l2-core/ |
H A D | v4l2-common.c | 325 * 2^walign, the height will be a multiple of 2^halign, and the overall size 338 unsigned int walign, v4l_bound_align_image() 342 *w = clamp_align(*w, wmin, wmax, walign); v4l_bound_align_image() 350 walign = __ffs(*w); v4l_bound_align_image() 353 if (walign + halign < salign) { v4l_bound_align_image() 354 /* Max walign where there is still a valid width */ v4l_bound_align_image() 362 (walign <= halign && walign < wmaxa)) { v4l_bound_align_image() 363 *w = clamp_align(*w, wmin, wmax, walign + 1); v4l_bound_align_image() 364 walign = __ffs(*w); v4l_bound_align_image() 369 } while (halign + walign < salign); v4l_bound_align_image() 337 v4l_bound_align_image(u32 *w, unsigned int wmin, unsigned int wmax, unsigned int walign, u32 *h, unsigned int hmin, unsigned int hmax, unsigned int halign, unsigned int salign) v4l_bound_align_image() argument
|
/linux-4.4.14/drivers/media/platform/exynos-gsc/ |
H A D | gsc-core.c | 278 int remainder = 0, walign, halign; gsc_check_src_scale_info() local 281 walign = GSC_SC_ALIGN_4; gsc_check_src_scale_info() 284 walign = GSC_SC_ALIGN_4; gsc_check_src_scale_info() 287 walign = GSC_SC_ALIGN_2; gsc_check_src_scale_info() 291 remainder = s_frame->crop.width % (*wratio * walign); gsc_check_src_scale_info()
|
/linux-4.4.14/include/media/ |
H A D | v4l2-common.h | 176 unsigned int wmax, unsigned int walign,
|
/linux-4.4.14/drivers/media/platform/s5p-jpeg/ |
H A D | jpeg-core.c | 1389 unsigned int walign, jpeg_bound_align_image() 1398 w_step = 1 << walign; jpeg_bound_align_image() 1415 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); jpeg_bound_align_image() 1387 jpeg_bound_align_image(struct s5p_jpeg_ctx *ctx, u32 *w, unsigned int wmin, unsigned int wmax, unsigned int walign, u32 *h, unsigned int hmin, unsigned int hmax, unsigned int halign) jpeg_bound_align_image() argument
|
Completed in 186 milliseconds