Home
last modified time | relevance | path

Searched refs:video_buffer (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/vdpau/
Dsurface.c94 p_surf->video_buffer = pipe->create_video_buffer(pipe, &p_surf->templat); in vlVdpVideoSurfaceCreate()
107 p_surf->video_buffer->destroy(p_surf->video_buffer); in vlVdpVideoSurfaceCreate()
131 if (p_surf->video_buffer) in vlVdpVideoSurfaceDestroy()
132 p_surf->video_buffer->destroy(p_surf->video_buffer); in vlVdpVideoSurfaceDestroy()
154 if (p_surf->video_buffer) { in vlVdpVideoSurfaceGetParameters()
155 *width = p_surf->video_buffer->width; in vlVdpVideoSurfaceGetParameters()
156 *height = p_surf->video_buffer->height; in vlVdpVideoSurfaceGetParameters()
157 *chroma_type = PipeToChroma(p_surf->video_buffer->chroma_format); in vlVdpVideoSurfaceGetParameters()
214 if (vlsurface->video_buffer == NULL || format != vlsurface->video_buffer->buffer_format) in vlVdpVideoSurfaceGetBitsYCbCr()
218 sampler_views = vlsurface->video_buffer->get_sampler_view_planes(vlsurface->video_buffer); in vlVdpVideoSurfaceGetBitsYCbCr()
[all …]
Ddecode.c184 *ref_frame = surface->video_buffer; in vlVdpGetReferenceFrame()
456 if (vlsurf->video_buffer != NULL && vlsurf->video_buffer->chroma_format != dec->chroma_format) in vlVdpDecoderRender()
465 if (vlsurf->video_buffer == NULL || in vlVdpDecoderRender()
466 … !screen->is_video_format_supported(screen, vlsurf->video_buffer->buffer_format, dec->profile) || in vlVdpDecoderRender()
467 !buffer_support[vlsurf->video_buffer->interlaced]) { in vlVdpDecoderRender()
470 if (vlsurf->video_buffer) in vlVdpDecoderRender()
471 vlsurf->video_buffer->destroy(vlsurf->video_buffer); in vlVdpDecoderRender()
480 vlsurf->video_buffer = dec->context->create_video_buffer(dec->context, &vlsurf->templat); in vlVdpDecoderRender()
483 if (!vlsurf->video_buffer) { in vlVdpDecoderRender()
522 dec->begin_frame(dec, vlsurf->video_buffer, &desc.base); in vlVdpDecoderRender()
[all …]
Dmixer.c241 if (vmixer->video_width > surf->video_buffer->width || in vlVdpVideoMixerRender()
242 vmixer->video_height > surf->video_buffer->height || in vlVdpVideoMixerRender()
243 vmixer->chroma_format != surf->video_buffer->chroma_format) in vlVdpVideoMixerRender()
292 …vl_compositor_set_buffer_layer(&vmixer->cstate, compositor, layer, surf->video_buffer, prect, NULL… in vlVdpVideoMixerRender()
Dvdpau_private.h365 struct pipe_video_buffer templat, *video_buffer; member
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsurface.c113 desc->ref[num_refs++] = ref->video_buffer; in GetPictureDescription()
148 context_priv->decoder->end_frame(context_priv->decoder, surface->video_buffer, &desc.base); in RecursiveEndFrame()
193 surface_priv->video_buffer = pipe->create_video_buffer(pipe, &tmpl); in XvMCCreateSurface()
296 decoder->begin_frame(decoder, target_surface_priv->video_buffer, &desc.base); in XvMCRenderSurface()
303 target_surface_priv->video_buffer, in XvMCRenderSurface()
412 vl_compositor_set_buffer_layer(cstate, compositor, 0, surface_priv->video_buffer, in XvMCPutSurface()
512 … context_priv->decoder->end_frame(context_priv->decoder, surface_priv->video_buffer, &desc.base); in XvMCDestroySurface()
514 surface_priv->video_buffer->destroy(surface_priv->video_buffer); in XvMCDestroySurface()
Dxvmc_private.h69 struct pipe_video_buffer *video_buffer; member