• Home
  • Raw
  • Download

Lines Matching refs:sel

1059 			     struct v4l2_subdev_selection *sel);
1084 struct v4l2_subdev_selection sel = { 0 }; in vfe_set_format() local
1099 sel.which = fmt->which; in vfe_set_format()
1100 sel.pad = MSM_VFE_PAD_SINK; in vfe_set_format()
1101 sel.target = V4L2_SEL_TGT_COMPOSE; in vfe_set_format()
1102 sel.r.width = fmt->format.width; in vfe_set_format()
1103 sel.r.height = fmt->format.height; in vfe_set_format()
1104 ret = vfe_set_selection(sd, sd_state, &sel); in vfe_set_format()
1122 struct v4l2_subdev_selection *sel) in vfe_get_selection() argument
1132 if (sel->pad == MSM_VFE_PAD_SINK) in vfe_get_selection()
1133 switch (sel->target) { in vfe_get_selection()
1135 fmt.pad = sel->pad; in vfe_get_selection()
1136 fmt.which = sel->which; in vfe_get_selection()
1141 sel->r.left = 0; in vfe_get_selection()
1142 sel->r.top = 0; in vfe_get_selection()
1143 sel->r.width = fmt.format.width; in vfe_get_selection()
1144 sel->r.height = fmt.format.height; in vfe_get_selection()
1147 rect = __vfe_get_compose(line, sd_state, sel->which); in vfe_get_selection()
1151 sel->r = *rect; in vfe_get_selection()
1156 else if (sel->pad == MSM_VFE_PAD_SRC) in vfe_get_selection()
1157 switch (sel->target) { in vfe_get_selection()
1159 rect = __vfe_get_compose(line, sd_state, sel->which); in vfe_get_selection()
1163 sel->r.left = rect->left; in vfe_get_selection()
1164 sel->r.top = rect->top; in vfe_get_selection()
1165 sel->r.width = rect->width; in vfe_get_selection()
1166 sel->r.height = rect->height; in vfe_get_selection()
1169 rect = __vfe_get_crop(line, sd_state, sel->which); in vfe_get_selection()
1173 sel->r = *rect; in vfe_get_selection()
1192 struct v4l2_subdev_selection *sel) in vfe_set_selection() argument
1201 if (sel->target == V4L2_SEL_TGT_COMPOSE && in vfe_set_selection()
1202 sel->pad == MSM_VFE_PAD_SINK) { in vfe_set_selection()
1205 rect = __vfe_get_compose(line, sd_state, sel->which); in vfe_set_selection()
1209 vfe_try_compose(line, sd_state, &sel->r, sel->which); in vfe_set_selection()
1210 *rect = sel->r; in vfe_set_selection()
1213 crop.which = sel->which; in vfe_set_selection()
1218 } else if (sel->target == V4L2_SEL_TGT_CROP && in vfe_set_selection()
1219 sel->pad == MSM_VFE_PAD_SRC) { in vfe_set_selection()
1222 rect = __vfe_get_crop(line, sd_state, sel->which); in vfe_set_selection()
1226 vfe_try_crop(line, sd_state, &sel->r, sel->which); in vfe_set_selection()
1227 *rect = sel->r; in vfe_set_selection()
1230 fmt.which = sel->which; in vfe_set_selection()