• Home
  • Raw
  • Download

Lines Matching refs:geo

137 	const struct mxr_format *fmt, const struct mxr_geometry *geo)  in mxr_reg_graph_format()  argument
150 mxr_write(mdev, MXR_GRAPHIC_SPAN(idx), geo->src.full_width); in mxr_reg_graph_format()
151 val = MXR_GRP_WH_WIDTH(geo->src.width); in mxr_reg_graph_format()
152 val |= MXR_GRP_WH_HEIGHT(geo->src.height); in mxr_reg_graph_format()
153 val |= MXR_GRP_WH_H_SCALE(geo->x_ratio); in mxr_reg_graph_format()
154 val |= MXR_GRP_WH_V_SCALE(geo->y_ratio); in mxr_reg_graph_format()
158 val = MXR_GRP_SXY_SX(geo->src.x_offset); in mxr_reg_graph_format()
159 val |= MXR_GRP_SXY_SY(geo->src.y_offset); in mxr_reg_graph_format()
163 val = MXR_GRP_DXY_DX(geo->dst.x_offset); in mxr_reg_graph_format()
164 val |= MXR_GRP_DXY_DY(geo->dst.y_offset); in mxr_reg_graph_format()
172 const struct mxr_format *fmt, const struct mxr_geometry *geo) in mxr_reg_vp_format() argument
182 vp_write(mdev, VP_IMG_SIZE_Y, VP_IMG_HSIZE(geo->src.full_width) | in mxr_reg_vp_format()
183 VP_IMG_VSIZE(geo->src.full_height)); in mxr_reg_vp_format()
185 vp_write(mdev, VP_IMG_SIZE_C, VP_IMG_HSIZE(geo->src.full_width) | in mxr_reg_vp_format()
186 VP_IMG_VSIZE(geo->src.full_height / 2)); in mxr_reg_vp_format()
188 vp_write(mdev, VP_SRC_WIDTH, geo->src.width); in mxr_reg_vp_format()
189 vp_write(mdev, VP_SRC_HEIGHT, geo->src.height); in mxr_reg_vp_format()
191 VP_SRC_H_POSITION_VAL(geo->src.x_offset)); in mxr_reg_vp_format()
192 vp_write(mdev, VP_SRC_V_POSITION, geo->src.y_offset); in mxr_reg_vp_format()
194 vp_write(mdev, VP_DST_WIDTH, geo->dst.width); in mxr_reg_vp_format()
195 vp_write(mdev, VP_DST_H_POSITION, geo->dst.x_offset); in mxr_reg_vp_format()
196 if (geo->dst.field == V4L2_FIELD_INTERLACED) { in mxr_reg_vp_format()
197 vp_write(mdev, VP_DST_HEIGHT, geo->dst.height / 2); in mxr_reg_vp_format()
198 vp_write(mdev, VP_DST_V_POSITION, geo->dst.y_offset / 2); in mxr_reg_vp_format()
200 vp_write(mdev, VP_DST_HEIGHT, geo->dst.height); in mxr_reg_vp_format()
201 vp_write(mdev, VP_DST_V_POSITION, geo->dst.y_offset); in mxr_reg_vp_format()
204 vp_write(mdev, VP_H_RATIO, geo->x_ratio); in mxr_reg_vp_format()
205 vp_write(mdev, VP_V_RATIO, geo->y_ratio); in mxr_reg_vp_format()