Lines Matching refs:video
61 struct sna_video *video = port->devPriv.ptr;
65 RegionUninit(&video->clip);
66 sna_video_free_buffers(video);
74 struct sna_video *video = port->devPriv.ptr;
80 video->brightness = value;
85 video->contrast = value;
90 video->SyncToVblank = value;
100 struct sna_video *video = port->devPriv.ptr;
103 *value = video->brightness;
105 *value = video->contrast;
107 *value = video->SyncToVblank;
129 * The source rectangle of the video is defined by (src_x, src_y, src_w, src_h).
130 * The dest rectangle of the video is defined by (drw_x, drw_y, drw_w, drw_h).
131 * id is a fourcc code for the format of the video.
144 struct sna_video *video = port->devPriv.ptr;
145 struct sna *sna = video->sna;
176 sna_video_frame_init(video, format->id, width, height, &frame);
178 if (!sna_video_clip_helper(video, &frame, &crtc, &dstBox,
194 sna_video_frame_set_rotation(video, &frame, RR_Rotate_0);
218 if (!sna_video_copy_data(video, &frame, buf)) {
225 if (crtc && video->SyncToVblank != 0 &&
233 if (!sna->render.video(sna, video, &frame, &clip, pixmap)) {
234 DBG(("%s: failed to render video\n", __FUNCTION__));
314 struct sna_video *video;
317 if (!sna->render.video) {
319 "Textured video not supported on this hardware\n");
339 video = calloc(nports, sizeof(struct sna_video));
341 if (video == NULL || adaptor->pPorts == NULL) {
342 free(video);
383 struct sna_video *v = &video[i];