/linux/drivers/gpu/drm/selftests/ |
A D | test-drm_framebuffer.c | 133 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, 140 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, 147 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, 154 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, 162 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, 214 .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, 220 .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, 227 .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, 234 .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, 242 .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, [all …]
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-vid-common.c | 24 V4L2_INIT_BT_TIMINGS(16, MAX_WIDTH, 16, MAX_HEIGHT, 14000000, 775000000, 879 if (w > MAX_WIDTH) in vivid_vid_adjust_sel() 880 w = MAX_WIDTH; in vivid_vid_adjust_sel() 888 if (w > MAX_WIDTH || h > MAX_HEIGHT) in vivid_vid_adjust_sel() 897 if (r->left + w > MAX_WIDTH) in vivid_vid_adjust_sel() 898 r->left = MAX_WIDTH - w; in vivid_vid_adjust_sel()
|
A D | vivid-core.h | 34 #define MAX_WIDTH 4096 macro
|
A D | vivid-core.c | 196 0, 0, MAX_WIDTH * MAX_ZOOM, MAX_HEIGHT * MAX_ZOOM 1780 if (tpg_alloc(&dev->tpg, array_size(MAX_WIDTH, MAX_ZOOM))) in vivid_create_instance() 1782 dev->scaled_line = vzalloc(array_size(MAX_WIDTH, MAX_ZOOM)); in vivid_create_instance() 1785 dev->blended_line = vzalloc(array_size(MAX_WIDTH, MAX_ZOOM)); in vivid_create_instance()
|
A D | vivid-vid-cap.c | 620 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap() 1845 fsize->stepwise.max_width = MAX_WIDTH * MAX_ZOOM; in vidioc_enum_framesizes() 1868 if (fival->width < MIN_WIDTH || fival->width > MAX_WIDTH * MAX_ZOOM) in vidioc_enum_frameintervals()
|
A D | vivid-vid-out.c | 408 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_out()
|
/linux/drivers/media/pci/cx25821/ |
A D | cx25821-medusa-video.c | 413 const int MAX_WIDTH = 720; in medusa_set_resolution() local 416 if (width > MAX_WIDTH) { in medusa_set_resolution() 418 __func__, width, MAX_WIDTH); in medusa_set_resolution() 419 width = MAX_WIDTH; in medusa_set_resolution()
|
/linux/drivers/media/platform/s5p-g2d/ |
A D | g2d-regs.h | 107 #define MAX_WIDTH 8000 macro
|
A D | g2d.c | 345 if (f->fmt.pix.width > MAX_WIDTH) in vidioc_try_fmt() 346 f->fmt.pix.width = MAX_WIDTH; in vidioc_try_fmt()
|
/linux/drivers/media/i2c/ |
A D | mt9t112.c | 47 #define MAX_WIDTH 2048 macro 346 u16 wstart = (MAX_WIDTH - width) / 2; in mt9t112_set_a_frame_size() 866 v4l_bound_align_image(&priv->frame.width, 0, MAX_WIDTH, 0, in mt9t112_set_params() 888 sel->r.width = MAX_WIDTH; in mt9t112_get_selection() 978 v4l_bound_align_image(&mf->width, 0, MAX_WIDTH, 0, in mt9t112_set_fmt()
|
/linux/drivers/media/platform/sunxi/sun6i-csi/ |
A D | sun6i_video.c | 23 #define MAX_WIDTH (4800) macro 361 v4l_bound_align_image(&pixfmt->width, MIN_WIDTH, MAX_WIDTH, 1, in sun6i_video_try_fmt() 362 &pixfmt->height, MIN_HEIGHT, MAX_WIDTH, 1, 1); in sun6i_video_try_fmt()
|
/linux/drivers/media/platform/rockchip/rga/ |
A D | rga-hw.h | 12 #define MAX_WIDTH 8192 macro
|
A D | rga.c | 498 if (f->fmt.pix.width > MAX_WIDTH) in vidioc_try_fmt() 499 f->fmt.pix.width = MAX_WIDTH; in vidioc_try_fmt()
|
/linux/drivers/media/platform/meson/ge2d/ |
A D | ge2d.c | 36 #define MAX_WIDTH 8191 macro 654 if (f->fmt.pix.width > MAX_WIDTH) in vidioc_try_fmt_out() 655 f->fmt.pix.width = MAX_WIDTH; in vidioc_try_fmt_out()
|
/linux/drivers/media/usb/pwc/ |
A D | pwc.h | 101 #define MAX_WIDTH 640 macro
|
A D | pwc-if.c | 631 size = pwc_get_size(pdev, MAX_WIDTH, MAX_HEIGHT); in queue_setup() 1094 rc = pwc_set_video_mode(pdev, MAX_WIDTH, MAX_HEIGHT, in usb_pwc_probe()
|
/linux/drivers/gpu/drm/sti/ |
A D | sti_hqvdp.c | 155 #define MAX_WIDTH 0x1FFF macro 1068 if ((src_w > MAX_WIDTH) || (src_w < MIN_WIDTH) || in sti_hqvdp_atomic_check() 1070 (dst_w > MAX_WIDTH) || (dst_w < MIN_WIDTH) || in sti_hqvdp_atomic_check()
|
/linux/drivers/media/test-drivers/vicodec/ |
A D | vicodec-core.c | 42 #define MAX_WIDTH 4096U macro 506 if (w < MIN_WIDTH || w > MAX_WIDTH || h < MIN_HEIGHT || h > MAX_HEIGHT) in is_header_valid() 849 pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); in vidioc_try_fmt() 872 pix_mp->width = clamp(pix_mp->width, MIN_WIDTH, MAX_WIDTH); in vidioc_try_fmt() 1290 fsize->stepwise.max_width = MAX_WIDTH; in vicodec_enum_framesizes()
|
/linux/tools/perf/util/ |
A D | parse-events.c | 2353 #define MAX_WIDTH 1000 macro 2359 return ws.ws_col > MAX_WIDTH ? MAX_WIDTH : ws.ws_col; in get_term_width() 2366 char _buf[MAX_WIDTH]; in __parse_events_error__print() 2432 #undef MAX_WIDTH
|
/linux/drivers/media/platform/ |
A D | aspeed-video.c | 45 #define MAX_WIDTH 1920 macro 401 .max_width = MAX_WIDTH,
|
/linux/drivers/media/platform/stm32/ |
A D | stm32-dcmi.c | 94 #define MAX_WIDTH 2592U macro 1001 pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); in dcmi_try_fmt()
|