Lines Matching defs:sel

1152 			     struct v4l2_subdev_selection *sel);
1177 struct v4l2_subdev_selection sel = { 0 };
1192 sel.which = fmt->which;
1193 sel.pad = MSM_VFE_PAD_SINK;
1194 sel.target = V4L2_SEL_TGT_COMPOSE;
1195 sel.r.width = fmt->format.width;
1196 sel.r.height = fmt->format.height;
1197 ret = vfe_set_selection(sd, sd_state, &sel);
1209 * @sel: pointer to v4l2 subdev selection structure
1215 struct v4l2_subdev_selection *sel)
1225 if (sel->pad == MSM_VFE_PAD_SINK)
1226 switch (sel->target) {
1228 fmt.pad = sel->pad;
1229 fmt.which = sel->which;
1234 sel->r.left = 0;
1235 sel->r.top = 0;
1236 sel->r.width = fmt.format.width;
1237 sel->r.height = fmt.format.height;
1240 rect = __vfe_get_compose(line, sd_state, sel->which);
1244 sel->r = *rect;
1249 else if (sel->pad == MSM_VFE_PAD_SRC)
1250 switch (sel->target) {
1252 rect = __vfe_get_compose(line, sd_state, sel->which);
1256 sel->r.left = rect->left;
1257 sel->r.top = rect->top;
1258 sel->r.width = rect->width;
1259 sel->r.height = rect->height;
1262 rect = __vfe_get_crop(line, sd_state, sel->which);
1266 sel->r = *rect;
1279 * @sel: pointer to v4l2 subdev selection structure
1285 struct v4l2_subdev_selection *sel)
1294 if (sel->target == V4L2_SEL_TGT_COMPOSE &&
1295 sel->pad == MSM_VFE_PAD_SINK) {
1298 rect = __vfe_get_compose(line, sd_state, sel->which);
1302 vfe_try_compose(line, sd_state, &sel->r, sel->which);
1303 *rect = sel->r;
1306 crop.which = sel->which;
1311 } else if (sel->target == V4L2_SEL_TGT_CROP &&
1312 sel->pad == MSM_VFE_PAD_SRC) {
1315 rect = __vfe_get_crop(line, sd_state, sel->which);
1319 vfe_try_crop(line, sd_state, &sel->r, sel->which);
1320 *rect = sel->r;
1323 fmt.which = sel->which;