Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
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 / 2 && in sru_try_format()
[all …]