Home
last modified time | relevance | path

Searched refs:p_surf (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/frontends/vdpau/
Dsurface.c60 vlVdpSurface *p_surf; in vlVdpVideoSurfaceCreate() local
68 p_surf = CALLOC(1, sizeof(vlVdpSurface)); in vlVdpVideoSurfaceCreate()
69 if (!p_surf) { in vlVdpVideoSurfaceCreate()
80 DeviceReference(&p_surf->device, dev); in vlVdpVideoSurfaceCreate()
84 memset(&p_surf->templat, 0, sizeof(p_surf->templat)); in vlVdpVideoSurfaceCreate()
86 p_surf->templat.buffer_format = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate()
93 p_surf->templat.width = width; in vlVdpVideoSurfaceCreate()
94 p_surf->templat.height = height; in vlVdpVideoSurfaceCreate()
95 p_surf->templat.interlaced = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate()
102 if (p_surf->templat.buffer_format != PIPE_FORMAT_NONE) in vlVdpVideoSurfaceCreate()
[all …]
/external/mesa3d/src/gallium/frontends/va/
Dimage.c63 vlVaVideoSurfaceSize(vlVaSurface *p_surf, int component, in vlVaVideoSurfaceSize() argument
66 *width = p_surf->templat.width; in vlVaVideoSurfaceSize()
67 *height = p_surf->templat.height; in vlVaVideoSurfaceSize()
70 pipe_format_to_chroma_format(p_surf->templat.buffer_format), in vlVaVideoSurfaceSize()
71 p_surf->templat.interlaced); in vlVaVideoSurfaceSize()
/external/mesa3d/src/gallium/drivers/iris/
Diris_state.c2932 iris_surface_destroy(struct pipe_context *ctx, struct pipe_surface *p_surf) in iris_surface_destroy() argument
2934 struct iris_surface *surf = (void *) p_surf; in iris_surface_destroy()
2935 pipe_resource_reference(&p_surf->texture, NULL); in iris_surface_destroy()
4727 struct pipe_surface *p_surf, in use_surface() argument
4733 struct iris_surface *surf = (void *) p_surf; in use_surface()
4734 struct iris_resource *res = (void *) p_surf->texture; in use_surface()
4737 iris_use_pinned_bo(batch, iris_resource_bo(p_surf->texture), in use_surface()