Lines Matching refs:surface
86 VdpVideoSurface surface = *(VdpVideoSurface*)data;
89 ctx->video_surface_destroy(surface);
97 VdpVideoSurface *surface;
102 surface = av_malloc(sizeof(*surface));
103 if (!surface)
106 frame->buf[0] = av_buffer_create((uint8_t*)surface, sizeof(*surface),
110 av_freep(&surface);
118 frame->width, frame->height, surface);
120 av_log(NULL, AV_LOG_ERROR, "Error allocating a VDPAU video surface: %s\n",
126 frame->data[3] = (uint8_t*)(uintptr_t)*surface;
133 VdpVideoSurface surface = (VdpVideoSurface)(uintptr_t)frame->data[3];
139 err = ctx->video_surface_get_parameters(surface, &chroma_type,
143 av_log(NULL, AV_LOG_ERROR, "Error getting surface parameters: %s\n",
156 err = ctx->video_surface_get_bits(surface, ctx->vdpau_format,
258 "Error querying VDPAU surface capabilities: %s\n",