Lines Matching defs:video
86 struct sna_video *video = port->devPriv.ptr;
90 RegionUninit(&video->clip);
91 sna_video_free_buffers(video);
99 struct sna_video *video = port->devPriv.ptr;
105 video->brightness = value;
110 video->contrast = value;
115 video->SyncToVblank = value;
120 video->colorspace = value;
130 struct sna_video *video = port->devPriv.ptr;
133 *value = video->brightness;
135 *value = video->contrast;
137 *value = video->SyncToVblank;
139 *value = video->colorspace;
161 * The source rectangle of the video is defined by (src_x, src_y, src_w, src_h).
162 * The dest rectangle of the video is defined by (drw_x, drw_y, drw_w, drw_h).
163 * id is a fourcc code for the format of the video.
176 struct sna_video *video = port->devPriv.ptr;
177 struct sna *sna = video->sna;
209 sna_video_frame_init(video, format->id, width, height, &frame);
211 if (!sna_video_clip_helper(video, &frame, &crtc, &dstBox,
230 sna_video_frame_set_rotation(video, &frame, RR_Rotate_0);
254 if (!sna_video_copy_data(video, &frame, buf)) {
261 if (crtc && video->SyncToVblank != 0 &&
269 if (!sna->render.video(sna, video, &frame, &clip, pixmap)) {
270 DBG(("%s: failed to render video\n", __FUNCTION__));
370 struct sna_video *video;
375 "Textured video not supported in 8bpp mode\n");
379 if (!sna->render.video) {
381 "Textured video not supported on this hardware or backend\n");
401 video = calloc(nports, sizeof(struct sna_video));
403 if (video == NULL || adaptor->pPorts == NULL) {
404 free(video);
412 adaptor->name = (char *)"Intel(R) Textured Video";
456 struct sna_video *v = &video[i];