Lines Matching refs:osd
206 struct ivtv_osd_coords *osd) in ivtvfb_get_osd_coords() argument
213 osd->offset = data[0] - oi->video_rbase; in ivtvfb_get_osd_coords()
214 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
215 osd->pixel_stride = data[1]; in ivtvfb_get_osd_coords()
216 osd->lines = data[2]; in ivtvfb_get_osd_coords()
217 osd->x = data[3]; in ivtvfb_get_osd_coords()
218 osd->y = data[4]; in ivtvfb_get_osd_coords()
222 static int ivtvfb_set_osd_coords(struct ivtv *itv, const struct ivtv_osd_coords *osd) in ivtvfb_set_osd_coords() argument
226 oi->display_width = osd->pixel_stride; in ivtvfb_set_osd_coords()
227 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; in ivtvfb_set_osd_coords()
228 oi->set_osd_coords_x += osd->x; in ivtvfb_set_osd_coords()
229 oi->set_osd_coords_y = osd->y; in ivtvfb_set_osd_coords()
232 osd->offset + oi->video_rbase, in ivtvfb_set_osd_coords()
233 osd->pixel_stride, in ivtvfb_set_osd_coords()
234 osd->lines, osd->x, osd->y); in ivtvfb_set_osd_coords()