crop 341 drivers/gpu/drm/mcde/mcde_display.c u32 crop; crop 350 drivers/gpu/drm/mcde/mcde_display.c crop = MCDE_OVL0CROP; crop 358 drivers/gpu/drm/mcde/mcde_display.c crop = MCDE_OVL1CROP; crop 366 drivers/gpu/drm/mcde/mcde_display.c crop = MCDE_OVL2CROP; crop 374 drivers/gpu/drm/mcde/mcde_display.c crop = MCDE_OVL3CROP; crop 382 drivers/gpu/drm/mcde/mcde_display.c crop = MCDE_OVL4CROP; crop 390 drivers/gpu/drm/mcde/mcde_display.c crop = MCDE_OVL5CROP; crop 436 drivers/gpu/drm/mcde/mcde_display.c writel(0, mcde->regs + crop); crop 94 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.width = tpg->compose.width = w; crop 95 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.height = tpg->compose.height = h; crop 471 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop, crop 474 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop = *crop; crop 477 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.width - 1) / tpg->crop.width; crop 499 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.top = tpg->crop.left = 0; crop 500 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.width = width; crop 501 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.height = height; crop 2064 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c return tpg->crop.top + src_y * 2; crop 2066 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c return tpg->crop.top + src_y * 2 + 1; crop 2068 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c return src_y + tpg->crop.top; crop 2185 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c pr_info("tpg crop: %ux%u@%dx%d\n", tpg->crop.width, tpg->crop.height, crop 2186 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.left, tpg->crop.top); crop 2251 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c params->wss_width = tpg->crop.left < tpg->src_width / 2 ? crop 2252 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->src_width / 2 - tpg->crop.left : 0; crop 2253 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (params->wss_width > tpg->crop.width) crop 2254 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c params->wss_width = tpg->crop.width; crop 2259 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (tpg->crop.left < tpg->border.left) { crop 2260 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c left_pillar_width = tpg->border.left - tpg->crop.left; crop 2261 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (left_pillar_width > tpg->crop.width) crop 2262 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c left_pillar_width = tpg->crop.width; crop 2267 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (tpg->crop.left + tpg->crop.width > crop 2270 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.left + tpg->border.width - tpg->crop.left; crop 2291 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c const struct v4l2_rect *c = &tpg->crop; crop 2393 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned line_offset = tpg_hscale_div(tpg, p, tpg->crop.left); crop 2531 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned int_part = (tpg->crop.height / factor) / tpg->compose.height; crop 2532 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned fract_part = (tpg->crop.height / factor) % tpg->compose.height; crop 44 drivers/media/i2c/imx214.c struct v4l2_rect crop; crop 572 drivers/media/i2c/imx214.c return &imx214->crop; crop 512 drivers/media/i2c/imx274.c struct v4l2_rect crop; crop 890 drivers/media/i2c/imx274.c cur_crop = &imx274->crop; crop 1014 drivers/media/i2c/imx274.c src_crop = &imx274->crop; crop 1085 drivers/media/i2c/imx274.c tgt_crop = &imx274->crop; crop 1153 drivers/media/i2c/imx274.c h_start = imx274->crop.left + 12; crop 1154 drivers/media/i2c/imx274.c h_end = h_start + imx274->crop.width; crop 1159 drivers/media/i2c/imx274.c hmax = max_t(u32, 260, (imx274->crop.width) / 16 + 23); crop 1163 drivers/media/i2c/imx274.c (-imx274->crop.top / 2) : (imx274->crop.top / 2); crop 1164 drivers/media/i2c/imx274.c v_cut = (IMX274_MAX_HEIGHT - imx274->crop.height) / 2; crop 1165 drivers/media/i2c/imx274.c write_v_size = imx274->crop.height + 22; crop 1166 drivers/media/i2c/imx274.c y_out_size = imx274->crop.height + 14; crop 1839 drivers/media/i2c/imx274.c imx274->crop.width = IMX274_MAX_WIDTH; crop 1840 drivers/media/i2c/imx274.c imx274->crop.height = IMX274_MAX_HEIGHT; crop 1841 drivers/media/i2c/imx274.c imx274->format.width = imx274->crop.width / imx274->mode->bin_ratio; crop 1842 drivers/media/i2c/imx274.c imx274->format.height = imx274->crop.height / imx274->mode->bin_ratio; crop 150 drivers/media/i2c/mt9m032.c struct v4l2_rect crop; crop 183 drivers/media/i2c/mt9m032.c struct v4l2_rect *crop = &sensor->crop; crop 191 drivers/media/i2c/mt9m032.c row_time = mt9m032_row_time(sensor, crop->width); crop 195 drivers/media/i2c/mt9m032.c - crop->height; crop 201 drivers/media/i2c/mt9m032.c div_u64((crop->height + MT9M032_VBLANK_MAX) * crop 206 drivers/media/i2c/mt9m032.c - crop->height; crop 221 drivers/media/i2c/mt9m032.c sensor->crop.width - 1); crop 224 drivers/media/i2c/mt9m032.c sensor->crop.height - 1); crop 227 drivers/media/i2c/mt9m032.c sensor->crop.left); crop 230 drivers/media/i2c/mt9m032.c sensor->crop.top); crop 348 drivers/media/i2c/mt9m032.c return &sensor->crop; crop 748 drivers/media/i2c/mt9m032.c sensor->crop.left = MT9M032_COLUMN_START_DEF; crop 749 drivers/media/i2c/mt9m032.c sensor->crop.top = MT9M032_ROW_START_DEF; crop 750 drivers/media/i2c/mt9m032.c sensor->crop.width = MT9M032_COLUMN_SIZE_DEF; crop 751 drivers/media/i2c/mt9m032.c sensor->crop.height = MT9M032_ROW_SIZE_DEF; crop 753 drivers/media/i2c/mt9m032.c sensor->format.width = sensor->crop.width; crop 754 drivers/media/i2c/mt9m032.c sensor->format.height = sensor->crop.height; crop 122 drivers/media/i2c/mt9p031.c struct v4l2_rect crop; /* Sensor window */ crop 384 drivers/media/i2c/mt9p031.c const struct v4l2_rect *crop = &mt9p031->crop; crop 399 drivers/media/i2c/mt9p031.c ret = mt9p031_write(client, MT9P031_COLUMN_START, crop->left); crop 402 drivers/media/i2c/mt9p031.c ret = mt9p031_write(client, MT9P031_ROW_START, crop->top); crop 405 drivers/media/i2c/mt9p031.c ret = mt9p031_write(client, MT9P031_WINDOW_WIDTH, crop->width - 1); crop 408 drivers/media/i2c/mt9p031.c ret = mt9p031_write(client, MT9P031_WINDOW_HEIGHT, crop->height - 1); crop 415 drivers/media/i2c/mt9p031.c xskip = DIV_ROUND_CLOSEST(crop->width, format->width); crop 416 drivers/media/i2c/mt9p031.c yskip = DIV_ROUND_CLOSEST(crop->height, format->height); crop 526 drivers/media/i2c/mt9p031.c return &mt9p031->crop; crop 944 drivers/media/i2c/mt9p031.c struct v4l2_rect *crop; crop 946 drivers/media/i2c/mt9p031.c crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0); crop 947 drivers/media/i2c/mt9p031.c crop->left = MT9P031_COLUMN_START_DEF; crop 948 drivers/media/i2c/mt9p031.c crop->top = MT9P031_ROW_START_DEF; crop 949 drivers/media/i2c/mt9p031.c crop->width = MT9P031_WINDOW_WIDTH_DEF; crop 950 drivers/media/i2c/mt9p031.c crop->height = MT9P031_WINDOW_HEIGHT_DEF; crop 1119 drivers/media/i2c/mt9p031.c mt9p031->crop.width = MT9P031_WINDOW_WIDTH_DEF; crop 1120 drivers/media/i2c/mt9p031.c mt9p031->crop.height = MT9P031_WINDOW_HEIGHT_DEF; crop 1121 drivers/media/i2c/mt9p031.c mt9p031->crop.left = MT9P031_COLUMN_START_DEF; crop 1122 drivers/media/i2c/mt9p031.c mt9p031->crop.top = MT9P031_ROW_START_DEF; crop 126 drivers/media/i2c/mt9t001.c struct v4l2_rect crop; crop 276 drivers/media/i2c/mt9t001.c return &mt9t001->crop; crop 289 drivers/media/i2c/mt9t001.c struct v4l2_rect *crop = &mt9t001->crop; crop 306 drivers/media/i2c/mt9t001.c hratio = DIV_ROUND_CLOSEST(crop->width, format->width); crop 307 drivers/media/i2c/mt9t001.c vratio = DIV_ROUND_CLOSEST(crop->height, format->height); crop 317 drivers/media/i2c/mt9t001.c ret = mt9t001_write(client, MT9T001_COLUMN_START, crop->left); crop 321 drivers/media/i2c/mt9t001.c ret = mt9t001_write(client, MT9T001_ROW_START, crop->top); crop 325 drivers/media/i2c/mt9t001.c ret = mt9t001_write(client, MT9T001_WINDOW_WIDTH, crop->width - 1); crop 329 drivers/media/i2c/mt9t001.c ret = mt9t001_write(client, MT9T001_WINDOW_HEIGHT, crop->height - 1); crop 799 drivers/media/i2c/mt9t001.c struct v4l2_rect *crop; crop 801 drivers/media/i2c/mt9t001.c crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0); crop 802 drivers/media/i2c/mt9t001.c crop->left = MT9T001_COLUMN_START_DEF; crop 803 drivers/media/i2c/mt9t001.c crop->top = MT9T001_ROW_START_DEF; crop 804 drivers/media/i2c/mt9t001.c crop->width = MT9T001_WINDOW_WIDTH_DEF + 1; crop 805 drivers/media/i2c/mt9t001.c crop->height = MT9T001_WINDOW_HEIGHT_DEF + 1; crop 928 drivers/media/i2c/mt9t001.c mt9t001->crop.left = MT9T001_COLUMN_START_DEF; crop 929 drivers/media/i2c/mt9t001.c mt9t001->crop.top = MT9T001_ROW_START_DEF; crop 930 drivers/media/i2c/mt9t001.c mt9t001->crop.width = MT9T001_WINDOW_WIDTH_DEF + 1; crop 931 drivers/media/i2c/mt9t001.c mt9t001->crop.height = MT9T001_WINDOW_HEIGHT_DEF + 1; crop 189 drivers/media/i2c/mt9v032.c struct v4l2_rect crop; crop 248 drivers/media/i2c/mt9v032.c struct v4l2_rect *crop = &mt9v032->crop; crop 254 drivers/media/i2c/mt9v032.c min_hblank = max_t(int, mt9v032->model->data->min_row_time - crop->width, crop 373 drivers/media/i2c/mt9v032.c return &mt9v032->crop; crop 384 drivers/media/i2c/mt9v032.c struct v4l2_rect *crop = &mt9v032->crop; crop 403 drivers/media/i2c/mt9v032.c ret = regmap_write(map, MT9V032_COLUMN_START, crop->left); crop 407 drivers/media/i2c/mt9v032.c ret = regmap_write(map, MT9V032_ROW_START, crop->top); crop 411 drivers/media/i2c/mt9v032.c ret = regmap_write(map, MT9V032_WINDOW_WIDTH, crop->width); crop 415 drivers/media/i2c/mt9v032.c ret = regmap_write(map, MT9V032_WINDOW_HEIGHT, crop->height); crop 923 drivers/media/i2c/mt9v032.c struct v4l2_rect *crop; crop 925 drivers/media/i2c/mt9v032.c crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0); crop 926 drivers/media/i2c/mt9v032.c crop->left = MT9V032_COLUMN_START_DEF; crop 927 drivers/media/i2c/mt9v032.c crop->top = MT9V032_ROW_START_DEF; crop 928 drivers/media/i2c/mt9v032.c crop->width = MT9V032_WINDOW_WIDTH_DEF; crop 929 drivers/media/i2c/mt9v032.c crop->height = MT9V032_WINDOW_HEIGHT_DEF; crop 1142 drivers/media/i2c/mt9v032.c mt9v032->crop.left = MT9V032_COLUMN_START_DEF; crop 1143 drivers/media/i2c/mt9v032.c mt9v032->crop.top = MT9V032_ROW_START_DEF; crop 1144 drivers/media/i2c/mt9v032.c mt9v032->crop.width = MT9V032_WINDOW_WIDTH_DEF; crop 1145 drivers/media/i2c/mt9v032.c mt9v032->crop.height = MT9V032_WINDOW_HEIGHT_DEF; crop 94 drivers/media/i2c/ov5645.c struct v4l2_rect crop; crop 904 drivers/media/i2c/ov5645.c return &ov5645->crop; crop 511 drivers/media/i2c/ov5647.c struct v4l2_rect *crop = crop 514 drivers/media/i2c/ov5647.c crop->left = OV5647_COLUMN_START_DEF; crop 515 drivers/media/i2c/ov5647.c crop->top = OV5647_ROW_START_DEF; crop 516 drivers/media/i2c/ov5647.c crop->width = OV5647_WINDOW_WIDTH_DEF; crop 517 drivers/media/i2c/ov5647.c crop->height = OV5647_WINDOW_HEIGHT_DEF; crop 69 drivers/media/i2c/ov7251.c struct v4l2_rect crop; crop 989 drivers/media/i2c/ov7251.c return &ov7251->crop; crop 1118 drivers/media/i2c/s5k6aa.c struct v4l2_rect *crop; crop 1126 drivers/media/i2c/s5k6aa.c crop = v4l2_subdev_get_try_crop(sd, cfg, 0); crop 1132 drivers/media/i2c/s5k6aa.c crop = &s5k6aa->ccd_rect; crop 1148 drivers/media/i2c/s5k6aa.c crop->width = clamp_t(unsigned int, crop->width, mf->width, crop 1150 drivers/media/i2c/s5k6aa.c crop->height = clamp_t(unsigned int, crop->height, mf->height, crop 1152 drivers/media/i2c/s5k6aa.c crop->left = clamp_t(unsigned int, crop->left, 0, crop 1153 drivers/media/i2c/s5k6aa.c S5K6AA_WIN_WIDTH_MAX - crop->width); crop 1154 drivers/media/i2c/s5k6aa.c crop->top = clamp_t(unsigned int, crop->top, 0, crop 1155 drivers/media/i2c/s5k6aa.c S5K6AA_WIN_HEIGHT_MAX - crop->height); crop 1429 drivers/media/i2c/s5k6aa.c struct v4l2_rect *crop = v4l2_subdev_get_try_crop(sd, fh->pad, 0); crop 1437 drivers/media/i2c/s5k6aa.c crop->width = S5K6AA_WIN_WIDTH_MAX; crop 1438 drivers/media/i2c/s5k6aa.c crop->height = S5K6AA_WIN_HEIGHT_MAX; crop 1439 drivers/media/i2c/s5k6aa.c crop->left = 0; crop 1440 drivers/media/i2c/s5k6aa.c crop->top = 0; crop 312 drivers/media/i2c/smiapp/smiapp-core.c max = sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].height crop 466 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].height crop 472 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].width crop 899 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].height); crop 901 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].height; crop 907 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].width, crop 910 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].width; crop 960 drivers/media/i2c/smiapp/smiapp-core.c ((sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].width crop 962 drivers/media/i2c/smiapp/smiapp-core.c (sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].height crop 1406 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].left); crop 1411 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].top); crop 1418 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].left crop 1419 drivers/media/i2c/smiapp/smiapp-core.c + sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].width - 1); crop 1425 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].top crop 1426 drivers/media/i2c/smiapp/smiapp-core.c + sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].height - 1); crop 1440 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler->crop[SMIAPP_PAD_SINK].left); crop 1446 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler->crop[SMIAPP_PAD_SINK].top); crop 1452 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler->crop[SMIAPP_PAD_SINK].width); crop 1458 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler->crop[SMIAPP_PAD_SINK].height); crop 1479 drivers/media/i2c/smiapp/smiapp-core.c sensor->src->crop[SMIAPP_PAD_SRC].width); crop 1483 drivers/media/i2c/smiapp/smiapp-core.c sensor->src->crop[SMIAPP_PAD_SRC].height); crop 1636 drivers/media/i2c/smiapp/smiapp-core.c r = &ssd->crop[ssd->source_pad]; crop 1674 drivers/media/i2c/smiapp/smiapp-core.c crops[i] = &ssd->crop[i]; crop 2616 drivers/media/i2c/smiapp/smiapp-core.c ssd->crop[ssd->source_pad] = ssd->compose; crop 2619 drivers/media/i2c/smiapp/smiapp-core.c ssd->crop[ssd->sink_pad] = ssd->compose; crop 154 drivers/media/i2c/smiapp/smiapp.h struct v4l2_rect crop[SMIAPP_PADS]; crop 977 drivers/media/i2c/tvp5150.c static void tvp5150_set_default(v4l2_std_id std, struct v4l2_rect *crop) crop 980 drivers/media/i2c/tvp5150.c crop->top = 0; crop 981 drivers/media/i2c/tvp5150.c crop->left = 0; crop 982 drivers/media/i2c/tvp5150.c crop->width = TVP5150_H_MAX; crop 984 drivers/media/i2c/tvp5150.c crop->height = TVP5150_V_MAX_525_60; crop 986 drivers/media/i2c/tvp5150.c crop->height = TVP5150_V_MAX_OTHERS; crop 673 drivers/media/pci/bt8xx/bttv-driver.c __s32 top = btv->crop[!!fh->do_crop].rect.top; crop 724 drivers/media/pci/bt8xx/bttv-driver.c u8 crop; crop 734 drivers/media/pci/bt8xx/bttv-driver.c crop = btread(BT848_E_CROP) | 0xc0; crop 735 drivers/media/pci/bt8xx/bttv-driver.c btwrite(crop, BT848_E_CROP); crop 737 drivers/media/pci/bt8xx/bttv-driver.c btwrite(crop, BT848_O_CROP); crop 1128 drivers/media/pci/bt8xx/bttv-driver.c bttv_crop_reset(&btv->crop[0], norm); crop 1129 drivers/media/pci/bt8xx/bttv-driver.c btv->crop[1] = btv->crop[0]; /* current = default */ crop 1564 drivers/media/pci/bt8xx/bttv-driver.c c = btv->crop[!!fh->do_crop]; crop 1596 drivers/media/pci/bt8xx/bttv-driver.c buf->crop.top != c.rect.top || crop 1597 drivers/media/pci/bt8xx/bttv-driver.c buf->crop.left != c.rect.left || crop 1598 drivers/media/pci/bt8xx/bttv-driver.c buf->crop.width != c.rect.width || crop 1599 drivers/media/pci/bt8xx/bttv-driver.c buf->crop.height != c.rect.height) { crop 1605 drivers/media/pci/bt8xx/bttv-driver.c buf->crop = c.rect; crop 1972 drivers/media/pci/bt8xx/bttv-driver.c c = &btv->crop[!!fh->do_crop]; crop 2086 drivers/media/pci/bt8xx/bttv-driver.c height2 = fh->btv->crop[!!fh->do_crop].rect.height >> 1; crop 2193 drivers/media/pci/bt8xx/bttv-driver.c new->crop = btv->crop[!!fh->do_crop].rect; crop 2337 drivers/media/pci/bt8xx/bttv-driver.c height2 = btv->crop[!!fh->do_crop].rect.height >> 1; crop 2561 drivers/media/pci/bt8xx/bttv-driver.c new->crop = btv->crop[!!fh->do_crop].rect; crop 2634 drivers/media/pci/bt8xx/bttv-driver.c new->crop = btv->crop[!!fh->do_crop].rect; crop 2772 drivers/media/pci/bt8xx/bttv-driver.c sel->r = btv->crop[!!fh->do_crop].rect; crop 2845 drivers/media/pci/bt8xx/bttv-driver.c btv->crop[1] = c; crop 4178 drivers/media/pci/bt8xx/bttv-driver.c bttv_crop_reset(&btv->crop[0], btv->tvnorm); crop 4179 drivers/media/pci/bt8xx/bttv-driver.c btv->crop[1] = btv->crop[0]; /* current = default */ crop 352 drivers/media/pci/bt8xx/bttv-risc.c geo->crop = ((width>>8)&0x03) | ((geo->hdelay>>6)&0x0c) | crop 376 drivers/media/pci/bt8xx/bttv-risc.c const struct v4l2_rect * crop) crop 382 drivers/media/pci/bt8xx/bttv-risc.c if ((crop->left == tvnorm->cropcap.defrect.left crop 383 drivers/media/pci/bt8xx/bttv-risc.c && crop->top == tvnorm->cropcap.defrect.top crop 384 drivers/media/pci/bt8xx/bttv-risc.c && crop->width == tvnorm->cropcap.defrect.width crop 385 drivers/media/pci/bt8xx/bttv-risc.c && crop->height == tvnorm->cropcap.defrect.height crop 395 drivers/media/pci/bt8xx/bttv-risc.c c_width = min((unsigned int) crop->width, width * 16); crop 396 drivers/media/pci/bt8xx/bttv-risc.c c_height = min((unsigned int) crop->height, height * 16); crop 401 drivers/media/pci/bt8xx/bttv-risc.c geo->hdelay = ((crop->left * width + c_width) / c_width) & ~1; crop 404 drivers/media/pci/bt8xx/bttv-risc.c geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; crop 411 drivers/media/pci/bt8xx/bttv-risc.c geo->crop = (((geo->width >> 8) & 0x03) | crop 444 drivers/media/pci/bt8xx/bttv-risc.c btwrite(geo->crop, BT848_E_CROP+off); crop 599 drivers/media/pci/bt8xx/bttv-risc.c unsigned int crop, vdelay; crop 605 drivers/media/pci/bt8xx/bttv-risc.c crop = btread(BT848_E_CROP); crop 606 drivers/media/pci/bt8xx/bttv-risc.c vdelay = btread(BT848_E_VDELAY_LO) + ((crop & 0xc0) << 2); crop 610 drivers/media/pci/bt8xx/bttv-risc.c crop = (crop & 0x3f) | ((vbi->geo.vdelay >> 2) & 0xc0); crop 613 drivers/media/pci/bt8xx/bttv-risc.c btwrite(crop, BT848_E_CROP); crop 615 drivers/media/pci/bt8xx/bttv-risc.c btwrite(crop, BT848_O_CROP); crop 713 drivers/media/pci/bt8xx/bttv-risc.c tvnorm,&buf->crop); crop 767 drivers/media/pci/bt8xx/bttv-risc.c tvnorm,&buf->crop); crop 776 drivers/media/pci/bt8xx/bttv-risc.c tvnorm,&buf->crop); crop 785 drivers/media/pci/bt8xx/bttv-risc.c tvnorm,&buf->crop); crop 808 drivers/media/pci/bt8xx/bttv-risc.c tvnorm,&buf->crop); crop 839 drivers/media/pci/bt8xx/bttv-risc.c 1,tvnorm,&buf->crop); crop 870 drivers/media/pci/bt8xx/bttv-risc.c &bttv_tvnorms[ov->tvnorm],&buf->crop); crop 139 drivers/media/pci/bt8xx/bttvp.h u8 vtc,crop,comb; crop 156 drivers/media/pci/bt8xx/bttvp.h struct v4l2_rect crop; crop 485 drivers/media/pci/bt8xx/bttvp.h struct bttv_crop crop[2]; crop 1053 drivers/media/platform/am437x/am437x-vpfe.c vpfe_ccdc_set_image_window(&vpfe->ccdc, &vpfe->crop, vpfe->bpp); crop 1119 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.top = vpfe->crop.left = 0; crop 1120 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.width = vpfe->std_info.active_pixels; crop 1121 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.height = vpfe->std_info.active_lines; crop 1122 drivers/media/platform/am437x/am437x-vpfe.c pix->width = vpfe->crop.width; crop 1123 drivers/media/platform/am437x/am437x-vpfe.c pix->height = vpfe->crop.height; crop 1137 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.width = pix->width; crop 1138 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.height = pix->height; crop 1583 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.width = fmt->fmt.pix.width; crop 1584 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.height = fmt->fmt.pix.height; crop 2105 drivers/media/platform/am437x/am437x-vpfe.c s->r = vpfe->crop; crop 2133 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_rect cr = vpfe->crop; crop 2158 drivers/media/platform/am437x/am437x-vpfe.c s->r = vpfe->crop = r; crop 258 drivers/media/platform/am437x/am437x-vpfe.h struct v4l2_rect crop; crop 259 drivers/media/platform/davinci/vpfe_capture.c ccdc_dev->hw_ops.set_image_window(&vpfe_dev->crop); crop 323 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->crop.top = 0; crop 324 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->crop.left = 0; crop 325 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->crop.width = vpfe_dev->std_info.active_pixels; crop 326 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->crop.height = vpfe_dev->std_info.active_lines; crop 327 drivers/media/platform/davinci/vpfe_capture.c pix->width = vpfe_dev->crop.width; crop 328 drivers/media/platform/davinci/vpfe_capture.c pix->height = vpfe_dev->crop.height; crop 1545 drivers/media/platform/davinci/vpfe_capture.c sel->r = vpfe_dev->crop; crop 1609 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->crop = rect; crop 234 drivers/media/platform/exynos-gsc/gsc-core.c frame->crop.width = width; crop 235 drivers/media/platform/exynos-gsc/gsc-core.c frame->crop.height = height; crop 236 drivers/media/platform/exynos-gsc/gsc-core.c frame->crop.left = 0; crop 237 drivers/media/platform/exynos-gsc/gsc-core.c frame->crop.top = 0; crop 292 drivers/media/platform/exynos-gsc/gsc-core.c remainder = s_frame->crop.width % (*wratio * walign); crop 294 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.width -= remainder; crop 295 drivers/media/platform/exynos-gsc/gsc-core.c gsc_cal_prescaler_ratio(var, s_frame->crop.width, tx, wratio); crop 297 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.width + remainder, s_frame->crop.width); crop 300 drivers/media/platform/exynos-gsc/gsc-core.c remainder = s_frame->crop.height % (*hratio * halign); crop 302 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.height -= remainder; crop 303 drivers/media/platform/exynos-gsc/gsc-core.c gsc_cal_prescaler_ratio(var, s_frame->crop.height, ty, hratio); crop 305 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.height + remainder, s_frame->crop.height); crop 644 drivers/media/platform/exynos-gsc/gsc-core.c ret = gsc_check_scaler_ratio(variant, s_frame->crop.width, crop 645 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.height, d_frame->crop.width, d_frame->crop.height, crop 654 drivers/media/platform/exynos-gsc/gsc-core.c ty = d_frame->crop.width; crop 655 drivers/media/platform/exynos-gsc/gsc-core.c tx = d_frame->crop.height; crop 657 drivers/media/platform/exynos-gsc/gsc-core.c tx = d_frame->crop.width; crop 658 drivers/media/platform/exynos-gsc/gsc-core.c ty = d_frame->crop.height; crop 666 drivers/media/platform/exynos-gsc/gsc-core.c ret = gsc_cal_prescaler_ratio(variant, s_frame->crop.width, crop 673 drivers/media/platform/exynos-gsc/gsc-core.c ret = gsc_cal_prescaler_ratio(variant, s_frame->crop.height, crop 686 drivers/media/platform/exynos-gsc/gsc-core.c sc->main_hratio = (s_frame->crop.width << 16) / tx; crop 687 drivers/media/platform/exynos-gsc/gsc-core.c sc->main_vratio = (s_frame->crop.height << 16) / ty; crop 690 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.width, s_frame->crop.height, tx, ty); crop 721 drivers/media/platform/exynos-gsc/gsc-core.c ctx->s_frame.crop.width, crop 722 drivers/media/platform/exynos-gsc/gsc-core.c ctx->s_frame.crop.height, crop 723 drivers/media/platform/exynos-gsc/gsc-core.c ctx->d_frame.crop.width, crop 724 drivers/media/platform/exynos-gsc/gsc-core.c ctx->d_frame.crop.height, crop 197 drivers/media/platform/exynos-gsc/gsc-core.h struct v4l2_rect crop; crop 476 drivers/media/platform/exynos-gsc/gsc-m2m.c s->r.left = frame->crop.left; crop 477 drivers/media/platform/exynos-gsc/gsc-m2m.c s->r.top = frame->crop.top; crop 478 drivers/media/platform/exynos-gsc/gsc-m2m.c s->r.width = frame->crop.width; crop 479 drivers/media/platform/exynos-gsc/gsc-m2m.c s->r.height = frame->crop.height; crop 534 drivers/media/platform/exynos-gsc/gsc-m2m.c sel.r.height, ctx->d_frame.crop.width, crop 535 drivers/media/platform/exynos-gsc/gsc-m2m.c ctx->d_frame.crop.height, crop 539 drivers/media/platform/exynos-gsc/gsc-m2m.c ctx->s_frame.crop.width, crop 540 drivers/media/platform/exynos-gsc/gsc-m2m.c ctx->s_frame.crop.height, sel.r.width, crop 551 drivers/media/platform/exynos-gsc/gsc-m2m.c frame->crop = sel.r; crop 127 drivers/media/platform/exynos-gsc/gsc-regs.c cfg = GSC_SRCIMG_OFFSET_X(frame->crop.left); crop 128 drivers/media/platform/exynos-gsc/gsc-regs.c cfg |= GSC_SRCIMG_OFFSET_Y(frame->crop.top); crop 137 drivers/media/platform/exynos-gsc/gsc-regs.c cfg = GSC_CROPPED_WIDTH(frame->crop.width); crop 138 drivers/media/platform/exynos-gsc/gsc-regs.c cfg |= GSC_CROPPED_HEIGHT(frame->crop.height); crop 241 drivers/media/platform/exynos-gsc/gsc-regs.c cfg = GSC_DSTIMG_OFFSET_X(frame->crop.left); crop 242 drivers/media/platform/exynos-gsc/gsc-regs.c cfg |= GSC_DSTIMG_OFFSET_Y(frame->crop.top); crop 253 drivers/media/platform/exynos-gsc/gsc-regs.c cfg = GSC_SCALED_WIDTH(frame->crop.height); crop 254 drivers/media/platform/exynos-gsc/gsc-regs.c cfg |= GSC_SCALED_HEIGHT(frame->crop.width); crop 256 drivers/media/platform/exynos-gsc/gsc-regs.c cfg = GSC_SCALED_WIDTH(frame->crop.width); crop 257 drivers/media/platform/exynos-gsc/gsc-regs.c cfg |= GSC_SCALED_HEIGHT(frame->crop.height); crop 106 drivers/media/platform/mtk-mdp/mtk_mdp_core.h struct v4l2_rect crop; crop 394 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->crop.width = width; crop 395 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->crop.height = height; crop 396 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->crop.left = 0; crop 397 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->crop.top = 0; crop 836 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c s->r.left = frame->crop.left; crop 837 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c s->r.top = frame->crop.top; crop 838 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c s->r.width = frame->crop.width; crop 839 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c s->r.height = frame->crop.height; crop 905 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c new_r.height, ctx->d_frame.crop.width, crop 906 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->d_frame.crop.height, crop 910 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.width, crop 911 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.height, new_r.width, crop 923 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->crop = new_r; crop 1008 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.width, crop 1009 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.height, crop 1010 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->d_frame.crop.width, crop 1011 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->d_frame.crop.height, crop 74 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_x = frame->crop.left; crop 75 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_y = frame->crop.top; crop 78 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_w = frame->crop.width; crop 79 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_h = frame->crop.height; crop 109 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_x = frame->crop.left; crop 110 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_y = frame->crop.top; crop 111 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_w = frame->crop.width; crop 112 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_h = frame->crop.height; crop 114 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c struct v4l2_rect crop; crop 257 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->left = inst->vsi->crop.left; crop 258 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->top = inst->vsi->crop.top; crop 259 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->width = inst->vsi->crop.width; crop 260 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->height = inst->vsi->crop.height; crop 203 drivers/media/platform/omap/omap_vout.c struct v4l2_rect *crop = &vout->crop; crop 226 drivers/media/platform/omap/omap_vout.c crop->top + crop->left * ps; crop 302 drivers/media/platform/omap/omap_vout.c cropheight = vout->crop.width; crop 303 drivers/media/platform/omap/omap_vout.c cropwidth = vout->crop.height; crop 306 drivers/media/platform/omap/omap_vout.c cropheight = vout->crop.height; crop 307 drivers/media/platform/omap/omap_vout.c cropwidth = vout->crop.width; crop 690 drivers/media/platform/omap/omap_vout.c omap_vout_new_format(&vout->pix, &vout->fbuf, &vout->crop, &vout->win); crop 730 drivers/media/platform/omap/omap_vout.c ret = omap_vout_new_window(&vout->crop, &vout->win, &vout->fbuf, win); crop 799 drivers/media/platform/omap/omap_vout.c sel->r = vout->crop; crop 853 drivers/media/platform/omap/omap_vout.c ret = omap_vout_new_crop(&vout->pix, &vout->crop, &vout->win, crop 1349 drivers/media/platform/omap/omap_vout.c omap_vout_new_format(pix, &vout->fbuf, &vout->crop, &vout->win); crop 322 drivers/media/platform/omap/omap_vout_vrfb.c struct v4l2_rect *crop = &vout->crop; crop 354 drivers/media/platform/omap/omap_vout_vrfb.c ctop = (pix->height - crop->height) - crop->top; crop 355 drivers/media/platform/omap/omap_vout_vrfb.c cleft = (pix->width - crop->width) - crop->left; crop 367 drivers/media/platform/omap/omap_vout_vrfb.c temp_ps * cleft + crop->top * temp_ps; crop 370 drivers/media/platform/omap/omap_vout_vrfb.c cleft + crop->top * temp_ps + (line_length * crop 371 drivers/media/platform/omap/omap_vout_vrfb.c ((crop->width / (vr_ps)) - 1) * ps); crop 386 drivers/media/platform/omap/omap_vout_vrfb.c (crop->height - 1) * ps); crop 395 drivers/media/platform/omap/omap_vout_vrfb.c temp_ps * crop->left + ctop * ps; crop 398 drivers/media/platform/omap/omap_vout_vrfb.c temp_ps * crop->left + ctop * ps + crop 399 drivers/media/platform/omap/omap_vout_vrfb.c (line_length * ((crop->width / vr_ps) - 1) * crop 406 drivers/media/platform/omap/omap_vout_vrfb.c crop->top + (crop->left / vr_ps) * ps; crop 409 drivers/media/platform/omap/omap_vout_vrfb.c crop->top + (crop->left / vr_ps) * ps + crop 410 drivers/media/platform/omap/omap_vout_vrfb.c (line_length * (crop->height - 1) * ps); crop 414 drivers/media/platform/omap/omap_vout_vrfb.c *cropped_offset = (line_length * ps * crop->top) / crop 415 drivers/media/platform/omap/omap_vout_vrfb.c vr_ps + (crop->left * ps) / vr_ps + crop 416 drivers/media/platform/omap/omap_vout_vrfb.c ((crop->width / vr_ps) - 1) * ps; crop 147 drivers/media/platform/omap/omap_voutdef.h struct v4l2_rect crop; crop 44 drivers/media/platform/omap/omap_voutlib.c struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop) crop 46 drivers/media/platform/omap/omap_voutlib.c crop->width = (pix->width < fbuf->fmt.width) ? crop 48 drivers/media/platform/omap/omap_voutlib.c crop->height = (pix->height < fbuf->fmt.height) ? crop 50 drivers/media/platform/omap/omap_voutlib.c crop->width &= ~1; crop 51 drivers/media/platform/omap/omap_voutlib.c crop->height &= ~1; crop 52 drivers/media/platform/omap/omap_voutlib.c crop->left = ((pix->width - crop->width) >> 1) & ~1; crop 53 drivers/media/platform/omap/omap_voutlib.c crop->top = ((pix->height - crop->height) >> 1) & ~1; crop 115 drivers/media/platform/omap/omap_voutlib.c int omap_vout_new_window(struct v4l2_rect *crop, crop 133 drivers/media/platform/omap/omap_voutlib.c if ((crop->height/win->w.height) >= 2) crop 134 drivers/media/platform/omap/omap_voutlib.c crop->height = win->w.height * 2; crop 136 drivers/media/platform/omap/omap_voutlib.c if ((crop->width/win->w.width) >= 2) crop 137 drivers/media/platform/omap/omap_voutlib.c crop->width = win->w.width * 2; crop 139 drivers/media/platform/omap/omap_voutlib.c if (crop->width > 768) { crop 144 drivers/media/platform/omap/omap_voutlib.c if (crop->height != win->w.height) crop 145 drivers/media/platform/omap/omap_voutlib.c crop->width = 768; crop 149 drivers/media/platform/omap/omap_voutlib.c if ((crop->height/win->w.height) >= 4) crop 150 drivers/media/platform/omap/omap_voutlib.c crop->height = win->w.height * 4; crop 152 drivers/media/platform/omap/omap_voutlib.c if ((crop->width/win->w.width) >= 4) crop 153 drivers/media/platform/omap/omap_voutlib.c crop->width = win->w.width * 4; crop 170 drivers/media/platform/omap/omap_voutlib.c struct v4l2_rect *crop, struct v4l2_window *win, crop 273 drivers/media/platform/omap/omap_voutlib.c *crop = try_crop; crop 286 drivers/media/platform/omap/omap_voutlib.c struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop, crop 292 drivers/media/platform/omap/omap_voutlib.c omap_vout_default_crop(pix, fbuf, crop); crop 295 drivers/media/platform/omap/omap_voutlib.c win->w.width = crop->width; crop 296 drivers/media/platform/omap/omap_voutlib.c win->w.height = crop->height; crop 16 drivers/media/platform/omap/omap_voutlib.h struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop); crop 19 drivers/media/platform/omap/omap_voutlib.h struct v4l2_rect *crop, struct v4l2_window *win, crop 26 drivers/media/platform/omap/omap_voutlib.h int omap_vout_new_window(struct v4l2_rect *crop, crop 31 drivers/media/platform/omap/omap_voutlib.h struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop, crop 1119 drivers/media/platform/omap3isp/ispccdc.c const struct v4l2_rect *crop; crop 1224 drivers/media/platform/omap3isp/ispccdc.c crop = &ccdc->crop; crop 1232 drivers/media/platform/omap3isp/ispccdc.c sph = crop->left * 2; crop 1233 drivers/media/platform/omap3isp/ispccdc.c nph = crop->width * 2 - 1; crop 1235 drivers/media/platform/omap3isp/ispccdc.c sph = crop->left; crop 1236 drivers/media/platform/omap3isp/ispccdc.c nph = crop->width - 1; crop 1242 drivers/media/platform/omap3isp/ispccdc.c isp_reg_writel(isp, (crop->top << ISPCCDC_VERT_START_SLV0_SHIFT) | crop 1243 drivers/media/platform/omap3isp/ispccdc.c (crop->top << ISPCCDC_VERT_START_SLV1_SHIFT), crop 1245 drivers/media/platform/omap3isp/ispccdc.c isp_reg_writel(isp, (crop->height - 1) crop 1948 drivers/media/platform/omap3isp/ispccdc.c return &ccdc->crop; crop 1967 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_rect *crop; crop 2020 drivers/media/platform/omap3isp/ispccdc.c crop = __ccdc_get_crop(ccdc, cfg, which); crop 2021 drivers/media/platform/omap3isp/ispccdc.c fmt->width = crop->width; crop 2022 drivers/media/platform/omap3isp/ispccdc.c fmt->height = crop->height; crop 2071 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_rect *crop) crop 2081 drivers/media/platform/omap3isp/ispccdc.c crop->left &= ~1; crop 2082 drivers/media/platform/omap3isp/ispccdc.c crop->top &= ~1; crop 2085 drivers/media/platform/omap3isp/ispccdc.c crop->left = clamp_t(u32, crop->left, 0, sink->width - CCDC_MIN_WIDTH); crop 2086 drivers/media/platform/omap3isp/ispccdc.c crop->top = clamp_t(u32, crop->top, 0, sink->height - CCDC_MIN_HEIGHT); crop 2093 drivers/media/platform/omap3isp/ispccdc.c max_width = (sink->width - crop->left + 15) & ~15; crop 2094 drivers/media/platform/omap3isp/ispccdc.c crop->width = clamp_t(u32, crop->width, CCDC_MIN_WIDTH, max_width) crop 2096 drivers/media/platform/omap3isp/ispccdc.c crop->height = clamp_t(u32, crop->height, CCDC_MIN_HEIGHT, crop 2097 drivers/media/platform/omap3isp/ispccdc.c sink->height - crop->top); crop 2101 drivers/media/platform/omap3isp/ispccdc.c crop->width &= ~1; crop 2102 drivers/media/platform/omap3isp/ispccdc.c crop->height &= ~1; crop 2333 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_rect *crop; crop 2345 drivers/media/platform/omap3isp/ispccdc.c crop = __ccdc_get_crop(ccdc, cfg, fmt->which); crop 2346 drivers/media/platform/omap3isp/ispccdc.c crop->left = 0; crop 2347 drivers/media/platform/omap3isp/ispccdc.c crop->top = 0; crop 2348 drivers/media/platform/omap3isp/ispccdc.c crop->width = fmt->format.width; crop 2349 drivers/media/platform/omap3isp/ispccdc.c crop->height = fmt->format.height; crop 2351 drivers/media/platform/omap3isp/ispccdc.c ccdc_try_crop(ccdc, &fmt->format, crop); crop 131 drivers/media/platform/omap3isp/ispccdc.h struct v4l2_rect crop; crop 1066 drivers/media/platform/omap3isp/isppreview.c unsigned int sph = prev->crop.left; crop 1067 drivers/media/platform/omap3isp/isppreview.c unsigned int eph = prev->crop.left + prev->crop.width - 1; crop 1068 drivers/media/platform/omap3isp/isppreview.c unsigned int slv = prev->crop.top; crop 1069 drivers/media/platform/omap3isp/isppreview.c unsigned int elv = prev->crop.top + prev->crop.height - 1; crop 1698 drivers/media/platform/omap3isp/isppreview.c return &prev->crop; crop 1737 drivers/media/platform/omap3isp/isppreview.c struct v4l2_rect *crop; crop 1791 drivers/media/platform/omap3isp/isppreview.c crop = __preview_get_crop(prev, cfg, which); crop 1792 drivers/media/platform/omap3isp/isppreview.c fmt->width = crop->width; crop 1793 drivers/media/platform/omap3isp/isppreview.c fmt->height = crop->height; crop 1816 drivers/media/platform/omap3isp/isppreview.c struct v4l2_rect *crop) crop 1846 drivers/media/platform/omap3isp/isppreview.c crop->left &= ~1; crop 1847 drivers/media/platform/omap3isp/isppreview.c crop->top &= ~1; crop 1849 drivers/media/platform/omap3isp/isppreview.c crop->left = clamp_t(u32, crop->left, left, right - PREV_MIN_OUT_WIDTH); crop 1850 drivers/media/platform/omap3isp/isppreview.c crop->top = clamp_t(u32, crop->top, top, bottom - PREV_MIN_OUT_HEIGHT); crop 1851 drivers/media/platform/omap3isp/isppreview.c crop->width = clamp_t(u32, crop->width, PREV_MIN_OUT_WIDTH, crop 1852 drivers/media/platform/omap3isp/isppreview.c right - crop->left); crop 1853 drivers/media/platform/omap3isp/isppreview.c crop->height = clamp_t(u32, crop->height, PREV_MIN_OUT_HEIGHT, crop 1854 drivers/media/platform/omap3isp/isppreview.c bottom - crop->top); crop 2039 drivers/media/platform/omap3isp/isppreview.c struct v4l2_rect *crop; crop 2051 drivers/media/platform/omap3isp/isppreview.c crop = __preview_get_crop(prev, cfg, fmt->which); crop 2052 drivers/media/platform/omap3isp/isppreview.c crop->left = 0; crop 2053 drivers/media/platform/omap3isp/isppreview.c crop->top = 0; crop 2054 drivers/media/platform/omap3isp/isppreview.c crop->width = fmt->format.width; crop 2055 drivers/media/platform/omap3isp/isppreview.c crop->height = fmt->format.height; crop 2057 drivers/media/platform/omap3isp/isppreview.c preview_try_crop(prev, &fmt->format, crop); crop 124 drivers/media/platform/omap3isp/isppreview.h struct v4l2_rect crop; crop 139 drivers/media/platform/omap3isp/ispresizer.c return &res->crop.request; crop 505 drivers/media/platform/omap3isp/ispresizer.c clock = div_u64((u64)limit * res->crop.active.height, ofmt->height); crop 507 drivers/media/platform/omap3isp/ispresizer.c *max_rate = div_u64((u64)clock * res->crop.active.width, ofmt->width); crop 586 drivers/media/platform/omap3isp/ispresizer.c requests_per_frame = DIV_ROUND_UP(res->crop.active.width * 2, 256) crop 587 drivers/media/platform/omap3isp/ispresizer.c * res->crop.active.height; crop 924 drivers/media/platform/omap3isp/ispresizer.c res->crop_offset = (res->crop.active.top * input->width + crop 925 drivers/media/platform/omap3isp/ispresizer.c res->crop.active.left) * 2; crop 944 drivers/media/platform/omap3isp/ispresizer.c resizer_set_start(res, res->crop.active.left * 2, crop 945 drivers/media/platform/omap3isp/ispresizer.c res->crop.active.top); crop 952 drivers/media/platform/omap3isp/ispresizer.c resizer_set_input_size(res, res->crop.active.width, crop 953 drivers/media/platform/omap3isp/ispresizer.c res->crop.active.height); crop 1183 drivers/media/platform/omap3isp/ispresizer.c struct v4l2_rect *crop) crop 1200 drivers/media/platform/omap3isp/ispresizer.c crop->width = clamp_t(u32, crop->width, min_width, max_width); crop 1201 drivers/media/platform/omap3isp/ispresizer.c crop->height = clamp_t(u32, crop->height, min_height, max_height); crop 1204 drivers/media/platform/omap3isp/ispresizer.c crop->left = clamp_t(u32, crop->left, 0, sink->width - MIN_IN_WIDTH); crop 1205 drivers/media/platform/omap3isp/ispresizer.c crop->width = clamp_t(u32, crop->width, MIN_IN_WIDTH, crop 1206 drivers/media/platform/omap3isp/ispresizer.c sink->width - crop->left); crop 1207 drivers/media/platform/omap3isp/ispresizer.c crop->top = clamp_t(u32, crop->top, 0, sink->height - MIN_IN_HEIGHT); crop 1208 drivers/media/platform/omap3isp/ispresizer.c crop->height = clamp_t(u32, crop->height, MIN_IN_HEIGHT, crop 1209 drivers/media/platform/omap3isp/ispresizer.c sink->height - crop->top); crop 1335 drivers/media/platform/omap3isp/ispresizer.c res->crop.active = sel->r; crop 1380 drivers/media/platform/omap3isp/ispresizer.c struct v4l2_rect crop; crop 1398 drivers/media/platform/omap3isp/ispresizer.c crop = *__resizer_get_crop(res, cfg, which); crop 1399 drivers/media/platform/omap3isp/ispresizer.c resizer_calc_ratios(res, &crop, fmt, &ratio); crop 1501 drivers/media/platform/omap3isp/ispresizer.c struct v4l2_rect *crop; crop 1512 drivers/media/platform/omap3isp/ispresizer.c crop = __resizer_get_crop(res, cfg, fmt->which); crop 1513 drivers/media/platform/omap3isp/ispresizer.c crop->left = 0; crop 1514 drivers/media/platform/omap3isp/ispresizer.c crop->top = 0; crop 1515 drivers/media/platform/omap3isp/ispresizer.c crop->width = fmt->format.width; crop 1516 drivers/media/platform/omap3isp/ispresizer.c crop->height = fmt->format.height; crop 1531 drivers/media/platform/omap3isp/ispresizer.c res->crop.active = res->crop.request; crop 1532 drivers/media/platform/omap3isp/ispresizer.c resizer_calc_ratios(res, &res->crop.active, format, crop 113 drivers/media/platform/omap3isp/ispresizer.h } crop; crop 743 drivers/media/platform/qcom/camss/camss-vfe-4-1.c first = line->crop.left; crop 744 drivers/media/platform/qcom/camss/camss-vfe-4-1.c last = line->crop.left + line->crop.width - 1; crop 748 drivers/media/platform/qcom/camss/camss-vfe-4-1.c first = line->crop.top; crop 749 drivers/media/platform/qcom/camss/camss-vfe-4-1.c last = line->crop.top + line->crop.height - 1; crop 753 drivers/media/platform/qcom/camss/camss-vfe-4-1.c first = line->crop.left / 2; crop 754 drivers/media/platform/qcom/camss/camss-vfe-4-1.c last = line->crop.left / 2 + line->crop.width / 2 - 1; crop 758 drivers/media/platform/qcom/camss/camss-vfe-4-1.c first = line->crop.top; crop 759 drivers/media/platform/qcom/camss/camss-vfe-4-1.c last = line->crop.top + line->crop.height - 1; crop 761 drivers/media/platform/qcom/camss/camss-vfe-4-1.c first = line->crop.top / 2; crop 762 drivers/media/platform/qcom/camss/camss-vfe-4-1.c last = line->crop.top / 2 + line->crop.height / 2 - 1; crop 846 drivers/media/platform/qcom/camss/camss-vfe-4-7.c first = line->crop.left; crop 847 drivers/media/platform/qcom/camss/camss-vfe-4-7.c last = line->crop.left + line->crop.width - 1; crop 851 drivers/media/platform/qcom/camss/camss-vfe-4-7.c first = line->crop.top; crop 852 drivers/media/platform/qcom/camss/camss-vfe-4-7.c last = line->crop.top + line->crop.height - 1; crop 856 drivers/media/platform/qcom/camss/camss-vfe-4-7.c first = line->crop.left / 2; crop 857 drivers/media/platform/qcom/camss/camss-vfe-4-7.c last = line->crop.left / 2 + line->crop.width / 2 - 1; crop 861 drivers/media/platform/qcom/camss/camss-vfe-4-7.c first = line->crop.top; crop 862 drivers/media/platform/qcom/camss/camss-vfe-4-7.c last = line->crop.top + line->crop.height - 1; crop 864 drivers/media/platform/qcom/camss/camss-vfe-4-7.c first = line->crop.top / 2; crop 865 drivers/media/platform/qcom/camss/camss-vfe-4-7.c last = line->crop.top / 2 + line->crop.height / 2 - 1; crop 1518 drivers/media/platform/qcom/camss/camss-vfe.c return &line->crop; crop 1905 drivers/media/platform/qcom/camss/camss-vfe.c struct v4l2_subdev_selection crop = { 0 }; crop 1915 drivers/media/platform/qcom/camss/camss-vfe.c crop.which = sel->which; crop 1916 drivers/media/platform/qcom/camss/camss-vfe.c crop.pad = MSM_VFE_PAD_SRC; crop 1917 drivers/media/platform/qcom/camss/camss-vfe.c crop.target = V4L2_SEL_TGT_CROP; crop 1918 drivers/media/platform/qcom/camss/camss-vfe.c crop.r = *rect; crop 1919 drivers/media/platform/qcom/camss/camss-vfe.c ret = vfe_set_selection(sd, cfg, &crop); crop 71 drivers/media/platform/qcom/camss/camss-vfe.h struct v4l2_rect crop; crop 29 drivers/media/platform/qcom/venus/hfi_msgs.c struct hfi_extradata_input_crop *crop; crop 101 drivers/media/platform/qcom/venus/hfi_msgs.c crop = (struct hfi_extradata_input_crop *)data_ptr; crop 102 drivers/media/platform/qcom/venus/hfi_msgs.c event.input_crop.left = crop->left; crop 103 drivers/media/platform/qcom/venus/hfi_msgs.c event.input_crop.top = crop->top; crop 104 drivers/media/platform/qcom/venus/hfi_msgs.c event.input_crop.width = crop->width; crop 105 drivers/media/platform/qcom/venus/hfi_msgs.c event.input_crop.height = crop->height; crop 106 drivers/media/platform/qcom/venus/hfi_msgs.c data_ptr += sizeof(*crop); crop 536 drivers/media/platform/rcar-vin/rcar-dma.c if (vin->crop.height != vin->compose.height) crop 537 drivers/media/platform/rcar-vin/rcar-dma.c ys = (4096 * vin->crop.height) / vin->compose.height; crop 541 drivers/media/platform/rcar-vin/rcar-dma.c if (vin->crop.width != vin->compose.width) crop 542 drivers/media/platform/rcar-vin/rcar-dma.c xs = (4096 * vin->crop.width) / vin->compose.width; crop 573 drivers/media/platform/rcar-vin/rcar-dma.c vin->crop.width, vin->crop.height, vin->crop.left, crop 574 drivers/media/platform/rcar-vin/rcar-dma.c vin->crop.top, ys, xs, vin->format.width, vin->format.height, crop 584 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->crop.left, VNSPPRC_REG); crop 585 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->crop.left + vin->crop.width - 1, VNEPPRC_REG); crop 591 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->crop.top / 2, VNSLPRC_REG); crop 592 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, (vin->crop.top + vin->crop.height) / 2 - 1, crop 596 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->crop.top, VNSLPRC_REG); crop 597 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->crop.top + vin->crop.height - 1, crop 174 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop = vin->source; crop 182 drivers/media/platform/rcar-vin/rcar-v4l2.c struct v4l2_rect *crop, struct v4l2_rect *compose) crop 215 drivers/media/platform/rcar-vin/rcar-v4l2.c if (crop) { crop 216 drivers/media/platform/rcar-vin/rcar-v4l2.c crop->top = 0; crop 217 drivers/media/platform/rcar-vin/rcar-v4l2.c crop->left = 0; crop 218 drivers/media/platform/rcar-vin/rcar-v4l2.c crop->width = pix->width; crop 219 drivers/media/platform/rcar-vin/rcar-v4l2.c crop->height = pix->height; crop 226 drivers/media/platform/rcar-vin/rcar-v4l2.c crop->height *= 2; crop 274 drivers/media/platform/rcar-vin/rcar-v4l2.c struct v4l2_rect crop, compose; crop 281 drivers/media/platform/rcar-vin/rcar-v4l2.c &crop, &compose); crop 286 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop = crop; crop 288 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->source = crop; crop 330 drivers/media/platform/rcar-vin/rcar-v4l2.c s->r = vin->crop; crop 379 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop = s->r = r; crop 714 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop.top = 0; crop 715 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop.left = 0; crop 716 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop.width = vin->format.width; crop 717 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop.height = vin->format.height; crop 718 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->compose = vin->crop; crop 216 drivers/media/platform/rcar-vin/rcar-vin.h struct v4l2_rect crop; crop 180 drivers/media/platform/rockchip/rga/rga-hw.c src_h = ctx->in.crop.height; crop 181 drivers/media/platform/rockchip/rga/rga-hw.c src_w = ctx->in.crop.width; crop 182 drivers/media/platform/rockchip/rga/rga-hw.c src_x = ctx->in.crop.left; crop 183 drivers/media/platform/rockchip/rga/rga-hw.c src_y = ctx->in.crop.top; crop 184 drivers/media/platform/rockchip/rga/rga-hw.c dst_h = ctx->out.crop.height; crop 185 drivers/media/platform/rockchip/rga/rga-hw.c dst_w = ctx->out.crop.width; crop 186 drivers/media/platform/rockchip/rga/rga-hw.c dst_x = ctx->out.crop.left; crop 187 drivers/media/platform/rockchip/rga/rga-hw.c dst_y = ctx->out.crop.top; crop 351 drivers/media/platform/rockchip/rga/rga.c .crop.left = 0, crop 352 drivers/media/platform/rockchip/rga/rga.c .crop.top = 0, crop 353 drivers/media/platform/rockchip/rga/rga.c .crop.width = DEFAULT_WIDTH, crop 354 drivers/media/platform/rockchip/rga/rga.c .crop.height = DEFAULT_HEIGHT, crop 553 drivers/media/platform/rockchip/rga/rga.c frm->crop.left = 0; crop 554 drivers/media/platform/rockchip/rga/rga.c frm->crop.top = 0; crop 555 drivers/media/platform/rockchip/rga/rga.c frm->crop.width = frm->width; crop 556 drivers/media/platform/rockchip/rga/rga.c frm->crop.height = frm->height; crop 598 drivers/media/platform/rockchip/rga/rga.c s->r = f->crop; crop 659 drivers/media/platform/rockchip/rga/rga.c f->crop = s->r; crop 33 drivers/media/platform/rockchip/rga/rga.h struct v4l2_rect crop; crop 713 drivers/media/platform/s3c-camif/camif-capture.c struct v4l2_rect *crop = &camif->camif_crop; crop 729 drivers/media/platform/s3c-camif/camif-capture.c pix->width, pix->height, crop->width, crop->height, crop 735 drivers/media/platform/s3c-camif/camif-capture.c sc_hrmax = min(SCALER_MAX_RATIO, 1 << (ffs(crop->width) - 3)); crop 736 drivers/media/platform/s3c-camif/camif-capture.c sc_vrmax = min(SCALER_MAX_RATIO, 1 << (ffs(crop->height) - 1)); crop 738 drivers/media/platform/s3c-camif/camif-capture.c wmin = max_t(u32, pix_lim->min_out_width, crop->width / sc_hrmax); crop 740 drivers/media/platform/s3c-camif/camif-capture.c hmin = max_t(u32, 8, crop->height / sc_vrmax); crop 1270 drivers/media/platform/s3c-camif/camif-capture.c struct v4l2_rect *crop = &camif->camif_crop; crop 1271 drivers/media/platform/s3c-camif/camif-capture.c v4l_bound_align_image(&mf->width, 8, crop->width, crop 1273 drivers/media/platform/s3c-camif/camif-capture.c &mf->height, 8, crop->height, crop 1286 drivers/media/platform/s3c-camif/camif-capture.c struct v4l2_rect *crop = &camif->camif_crop; crop 1319 drivers/media/platform/s3c-camif/camif-capture.c crop->width = mf->width; crop 1320 drivers/media/platform/s3c-camif/camif-capture.c crop->height = mf->height; crop 1321 drivers/media/platform/s3c-camif/camif-capture.c crop->left = 0; crop 1322 drivers/media/platform/s3c-camif/camif-capture.c crop->top = 0; crop 1329 drivers/media/platform/s3c-camif/camif-capture.c frame->rect = *crop; crop 1338 drivers/media/platform/s3c-camif/camif-capture.c mf->width = crop->width; crop 1339 drivers/media/platform/s3c-camif/camif-capture.c mf->height = crop->height; crop 1352 drivers/media/platform/s3c-camif/camif-capture.c struct v4l2_rect *crop = &camif->camif_crop; crop 1368 drivers/media/platform/s3c-camif/camif-capture.c sel->r = *crop; crop 1379 drivers/media/platform/s3c-camif/camif-capture.c __func__, crop->left, crop->top, crop->width, crop 1380 drivers/media/platform/s3c-camif/camif-capture.c crop->height, mf->width, mf->height); crop 1439 drivers/media/platform/s3c-camif/camif-capture.c struct v4l2_rect *crop = &camif->camif_crop; crop 1455 drivers/media/platform/s3c-camif/camif-capture.c *crop = sel->r; crop 1471 drivers/media/platform/s3c-camif/camif-capture.c __func__, crop->left, crop->top, crop->width, crop->height, crop 131 drivers/media/platform/s3c-camif/camif-regs.c struct v4l2_rect *crop = &camif->camif_crop; crop 138 drivers/media/platform/s3c-camif/camif-regs.c cfg |= (crop->left << 16) | crop->top; crop 139 drivers/media/platform/s3c-camif/camif-regs.c if (crop->left != 0 || crop->top != 0) crop 144 drivers/media/platform/s3c-camif/camif-regs.c hoff2 = mf->width - crop->width - crop->left; crop 145 drivers/media/platform/s3c-camif/camif-regs.c voff2 = mf->height - crop->height - crop->top; crop 459 drivers/media/platform/sti/bdisp/bdisp-debug.c src.crop.width, src.crop.height, crop 460 drivers/media/platform/sti/bdisp/bdisp-debug.c src.crop.left, src.crop.top, crop 461 drivers/media/platform/sti/bdisp/bdisp-debug.c dst.crop.width, dst.crop.height, crop 462 drivers/media/platform/sti/bdisp/bdisp-debug.c dst.crop.left, dst.crop.top); crop 632 drivers/media/platform/sti/bdisp/bdisp-hw.c src_w = ctx->src.crop.width; crop 633 drivers/media/platform/sti/bdisp/bdisp-hw.c src_h = ctx->src.crop.height; crop 634 drivers/media/platform/sti/bdisp/bdisp-hw.c dst_w = ctx->dst.crop.width; crop 635 drivers/media/platform/sti/bdisp/bdisp-hw.c dst_h = ctx->dst.crop.height; crop 765 drivers/media/platform/sti/bdisp/bdisp-hw.c struct v4l2_rect src_rect = src->crop; crop 766 drivers/media/platform/sti/bdisp/bdisp-hw.c struct v4l2_rect dst_rect = dst->crop; crop 768 drivers/media/platform/sti/bdisp/bdisp-hw.c s32 dst_width = dst->crop.width; crop 781 drivers/media/platform/sti/bdisp/bdisp-hw.c dst_x_offset = (src_x_offset * dst_width) / ctx->src.crop.width; crop 783 drivers/media/platform/sti/bdisp/bdisp-hw.c dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; crop 1028 drivers/media/platform/sti/bdisp/bdisp-hw.c if (src_x_offset >= ctx->src.crop.width) crop 116 drivers/media/platform/sti/bdisp/bdisp-v4l2.c .crop = {0, 0, BDISP_DEF_WIDTH, BDISP_DEF_HEIGHT}, crop 830 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->crop.width = frame->width; crop 831 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->crop.height = frame->height; crop 832 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->crop.left = 0; crop 833 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->crop.top = 0; crop 860 drivers/media/platform/sti/bdisp/bdisp-v4l2.c s->r = frame->crop; crop 881 drivers/media/platform/sti/bdisp/bdisp-v4l2.c s->r = frame->crop; crop 993 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->crop = out; crop 76 drivers/media/platform/sti/bdisp/bdisp.h struct v4l2_rect crop; crop 25 drivers/media/platform/sti/delta/delta-debug.c s->crop.width, s->crop.height, crop 26 drivers/media/platform/sti/delta/delta-debug.c s->crop.left, s->crop.top, crop 46 drivers/media/platform/sti/delta/delta-debug.c f->crop.width, f->crop.height, crop 47 drivers/media/platform/sti/delta/delta-debug.c f->crop.left, f->crop.top, crop 726 drivers/media/platform/sti/delta/delta-v4l2.c struct v4l2_rect crop; crop 733 drivers/media/platform/sti/delta/delta-v4l2.c crop = frameinfo->crop; crop 736 drivers/media/platform/sti/delta/delta-v4l2.c crop.left = 0; crop 737 drivers/media/platform/sti/delta/delta-v4l2.c crop.top = 0; crop 738 drivers/media/platform/sti/delta/delta-v4l2.c crop.width = frameinfo->width; crop 739 drivers/media/platform/sti/delta/delta-v4l2.c crop.height = frameinfo->height; crop 746 drivers/media/platform/sti/delta/delta-v4l2.c s->r = crop; crop 1196 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->crop = streaminfo->crop; crop 72 drivers/media/platform/sti/delta/delta.h struct v4l2_rect crop; crop 140 drivers/media/platform/sti/delta/delta.h struct v4l2_rect crop; crop 144 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_rect crop; crop 388 drivers/media/platform/stm32/stm32-dcmi.c size = ((dcmi->crop.height - 1) << 16) | crop 389 drivers/media/platform/stm32/stm32-dcmi.c ((dcmi->crop.width << 1) - 1); crop 393 drivers/media/platform/stm32/stm32-dcmi.c start = ((dcmi->crop.top) << 16) | crop 394 drivers/media/platform/stm32/stm32-dcmi.c ((dcmi->crop.left << 1)); crop 398 drivers/media/platform/stm32/stm32-dcmi.c dcmi->crop.width, dcmi->crop.height, crop 399 drivers/media/platform/stm32/stm32-dcmi.c dcmi->crop.left, dcmi->crop.top); crop 1018 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_rect c = dcmi->crop; crop 1032 drivers/media/platform/stm32/stm32-dcmi.c dcmi->crop = c; crop 1035 drivers/media/platform/stm32/stm32-dcmi.c pix->width = dcmi->crop.width; crop 1036 drivers/media/platform/stm32/stm32-dcmi.c pix->height = dcmi->crop.height; crop 1254 drivers/media/platform/stm32/stm32-dcmi.c s->r = dcmi->crop; crop 1306 drivers/media/platform/stm32/stm32-dcmi.c dcmi->crop = r; crop 652 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_rect *crop = &dev->crop_cap; crop 700 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_min_size(crop, &min_r); crop 701 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_max_size(crop, &max_r); crop 702 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_map_inside(crop, &dev->crop_bounds_cap); crop 715 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_min_size(crop, &min_r); crop 716 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_max_size(crop, &max_r); crop 717 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_map_inside(crop, &dev->crop_bounds_cap); crop 721 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_size_to(crop, &r); crop 722 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_map_inside(crop, &dev->crop_bounds_cap); crop 723 drivers/media/platform/vivid/vivid-vid-cap.c r = *crop; crop 730 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_max_size(crop, &r); crop 731 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_map_inside(crop, &dev->crop_bounds_cap); crop 734 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_size_to(compose, crop); crop 754 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_size_to(crop, &r); crop 884 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_rect *crop = &dev->crop_cap; crop 955 drivers/media/platform/vivid/vivid-vid-cap.c *crop = s->r; crop 985 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_min_size(crop, &min_rect); crop 986 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_max_size(crop, &max_rect); crop 987 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_map_inside(crop, &dev->crop_bounds_cap); crop 993 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_set_size_to(crop, &s->r); crop 994 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_rect_map_inside(crop, &dev->crop_bounds_cap); crop 1013 drivers/media/platform/vivid/vivid-vid-cap.c tpg_s_crop_compose(&dev->tpg, crop, compose); crop 452 drivers/media/platform/vivid/vivid-vid-out.c struct v4l2_rect *crop = &dev->crop_out; crop 489 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_map_inside(crop, &r); crop 491 drivers/media/platform/vivid/vivid-vid-out.c *crop = r; crop 510 drivers/media/platform/vivid/vivid-vid-out.c crop->width / MAX_ZOOM, crop 511 drivers/media/platform/vivid/vivid-vid-out.c factor * crop->height / MAX_ZOOM crop 515 drivers/media/platform/vivid/vivid-vid-out.c crop->width * MAX_ZOOM, crop 516 drivers/media/platform/vivid/vivid-vid-out.c factor * crop->height * MAX_ZOOM crop 524 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_set_size_to(crop, &r); crop 529 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_map_inside(crop, &r); crop 536 drivers/media/platform/vivid/vivid-vid-out.c crop->top *= factor; crop 537 drivers/media/platform/vivid/vivid-vid-out.c crop->height *= factor; crop 538 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_set_size_to(crop, compose); crop 539 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_map_inside(crop, &r); crop 540 drivers/media/platform/vivid/vivid-vid-out.c crop->top /= factor; crop 541 drivers/media/platform/vivid/vivid-vid-out.c crop->height /= factor; crop 546 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_set_size_to(crop, &r); crop 682 drivers/media/platform/vivid/vivid-vid-out.c struct v4l2_rect *crop = &dev->crop_out; crop 738 drivers/media/platform/vivid/vivid-vid-out.c *crop = s->r; crop 771 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_set_min_size(crop, &min_rect); crop 772 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_set_max_size(crop, &max_rect); crop 783 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_set_size_to(crop, &s->r); crop 784 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_map_inside(crop, &dev->fmt_out_rect); crop 790 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_set_size_to(crop, &s->r); crop 791 drivers/media/platform/vivid/vivid-vid-out.c crop->height /= factor; crop 792 drivers/media/platform/vivid/vivid-vid-out.c v4l2_rect_map_inside(crop, &dev->fmt_out_rect); crop 123 drivers/media/platform/vsp1/vsp1_drm.c const struct v4l2_rect *crop; crop 130 drivers/media/platform/vsp1/vsp1_drm.c crop = &vsp1->drm->inputs[rpf->entity.index].crop; crop 135 drivers/media/platform/vsp1/vsp1_drm.c format.format.width = crop->width + crop->left; crop 136 drivers/media/platform/vsp1/vsp1_drm.c format.format.height = crop->height + crop->top; crop 154 drivers/media/platform/vsp1/vsp1_drm.c sel.r = *crop; crop 855 drivers/media/platform/vsp1/vsp1_drm.c vsp1->drm->inputs[rpf_index].crop = cfg->src; crop 61 drivers/media/platform/vsp1/vsp1_drm.h struct v4l2_rect crop; crop 139 drivers/media/platform/vsp1/vsp1_hgo.c struct v4l2_rect *crop; crop 143 drivers/media/platform/vsp1/vsp1_hgo.c crop = vsp1_entity_get_pad_selection(entity, entity->config, crop 152 drivers/media/platform/vsp1/vsp1_hgo.c (crop->left << VI6_HGO_OFFSET_HOFFSET_SHIFT) | crop 153 drivers/media/platform/vsp1/vsp1_hgo.c (crop->top << VI6_HGO_OFFSET_VOFFSET_SHIFT)); crop 155 drivers/media/platform/vsp1/vsp1_hgo.c (crop->width << VI6_HGO_SIZE_HSIZE_SHIFT) | crop 156 drivers/media/platform/vsp1/vsp1_hgo.c (crop->height << VI6_HGO_SIZE_VSIZE_SHIFT)); crop 164 drivers/media/platform/vsp1/vsp1_hgo.c hratio = crop->width * 2 / compose->width / 3; crop 165 drivers/media/platform/vsp1/vsp1_hgo.c vratio = crop->height * 2 / compose->height / 3; crop 135 drivers/media/platform/vsp1/vsp1_hgt.c struct v4l2_rect *crop; crop 142 drivers/media/platform/vsp1/vsp1_hgt.c crop = vsp1_entity_get_pad_selection(entity, entity->config, crop 151 drivers/media/platform/vsp1/vsp1_hgt.c (crop->left << VI6_HGT_OFFSET_HOFFSET_SHIFT) | crop 152 drivers/media/platform/vsp1/vsp1_hgt.c (crop->top << VI6_HGT_OFFSET_VOFFSET_SHIFT)); crop 154 drivers/media/platform/vsp1/vsp1_hgt.c (crop->width << VI6_HGT_SIZE_HSIZE_SHIFT) | crop 155 drivers/media/platform/vsp1/vsp1_hgt.c (crop->height << VI6_HGT_SIZE_VSIZE_SHIFT)); crop 167 drivers/media/platform/vsp1/vsp1_hgt.c hratio = crop->width * 2 / compose->width / 3; crop 168 drivers/media/platform/vsp1/vsp1_hgt.c vratio = crop->height * 2 / compose->height / 3; crop 206 drivers/media/platform/vsp1/vsp1_histo.c struct v4l2_rect *crop; crop 223 drivers/media/platform/vsp1/vsp1_histo.c crop = vsp1_entity_get_pad_selection(&histo->entity, config, crop 228 drivers/media/platform/vsp1/vsp1_histo.c sel->r.width = crop->width; crop 229 drivers/media/platform/vsp1/vsp1_histo.c sel->r.height = crop->height; crop 295 drivers/media/platform/vsp1/vsp1_histo.c struct v4l2_rect *crop; crop 306 drivers/media/platform/vsp1/vsp1_histo.c crop = vsp1_entity_get_pad_selection(&histo->entity, config, sel->pad, crop 323 drivers/media/platform/vsp1/vsp1_histo.c sel->r.width = clamp(sel->r.width, crop->width / 4, crop->width); crop 324 drivers/media/platform/vsp1/vsp1_histo.c ratio = 1 << (crop->width * 2 / sel->r.width / 3); crop 325 drivers/media/platform/vsp1/vsp1_histo.c sel->r.width = crop->width / ratio; crop 328 drivers/media/platform/vsp1/vsp1_histo.c sel->r.height = clamp(sel->r.height, crop->height / 4, crop->height); crop 329 drivers/media/platform/vsp1/vsp1_histo.c ratio = 1 << (crop->height * 2 / sel->r.height / 3); crop 330 drivers/media/platform/vsp1/vsp1_histo.c sel->r.height = crop->height / ratio; crop 251 drivers/media/platform/vsp1/vsp1_rpf.c struct v4l2_rect crop; crop 261 drivers/media/platform/vsp1/vsp1_rpf.c crop = *vsp1_rwpf_get_crop(rpf, rpf->entity.config); crop 274 drivers/media/platform/vsp1/vsp1_rpf.c crop.width = pipe->partition->rpf.width; crop 275 drivers/media/platform/vsp1/vsp1_rpf.c crop.left += pipe->partition->rpf.left; crop 279 drivers/media/platform/vsp1/vsp1_rpf.c crop.height = round_down(crop.height / 2, fmtinfo->vsub); crop 280 drivers/media/platform/vsp1/vsp1_rpf.c crop.top = round_down(crop.top / 2, fmtinfo->vsub); crop 284 drivers/media/platform/vsp1/vsp1_rpf.c (crop.width << VI6_RPF_SRC_BSIZE_BHSIZE_SHIFT) | crop 285 drivers/media/platform/vsp1/vsp1_rpf.c (crop.height << VI6_RPF_SRC_BSIZE_BVSIZE_SHIFT)); crop 287 drivers/media/platform/vsp1/vsp1_rpf.c (crop.width << VI6_RPF_SRC_ESIZE_EHSIZE_SHIFT) | crop 288 drivers/media/platform/vsp1/vsp1_rpf.c (crop.height << VI6_RPF_SRC_ESIZE_EVSIZE_SHIFT)); crop 290 drivers/media/platform/vsp1/vsp1_rpf.c mem.addr[0] += crop.top * format->plane_fmt[0].bytesperline crop 291 drivers/media/platform/vsp1/vsp1_rpf.c + crop.left * fmtinfo->bpp[0] / 8; crop 296 drivers/media/platform/vsp1/vsp1_rpf.c offset = crop.top * format->plane_fmt[1].bytesperline crop 297 drivers/media/platform/vsp1/vsp1_rpf.c + crop.left / fmtinfo->hsub crop 105 drivers/media/platform/vsp1/vsp1_rwpf.c struct v4l2_rect *crop; crop 108 drivers/media/platform/vsp1/vsp1_rwpf.c crop = vsp1_rwpf_get_crop(rwpf, config); crop 109 drivers/media/platform/vsp1/vsp1_rwpf.c crop->left = 0; crop 110 drivers/media/platform/vsp1/vsp1_rwpf.c crop->top = 0; crop 111 drivers/media/platform/vsp1/vsp1_rwpf.c crop->width = fmt->format.width; crop 112 drivers/media/platform/vsp1/vsp1_rwpf.c crop->height = fmt->format.height; crop 185 drivers/media/platform/vsp1/vsp1_rwpf.c struct v4l2_rect *crop; crop 228 drivers/media/platform/vsp1/vsp1_rwpf.c crop = vsp1_rwpf_get_crop(rwpf, config); crop 229 drivers/media/platform/vsp1/vsp1_rwpf.c *crop = sel->r; crop 234 drivers/media/platform/vsp1/vsp1_rwpf.c format->width = crop->width; crop 235 drivers/media/platform/vsp1/vsp1_rwpf.c format->height = crop->height; crop 199 drivers/media/platform/vsp1/vsp1_uif.c const struct v4l2_rect *crop; crop 206 drivers/media/platform/vsp1/vsp1_uif.c crop = vsp1_entity_get_pad_selection(entity, entity->config, crop 209 drivers/media/platform/vsp1/vsp1_uif.c left = crop->left; crop 210 drivers/media/platform/vsp1/vsp1_uif.c width = crop->width; crop 219 drivers/media/platform/vsp1/vsp1_uif.c vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSPYR, crop->top); crop 221 drivers/media/platform/vsp1/vsp1_uif.c vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSZYR, crop->height); crop 4111 drivers/media/usb/gspca/ov519.c int qvga, crop; crop 4131 drivers/media/usb/gspca/ov519.c crop = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv & 2; crop 4158 drivers/media/usb/gspca/ov519.c if (crop) { crop 462 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_crop *crop = arg; crop 465 drivers/media/v4l2-core/v4l2-subdev.c memset(crop->reserved, 0, sizeof(crop->reserved)); crop 467 drivers/media/v4l2-core/v4l2-subdev.c sel.which = crop->which; crop 468 drivers/media/v4l2-core/v4l2-subdev.c sel.pad = crop->pad; crop 474 drivers/media/v4l2-core/v4l2-subdev.c crop->rect = sel.r; crop 480 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_crop *crop = arg; crop 483 drivers/media/v4l2-core/v4l2-subdev.c memset(crop->reserved, 0, sizeof(crop->reserved)); crop 485 drivers/media/v4l2-core/v4l2-subdev.c sel.which = crop->which; crop 486 drivers/media/v4l2-core/v4l2-subdev.c sel.pad = crop->pad; crop 488 drivers/media/v4l2-core/v4l2-subdev.c sel.r = crop->rect; crop 493 drivers/media/v4l2-core/v4l2-subdev.c crop->rect = sel.r; crop 79 drivers/staging/media/imx/imx-media-csi.c struct v4l2_rect crop; crop 711 drivers/staging/media/imx/imx-media-csi.c struct v4l2_rect crop; crop 724 drivers/staging/media/imx/imx-media-csi.c crop = priv->crop; crop 732 drivers/staging/media/imx/imx-media-csi.c crop.width *= incc->cycles; crop 735 drivers/staging/media/imx/imx-media-csi.c ipu_csi_set_window(priv->csi, &crop); crop 738 drivers/staging/media/imx/imx-media-csi.c priv->crop.width == 2 * priv->compose.width, crop 739 drivers/staging/media/imx/imx-media-csi.c priv->crop.height == 2 * priv->compose.height); crop 1169 drivers/staging/media/imx/imx-media-csi.c return &priv->crop; crop 1184 drivers/staging/media/imx/imx-media-csi.c struct v4l2_rect *crop, crop 1191 drivers/staging/media/imx/imx-media-csi.c crop->width = min_t(__u32, infmt->width, crop->width); crop 1192 drivers/staging/media/imx/imx-media-csi.c if (crop->left + crop->width > infmt->width) crop 1193 drivers/staging/media/imx/imx-media-csi.c crop->left = infmt->width - crop->width; crop 1195 drivers/staging/media/imx/imx-media-csi.c crop->left &= ~0x3; crop 1197 drivers/staging/media/imx/imx-media-csi.c crop->width &= ~0x7; /* multiple of 8 pixels (IC burst) */ crop 1199 drivers/staging/media/imx/imx-media-csi.c crop->width &= ~0x1; /* multiple of 2 pixels */ crop 1214 drivers/staging/media/imx/imx-media-csi.c crop->height = in_height; crop 1215 drivers/staging/media/imx/imx-media-csi.c crop->top = (in_height == 480) ? 2 : 0; crop 1217 drivers/staging/media/imx/imx-media-csi.c crop->height = min_t(__u32, in_height, crop->height); crop 1218 drivers/staging/media/imx/imx-media-csi.c if (crop->top + crop->height > in_height) crop 1219 drivers/staging/media/imx/imx-media-csi.c crop->top = in_height - crop->height; crop 1279 drivers/staging/media/imx/imx-media-csi.c struct v4l2_rect *crop; crop 1294 drivers/staging/media/imx/imx-media-csi.c crop = __csi_get_crop(priv, cfg, fse->which); crop 1297 drivers/staging/media/imx/imx-media-csi.c crop->width / 2 : crop->width; crop 1300 drivers/staging/media/imx/imx-media-csi.c crop->height / 2 : crop->height; crop 1314 drivers/staging/media/imx/imx-media-csi.c struct v4l2_rect *crop; crop 1325 drivers/staging/media/imx/imx-media-csi.c crop = __csi_get_crop(priv, cfg, fie->which); crop 1327 drivers/staging/media/imx/imx-media-csi.c if ((fie->width != crop->width && fie->width != crop->width / 2) || crop 1328 drivers/staging/media/imx/imx-media-csi.c (fie->height != crop->height && fie->height != crop->height / 2)) { crop 1422 drivers/staging/media/imx/imx-media-csi.c struct v4l2_rect *crop, crop 1482 drivers/staging/media/imx/imx-media-csi.c crop->left = 0; crop 1483 drivers/staging/media/imx/imx-media-csi.c crop->top = 0; crop 1484 drivers/staging/media/imx/imx-media-csi.c crop->width = sdformat->format.width; crop 1485 drivers/staging/media/imx/imx-media-csi.c crop->height = sdformat->format.height; crop 1487 drivers/staging/media/imx/imx-media-csi.c crop->height *= 2; crop 1488 drivers/staging/media/imx/imx-media-csi.c csi_try_crop(priv, crop, cfg, &sdformat->format, upstream_ep); crop 1491 drivers/staging/media/imx/imx-media-csi.c compose->width = crop->width; crop 1492 drivers/staging/media/imx/imx-media-csi.c compose->height = crop->height; crop 1509 drivers/staging/media/imx/imx-media-csi.c struct v4l2_rect *crop, *compose; crop 1528 drivers/staging/media/imx/imx-media-csi.c crop = __csi_get_crop(priv, cfg, sdformat->which); crop 1531 drivers/staging/media/imx/imx-media-csi.c csi_try_fmt(priv, &upstream_ep, cfg, sdformat, crop, compose, &cc); crop 1573 drivers/staging/media/imx/imx-media-csi.c struct v4l2_rect *crop, *compose; crop 1582 drivers/staging/media/imx/imx-media-csi.c crop = __csi_get_crop(priv, cfg, sel->which); crop 1595 drivers/staging/media/imx/imx-media-csi.c sel->r = *crop; crop 1600 drivers/staging/media/imx/imx-media-csi.c sel->r.width = crop->width; crop 1601 drivers/staging/media/imx/imx-media-csi.c sel->r.height = crop->height; crop 1614 drivers/staging/media/imx/imx-media-csi.c static int csi_set_scale(u32 *compose, u32 crop, u32 flags) crop 1618 drivers/staging/media/imx/imx-media-csi.c *compose != crop && *compose != crop / 2) crop 1621 drivers/staging/media/imx/imx-media-csi.c if (*compose <= crop / 2 || crop 1622 drivers/staging/media/imx/imx-media-csi.c (*compose < crop * 3 / 4 && !(flags & V4L2_SEL_FLAG_GE)) || crop 1623 drivers/staging/media/imx/imx-media-csi.c (*compose < crop && (flags & V4L2_SEL_FLAG_LE))) crop 1624 drivers/staging/media/imx/imx-media-csi.c *compose = crop / 2; crop 1626 drivers/staging/media/imx/imx-media-csi.c *compose = crop; crop 1638 drivers/staging/media/imx/imx-media-csi.c struct v4l2_rect *crop, *compose; crop 1658 drivers/staging/media/imx/imx-media-csi.c crop = __csi_get_crop(priv, cfg, sel->which); crop 1669 drivers/staging/media/imx/imx-media-csi.c sel->r = priv->crop; crop 1671 drivers/staging/media/imx/imx-media-csi.c *crop = sel->r; crop 1677 drivers/staging/media/imx/imx-media-csi.c *crop = sel->r; crop 1680 drivers/staging/media/imx/imx-media-csi.c compose->width = crop->width; crop 1681 drivers/staging/media/imx/imx-media-csi.c compose->height = crop->height; crop 1698 drivers/staging/media/imx/imx-media-csi.c ret = csi_set_scale(&sel->r.width, crop->width, sel->flags); crop 1701 drivers/staging/media/imx/imx-media-csi.c ret = csi_set_scale(&sel->r.height, crop->height, sel->flags); crop 1785 drivers/staging/media/imx/imx-media-csi.c priv->crop.width = 640; crop 1786 drivers/staging/media/imx/imx-media-csi.c priv->crop.height = 480; crop 1146 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_bds_hor_ctrl1 crop; crop 1856 drivers/staging/media/ipu3/ipu3-abi.h u8 crop, elems; crop 1929 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_en = 0; crop 1930 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_start = 0; crop 1931 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_end = 0; crop 800 drivers/staging/media/ipu3/ipu3-css.c cfg_ref->port_b.crop = 0; crop 847 drivers/staging/media/ipu3/ipu3-css.c cfg_tnr->port_b.crop = 0; crop 1083 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->es.video.crop.x = 0; crop 1084 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->es.video.crop.y = 0; crop 1085 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->es.video.crop.width = f->fmt.pix.width; crop 1086 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->es.video.crop.height = f->fmt.pix.height; crop 1117 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c preview_port->es.video.crop.x = 0; crop 1118 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c preview_port->es.video.crop.y = 0; crop 1119 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c preview_port->es.video.crop.width = f->fmt.pix.width; crop 1120 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c preview_port->es.video.crop.height = f->fmt.pix.height; crop 1171 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->es.video.crop.x = 0; crop 1172 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->es.video.crop.y = 0; crop 1173 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->es.video.crop.width = f->fmt.pix.width; crop 1174 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->es.video.crop.height = f->fmt.pix.height; crop 1251 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->capture.width = camera_port->es.video.crop.width; crop 1252 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->capture.height = camera_port->es.video.crop.height; crop 1615 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.x = 0; crop 1616 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.y = 0; crop 1617 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.width = 1024; crop 1618 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.height = 768; crop 1629 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.x = 0; crop 1630 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.y = 0; crop 1631 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.width = 1024; crop 1632 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.height = 768; crop 1642 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.x = 0; crop 1643 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.y = 0; crop 1644 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.width = 2592; crop 1645 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.height = 1944; crop 32 drivers/staging/vc04_services/bcm2835-camera/mmal-msg-format.h struct mmal_rect crop; /* Visible region of the frame */ crop 734 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->es.video.crop.x, crop 735 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->es.video.crop.y, crop 736 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->es.video.crop.width, port->es.video.crop.height); crop 1529 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c dst->es.video.crop.x = src->es.video.crop.x; crop 1530 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c dst->es.video.crop.y = src->es.video.crop.y; crop 1531 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c dst->es.video.crop.width = src->es.video.crop.width; crop 1532 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c dst->es.video.crop.height = src->es.video.crop.height; crop 1694 fs/fuse/file.c loff_t crop = i_size_read(inode); crop 1701 fs/fuse/file.c fuse_send_writepage(fc, wpa, crop); crop 139 include/media/davinci/vpfe_capture.h struct v4l2_rect crop; crop 143 include/media/tpg/v4l2-tpg.h struct v4l2_rect crop; crop 253 include/media/tpg/v4l2-tpg.h void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop,