Home
last modified time | relevance | path

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

/drivers/media/platform/vivid/
Dvivid-vid-common.c36 V4L2_INIT_BT_TIMINGS(16, MAX_WIDTH, 16, MAX_HEIGHT, 14000000, 775000000,
735 if (w > MAX_WIDTH) in vivid_vid_adjust_sel()
736 w = MAX_WIDTH; in vivid_vid_adjust_sel()
744 if (w > MAX_WIDTH || h > MAX_HEIGHT) in vivid_vid_adjust_sel()
753 if (r->left + w > MAX_WIDTH) in vivid_vid_adjust_sel()
754 r->left = MAX_WIDTH - w; in vivid_vid_adjust_sel()
Dvivid-core.c160 0, 0, MAX_WIDTH * MAX_ZOOM, MAX_HEIGHT * MAX_ZOOM
844 if (tpg_alloc(&dev->tpg, MAX_ZOOM * MAX_WIDTH)) in vivid_create_instance()
846 dev->scaled_line = vzalloc(MAX_ZOOM * MAX_WIDTH); in vivid_create_instance()
849 dev->blended_line = vzalloc(MAX_ZOOM * MAX_WIDTH); in vivid_create_instance()
Dvivid-core.h56 #define MAX_WIDTH 4096 macro
Dvivid-vid-cap.c618 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()
1745 fsize->stepwise.max_width = MAX_WIDTH * MAX_ZOOM; in vidioc_enum_framesizes()
1768 if (fival->width < MIN_WIDTH || fival->width > MAX_WIDTH * MAX_ZOOM) in vidioc_enum_frameintervals()
Dvivid-vid-out.c400 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[0]) >> 3; in vivid_try_fmt_vid_out()
/drivers/media/pci/cx25821/
Dcx25821-medusa-video.c427 const int MAX_WIDTH = 720; in medusa_set_resolution() local
430 if (width > MAX_WIDTH) { in medusa_set_resolution()
432 __func__, width, MAX_WIDTH); in medusa_set_resolution()
433 width = MAX_WIDTH; in medusa_set_resolution()
/drivers/media/platform/s5p-g2d/
Dg2d-regs.h111 #define MAX_WIDTH 8000 macro
Dg2d.c356 if (f->fmt.pix.width > MAX_WIDTH) in vidioc_try_fmt()
357 f->fmt.pix.width = MAX_WIDTH; in vidioc_try_fmt()
/drivers/media/i2c/soc_camera/
Dmt9t112.c43 #define MAX_WIDTH 2048 macro
346 soc_camera_limit_side(left, width, 0, 0, MAX_WIDTH); in mt9t112_frame_check()
355 u16 wstart = (MAX_WIDTH - width) / 2; in mt9t112_set_a_frame_size()
874 a->bounds.width = MAX_WIDTH; in mt9t112_cropcap()
1095 .left = (MAX_WIDTH - VGA_WIDTH) / 2, in mt9t112_probe()
/drivers/gpu/drm/sti/
Dsti_hqvdp.c150 #define MAX_WIDTH 0x1FFF macro
863 if ((src_w > MAX_WIDTH) || (src_w < MIN_WIDTH) || in sti_hqvdp_atomic_update()
865 (dst_w > MAX_WIDTH) || (dst_w < MIN_WIDTH) || in sti_hqvdp_atomic_update()
/drivers/staging/media/davinci_vpfe/
Ddm365_isif.c26 #define MAX_WIDTH 4096 macro
302 fmt->format.width = clamp_t(u32, width, 32, MAX_WIDTH); in isif_try_format()
1636 format.format.width = MAX_WIDTH; in isif_init_formats()
1644 format.format.width = MAX_WIDTH; in isif_init_formats()
1652 sel.r.width = MAX_WIDTH; in isif_init_formats()
/drivers/media/usb/pwc/
Dpwc.h113 #define MAX_WIDTH 640 macro
Dpwc-if.c589 size = pwc_get_size(pdev, MAX_WIDTH, MAX_HEIGHT); in queue_setup()
1060 rc = pwc_set_video_mode(pdev, MAX_WIDTH, MAX_HEIGHT, in usb_pwc_probe()