Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/tests/
A Ddrm_framebuffer_test.c137 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 },
144 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 },
152 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 },
159 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 },
167 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 },
173 .pitches = { MAX_WIDTH, MAX_WIDTH, 0 },
213 MAX_WIDTH * MAX_HEIGHT, MAX_WIDTH + 2 * MAX_WIDTH * MAX_HEIGHT },
222 .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) },
230 .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) },
238 .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) },
[all …]
/linux-6.3-rc2/drivers/media/test-drivers/vivid/
A Dvivid-vid-common.c24 V4L2_INIT_BT_TIMINGS(16, MAX_WIDTH, 16, MAX_HEIGHT, 14000000, 775000000,
894 if (w > MAX_WIDTH) in vivid_vid_adjust_sel()
895 w = MAX_WIDTH; in vivid_vid_adjust_sel()
903 if (w > MAX_WIDTH || h > MAX_HEIGHT) in vivid_vid_adjust_sel()
912 if (r->left + w > MAX_WIDTH) in vivid_vid_adjust_sel()
913 r->left = MAX_WIDTH - w; in vivid_vid_adjust_sel()
A Dvivid-core.h34 #define MAX_WIDTH 4096 macro
A Dvivid-core.c196 0, 0, MAX_WIDTH * MAX_ZOOM, MAX_HEIGHT * MAX_ZOOM
1810 if (tpg_alloc(&dev->tpg, array_size(MAX_WIDTH, MAX_ZOOM))) in vivid_create_instance()
1812 dev->scaled_line = vzalloc(array_size(MAX_WIDTH, MAX_ZOOM)); in vivid_create_instance()
1815 dev->blended_line = vzalloc(array_size(MAX_WIDTH, MAX_ZOOM)); in vivid_create_instance()
A Dvivid-vid-cap.c638 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()
1873 fsize->stepwise.max_width = MAX_WIDTH * MAX_ZOOM; in vidioc_enum_framesizes()
1896 if (fival->width < MIN_WIDTH || fival->width > MAX_WIDTH * MAX_ZOOM) in vidioc_enum_frameintervals()
A Dvivid-vid-out.c408 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_out()
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-g2d/
A Dg2d-regs.h107 #define MAX_WIDTH 8000 macro
A Dg2d.c345 if (f->fmt.pix.width > MAX_WIDTH) in vidioc_try_fmt()
346 f->fmt.pix.width = MAX_WIDTH; in vidioc_try_fmt()
/linux-6.3-rc2/drivers/media/pci/cx25821/
A 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()
/linux-6.3-rc2/drivers/media/platform/st/stm32/dma2d/
A Ddma2d-regs.h103 #define MAX_WIDTH 2592 macro
A Ddma2d.c399 if (f->fmt.pix.width > MAX_WIDTH) in vidioc_try_fmt()
400 f->fmt.pix.width = MAX_WIDTH; in vidioc_try_fmt()
/linux-6.3-rc2/drivers/media/i2c/
A 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()
/linux-6.3-rc2/drivers/media/platform/rockchip/rga/
A Drga-hw.h12 #define MAX_WIDTH 8192 macro
A Drga.c498 if (f->fmt.pix.width > MAX_WIDTH) in vidioc_try_fmt()
499 f->fmt.pix.width = MAX_WIDTH; in vidioc_try_fmt()
/linux-6.3-rc2/drivers/media/usb/pwc/
A Dpwc.h101 #define MAX_WIDTH 640 macro
A Dpwc-if.c631 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-6.3-rc2/drivers/media/platform/amlogic/meson-ge2d/
A Dge2d.c36 #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-6.3-rc2/drivers/gpu/drm/sti/
A Dsti_hqvdp.c157 #define MAX_WIDTH 0x1FFF macro
1070 if ((src_w > MAX_WIDTH) || (src_w < MIN_WIDTH) || in sti_hqvdp_atomic_check()
1072 (dst_w > MAX_WIDTH) || (dst_w < MIN_WIDTH) || in sti_hqvdp_atomic_check()
/linux-6.3-rc2/tools/perf/util/
A Dparse-events.c2351 #define MAX_WIDTH 1000 macro
2357 return ws.ws_col > MAX_WIDTH ? MAX_WIDTH : ws.ws_col; in get_term_width()
2364 char _buf[MAX_WIDTH]; in __parse_events_error__print()
2430 #undef MAX_WIDTH
/linux-6.3-rc2/drivers/media/test-drivers/vicodec/
A Dvicodec-core.c42 #define MAX_WIDTH 4096U macro
502 if (w < MIN_WIDTH || w > MAX_WIDTH || h < MIN_HEIGHT || h > MAX_HEIGHT) in is_header_valid()
845 pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); in vidioc_try_fmt()
868 pix_mp->width = clamp(pix_mp->width, MIN_WIDTH, MAX_WIDTH); in vidioc_try_fmt()
1286 fsize->stepwise.max_width = MAX_WIDTH; in vicodec_enum_framesizes()
/linux-6.3-rc2/drivers/media/platform/aspeed/
A Daspeed-video.c49 #define MAX_WIDTH 1920 macro
474 .max_width = MAX_WIDTH,
/linux-6.3-rc2/drivers/media/platform/st/stm32/
A Dstm32-dcmi.c94 #define MAX_WIDTH 2592U macro
1017 pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); in dcmi_try_fmt()

Completed in 74 milliseconds