Lines Matching refs:crops
2067 struct v4l2_rect **crops, in ccs_get_crop_compose() argument
2073 if (crops) in ccs_get_crop_compose()
2075 crops[i] = in ccs_get_crop_compose()
2089 struct v4l2_rect *comp, *crops[CCS_PADS]; in ccs_propagate() local
2092 ccs_get_crop_compose(subdev, sd_state, crops, &comp); in ccs_propagate()
2096 comp->width = crops[CCS_PAD_SINK]->width; in ccs_propagate()
2097 comp->height = crops[CCS_PAD_SINK]->height; in ccs_propagate()
2111 *crops[CCS_PAD_SRC] = *comp; in ccs_propagate()
2116 sensor->src_src = *crops[CCS_PAD_SRC]; in ccs_propagate()
2196 struct v4l2_rect *crops[CCS_PADS]; in ccs_set_format() local
2225 ccs_get_crop_compose(subdev, sd_state, crops, NULL); in ccs_set_format()
2227 crops[ssd->sink_pad]->left = 0; in ccs_set_format()
2228 crops[ssd->sink_pad]->top = 0; in ccs_set_format()
2229 crops[ssd->sink_pad]->width = fmt->format.width; in ccs_set_format()
2230 crops[ssd->sink_pad]->height = fmt->format.height; in ccs_set_format()
2285 struct v4l2_rect **crops, in ccs_set_compose_binner() argument
2293 crops[CCS_PAD_SINK]->width, sel->r.width, in ccs_set_compose_binner()
2294 crops[CCS_PAD_SINK]->height, sel->r.height, sel->flags); in ccs_set_compose_binner()
2299 crops[CCS_PAD_SINK]->width in ccs_set_compose_binner()
2302 crops[CCS_PAD_SINK]->height in ccs_set_compose_binner()
2317 sel->r.width = (crops[CCS_PAD_SINK]->width / binh) & ~1; in ccs_set_compose_binner()
2318 sel->r.height = (crops[CCS_PAD_SINK]->height / binv) & ~1; in ccs_set_compose_binner()
2333 struct v4l2_rect **crops, in ccs_set_compose_scaler() argument
2347 crops[CCS_PAD_SINK]->width); in ccs_set_compose_scaler()
2349 crops[CCS_PAD_SINK]->height); in ccs_set_compose_scaler()
2351 a = crops[CCS_PAD_SINK]->width in ccs_set_compose_scaler()
2353 b = crops[CCS_PAD_SINK]->height in ccs_set_compose_scaler()
2355 max_m = crops[CCS_PAD_SINK]->width in ccs_set_compose_scaler()
2389 crops[CCS_PAD_SINK]->width in ccs_set_compose_scaler()
2392 crops[CCS_PAD_SINK]->height, in ccs_set_compose_scaler()
2409 subdev, crops[CCS_PAD_SINK]->width in ccs_set_compose_scaler()
2413 crops[CCS_PAD_SINK]->height in ccs_set_compose_scaler()
2427 (crops[CCS_PAD_SINK]->width in ccs_set_compose_scaler()
2432 (crops[CCS_PAD_SINK]->height in ccs_set_compose_scaler()
2437 sel->r.height = crops[CCS_PAD_SINK]->height; in ccs_set_compose_scaler()
2451 struct v4l2_rect *comp, *crops[CCS_PADS]; in ccs_set_compose() local
2453 ccs_get_crop_compose(subdev, sd_state, crops, &comp); in ccs_set_compose()
2459 ccs_set_compose_binner(subdev, sd_state, sel, crops, comp); in ccs_set_compose()
2461 ccs_set_compose_scaler(subdev, sd_state, sel, crops, comp); in ccs_set_compose()
2516 struct v4l2_rect src_size = { 0 }, *crops[CCS_PADS], *comp; in ccs_set_crop() local
2518 ccs_get_crop_compose(subdev, sd_state, crops, &comp); in ccs_set_crop()
2541 *crops[sel->pad] = sel->r; in ccs_set_crop()
2566 struct v4l2_rect *comp, *crops[CCS_PADS]; in ccs_get_selection() local
2573 ccs_get_crop_compose(subdev, sd_state, crops, &comp); in ccs_get_selection()
2593 sel->r = *crops[sel->pad]; in ccs_get_selection()