Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_framebuffer.c17 #define MAX_WIDTH 4096 macro
34 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
35 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
39 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
40 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH + 1, 0, 0 },
44 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
45 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH - 1, 0, 0 },
49 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
50 .handles = { 1, 0, 0 }, .pitches = { 4 * (MAX_WIDTH + 1), 0, 0 },
54 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-vid-common.c24 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()
Dvivid-core.h34 #define MAX_WIDTH 4096 macro
Dvivid-core.c187 0, 0, MAX_WIDTH * MAX_ZOOM, MAX_HEIGHT * MAX_ZOOM
1740 if (tpg_alloc(&dev->tpg, array_size(MAX_WIDTH, MAX_ZOOM))) in vivid_create_instance()
1742 dev->scaled_line = vzalloc(array_size(MAX_WIDTH, MAX_ZOOM)); in vivid_create_instance()
1745 dev->blended_line = vzalloc(array_size(MAX_WIDTH, MAX_ZOOM)); in vivid_create_instance()
Dvivid-vid-cap.c626 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()
1865 fsize->stepwise.max_width = MAX_WIDTH * MAX_ZOOM; in vidioc_enum_framesizes()
1888 if (fival->width < MIN_WIDTH || fival->width > MAX_WIDTH * MAX_ZOOM) in vidioc_enum_frameintervals()
Dvivid-vid-out.c408 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_out()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-g2d/
Dg2d-regs.h107 #define MAX_WIDTH 8000 macro
Dg2d.c345 if (f->fmt.pix.width > MAX_WIDTH) in vidioc_try_fmt()
346 f->fmt.pix.width = MAX_WIDTH; in vidioc_try_fmt()
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/
Dcx25821-medusa-video.c413 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()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dmt9t112.c47 #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()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c23 #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()
/kernel/linux/linux-5.10/drivers/media/platform/rockchip/rga/
Drga-hw.h12 #define MAX_WIDTH 8192 macro
Drga.c498 if (f->fmt.pix.width > MAX_WIDTH) in vidioc_try_fmt()
499 f->fmt.pix.width = MAX_WIDTH; in vidioc_try_fmt()
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
Dpwc.h101 #define MAX_WIDTH 640 macro
Dpwc-if.c631 size = pwc_get_size(pdev, MAX_WIDTH, MAX_HEIGHT); in queue_setup()
1102 rc = pwc_set_video_mode(pdev, MAX_WIDTH, MAX_HEIGHT, in usb_pwc_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_hqvdp.c155 #define MAX_WIDTH 0x1FFF 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()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
Dvicodec-core.c42 #define MAX_WIDTH 4096U macro
506 if (w < MIN_WIDTH || w > MAX_WIDTH || h < MIN_HEIGHT || h > MAX_HEIGHT) in is_header_valid()
852 pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); in vidioc_try_fmt()
875 pix_mp->width = clamp(pix_mp->width, MIN_WIDTH, MAX_WIDTH); in vidioc_try_fmt()
1295 fsize->stepwise.max_width = MAX_WIDTH; in vicodec_enum_framesizes()
/kernel/linux/linux-5.10/tools/perf/util/
Dparse-events.c2188 #define MAX_WIDTH 1000 macro
2194 return ws.ws_col > MAX_WIDTH ? MAX_WIDTH : ws.ws_col; in get_term_width()
2201 char _buf[MAX_WIDTH]; in __parse_events_print_error()
2271 #undef MAX_WIDTH
/kernel/linux/linux-5.10/drivers/media/platform/
Daspeed-video.c43 #define MAX_WIDTH 1920 macro
391 .max_width = MAX_WIDTH,
/kernel/linux/linux-5.10/drivers/media/platform/stm32/
Dstm32-dcmi.c94 #define MAX_WIDTH 2592U macro
986 pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); in dcmi_try_fmt()