Searched refs:MIN_WIDTH (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/selftests/ |
D | test-drm_framebuffer.c | 16 #define MIN_WIDTH 4 macro 321 .min_width = MIN_WIDTH,
|
/Linux-v5.4/drivers/media/platform/rockchip/rga/ |
D | rga-hw.h | 15 #define MIN_WIDTH 34 macro
|
D | rga.c | 503 if (f->fmt.pix.width < MIN_WIDTH) in vidioc_try_fmt() 504 f->fmt.pix.width = MIN_WIDTH; in vidioc_try_fmt() 654 s->r.width < MIN_WIDTH || s->r.height < MIN_HEIGHT) { in vidioc_s_selection()
|
/Linux-v5.4/drivers/media/platform/vicodec/ |
D | vicodec-core.c | 43 #define MIN_WIDTH 640U macro 511 if (w < MIN_WIDTH || w > MAX_WIDTH || h < MIN_HEIGHT || h > MAX_HEIGHT) in is_header_valid() 857 pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); in vidioc_try_fmt() 880 pix_mp->width = clamp(pix_mp->width, MIN_WIDTH, MAX_WIDTH); in vidioc_try_fmt() 1213 q_data->visible_width = clamp(s->r.width, MIN_WIDTH, in vidioc_s_selection() 1332 fsize->stepwise.min_width = MIN_WIDTH; in vicodec_enum_framesizes() 1812 params->width < MIN_WIDTH || in vicodec_try_ctrl()
|
/Linux-v5.4/drivers/media/platform/sunxi/sun6i-csi/ |
D | sun6i_video.c | 21 #define MIN_WIDTH (32) macro 359 v4l_bound_align_image(&pixfmt->width, MIN_WIDTH, MAX_WIDTH, 1, in sun6i_video_try_fmt()
|
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-camera/ |
D | bcm2835-camera.c | 38 #define MIN_WIDTH 32 macro 720 v4l_bound_align_image(&f->fmt.win.w.width, MIN_WIDTH, dev->max_width, 1, in vidioc_try_fmt_vid_overlay() 723 v4l_bound_align_image(&f->fmt.win.w.left, MIN_WIDTH, dev->max_width, 1, in vidioc_try_fmt_vid_overlay() 946 v4l_bound_align_image(&f->fmt.pix.width, MIN_WIDTH, dev->max_width, 1, in vidioc_try_fmt_vid_cap() 1321 MIN_WIDTH, 0, 2, in vidioc_enum_framesizes() 1357 if (fival->width < MIN_WIDTH || fival->width > dev->max_width || in vidioc_enum_frameintervals()
|
/Linux-v5.4/drivers/gpu/drm/sti/ |
D | sti_hqvdp.c | 157 #define MIN_WIDTH 0x0030 macro 1066 if ((src_w > MAX_WIDTH) || (src_w < MIN_WIDTH) || in sti_hqvdp_atomic_check() 1068 (dst_w > MAX_WIDTH) || (dst_w < MIN_WIDTH) || in sti_hqvdp_atomic_check()
|
/Linux-v5.4/drivers/media/platform/vivid/ |
D | vivid-core.h | 37 #define MIN_WIDTH 16 macro
|
D | vivid-vid-cap.c | 1822 fsize->stepwise.min_width = MIN_WIDTH; in vidioc_enum_framesizes() 1846 if (fival->width < MIN_WIDTH || fival->width > MAX_WIDTH * MAX_ZOOM) in vidioc_enum_frameintervals()
|
D | vivid-core.c | 152 0, 0, MIN_WIDTH, MIN_HEIGHT
|
/Linux-v5.4/drivers/media/platform/ |
D | aspeed-video.c | 43 #define MIN_WIDTH 640 macro 365 .min_width = MIN_WIDTH, 732 det->width = MIN_WIDTH; in aspeed_video_get_resolution()
|
/Linux-v5.4/drivers/media/platform/stm32/ |
D | stm32-dcmi.c | 93 #define MIN_WIDTH 16U macro 987 pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); in dcmi_try_fmt()
|