Home
last modified time | relevance | path

Searched refs:SRU_MAX_SIZE (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_sru.c21 #define SRU_MAX_SIZE 8190U macro
145 fse->max_width = SRU_MAX_SIZE; in sru_enum_frame_size()
147 fse->max_height = SRU_MAX_SIZE; in sru_enum_frame_size()
151 if (format->width <= SRU_MAX_SIZE / 2 && in sru_enum_frame_size()
152 format->height <= SRU_MAX_SIZE / 2) { in sru_enum_frame_size()
181 fmt->width = clamp(fmt->width, SRU_MIN_SIZE, SRU_MAX_SIZE); in sru_try_format()
182 fmt->height = clamp(fmt->height, SRU_MIN_SIZE, SRU_MAX_SIZE); in sru_try_format()
199 output_area = min(fmt->width, SRU_MAX_SIZE) in sru_try_format()
200 * min(fmt->height, SRU_MAX_SIZE); in sru_try_format()
202 if (fmt->width <= SRU_MAX_SIZE / in sru_try_format()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A Dvsp1_sru.c21 #define SRU_MAX_SIZE 8190U macro
146 fse->max_width = SRU_MAX_SIZE; in sru_enum_frame_size()
148 fse->max_height = SRU_MAX_SIZE; in sru_enum_frame_size()
152 if (format->width <= SRU_MAX_SIZE / 2 && in sru_enum_frame_size()
153 format->height <= SRU_MAX_SIZE / 2) { in sru_enum_frame_size()
182 fmt->width = clamp(fmt->width, SRU_MIN_SIZE, SRU_MAX_SIZE); in sru_try_format()
183 fmt->height = clamp(fmt->height, SRU_MIN_SIZE, SRU_MAX_SIZE); in sru_try_format()
200 output_area = min(fmt->width, SRU_MAX_SIZE) in sru_try_format()
201 * min(fmt->height, SRU_MAX_SIZE); in sru_try_format()
203 if (fmt->width <= SRU_MAX_SIZE / in sru_try_format()
[all...]

Completed in 2 milliseconds