Searched refs:MAX_WIDTH (Results 1 – 13 of 13) sorted by relevance
/drivers/media/platform/vivid/ |
D | vivid-vid-common.c | 36 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()
|
D | vivid-core.c | 160 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()
|
D | vivid-core.h | 56 #define MAX_WIDTH 4096 macro
|
D | vivid-vid-cap.c | 618 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()
|
D | vivid-vid-out.c | 400 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[0]) >> 3; in vivid_try_fmt_vid_out()
|
/drivers/media/pci/cx25821/ |
D | cx25821-medusa-video.c | 427 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/ |
D | g2d-regs.h | 111 #define MAX_WIDTH 8000 macro
|
D | g2d.c | 356 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/ |
D | mt9t112.c | 43 #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/ |
D | sti_hqvdp.c | 150 #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/ |
D | dm365_isif.c | 26 #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/ |
D | pwc.h | 113 #define MAX_WIDTH 640 macro
|
D | pwc-if.c | 589 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()
|