Home
last modified time | relevance | path

Searched refs:vert_portrait (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/include/media/
Dv4l2-dv-timings.h183 struct v4l2_fract v4l2_calc_aspect_ratio(u8 hor_landscape, u8 vert_portrait);
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-dv-timings.c767 struct v4l2_fract v4l2_calc_aspect_ratio(u8 hor_landscape, u8 vert_portrait) in v4l2_calc_aspect_ratio() argument
773 if (!hor_landscape && !vert_portrait) in v4l2_calc_aspect_ratio()
776 if (hor_landscape && vert_portrait) { in v4l2_calc_aspect_ratio()
778 aspect.denominator = vert_portrait; in v4l2_calc_aspect_ratio()
783 ratio = hor_landscape | vert_portrait; in v4l2_calc_aspect_ratio()