Searched refs:walign (Results 1 – 2 of 2) sorted by relevance
/drivers/media/video/ |
D | v4l2-common.c | 517 unsigned int walign, in v4l_bound_align_image() argument 521 *w = clamp_align(*w, wmin, wmax, walign); in v4l_bound_align_image() 529 walign = __ffs(*w); in v4l_bound_align_image() 532 if (walign + halign < salign) { in v4l_bound_align_image() 541 (walign <= halign && walign < wmaxa)) { in v4l_bound_align_image() 542 *w = clamp_align(*w, wmin, wmax, walign + 1); in v4l_bound_align_image() 543 walign = __ffs(*w); in v4l_bound_align_image() 548 } while (halign + walign < salign); in v4l_bound_align_image()
|
/drivers/media/video/s5p-jpeg/ |
D | jpeg-core.c | 618 unsigned int walign, in jpeg_bound_align_image() argument 627 w_step = 1 << walign; in jpeg_bound_align_image() 629 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in jpeg_bound_align_image()
|