Lines Matching refs:rect

80 	struct v4l2_rect rect;  member
820 decoder->rect.height = TVP5150_V_MAX_525_60; in tvp5150_s_std()
822 decoder->rect.height = TVP5150_V_MAX_OTHERS; in tvp5150_s_std()
1035 return &decoder->rect; in tvp5150_get_pad_crop()
1059 f->width = decoder->rect.width; in tvp5150_fill_fmt()
1060 f->height = decoder->rect.height / 2; in tvp5150_fill_fmt()
1087 struct v4l2_rect *rect) in tvp5150_set_hw_selection() argument
1092 regmap_write(decoder->regmap, TVP5150_VERT_BLANKING_START, rect->top); in tvp5150_set_hw_selection()
1094 rect->top + rect->height - hmax); in tvp5150_set_hw_selection()
1096 rect->left >> TVP5150_CROP_SHIFT); in tvp5150_set_hw_selection()
1098 rect->left | (1 << TVP5150_CROP_SHIFT)); in tvp5150_set_hw_selection()
1100 (rect->left + rect->width - TVP5150_MAX_CROP_LEFT) >> in tvp5150_set_hw_selection()
1103 rect->left + rect->width - TVP5150_MAX_CROP_LEFT); in tvp5150_set_hw_selection()
1111 struct v4l2_rect *rect = &sel->r; in tvp5150_set_selection() local
1119 __func__, rect->left, rect->top, rect->width, rect->height); in tvp5150_set_selection()
1122 rect->left = clamp(rect->left, 0, TVP5150_MAX_CROP_LEFT); in tvp5150_set_selection()
1123 rect->top = clamp(rect->top, 0, TVP5150_MAX_CROP_TOP); in tvp5150_set_selection()
1131 v4l_bound_align_image(&rect->width, in tvp5150_set_selection()
1132 TVP5150_H_MAX - TVP5150_MAX_CROP_LEFT - rect->left, in tvp5150_set_selection()
1133 TVP5150_H_MAX - rect->left, 1, &rect->height, in tvp5150_set_selection()
1134 hmax - TVP5150_MAX_CROP_TOP - rect->top, in tvp5150_set_selection()
1135 hmax - rect->top, 0, 0); in tvp5150_set_selection()
1150 !v4l2_rect_equal(rect, crop)) in tvp5150_set_selection()
1151 tvp5150_set_hw_selection(sd, rect); in tvp5150_set_selection()
1153 *crop = *rect; in tvp5150_set_selection()
1224 tvp5150_set_default(std, &decoder->rect); in tvp5150_init_cfg()
1252 fse->min_width = decoder->rect.width; in tvp5150_enum_frame_size()
1253 fse->max_width = decoder->rect.width; in tvp5150_enum_frame_size()
1254 fse->min_height = decoder->rect.height / 2; in tvp5150_enum_frame_size()
1255 fse->max_height = decoder->rect.height / 2; in tvp5150_enum_frame_size()
2201 tvp5150_set_default(tvp5150_read_std(sd), &core->rect); in tvp5150_probe()