Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/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()
85 p_surf->templat.buffer_format = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate()
92 p_surf->templat.chroma_format = ChromaToPipe(chroma_type); 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()
[all …]
/external/mesa3d/src/gallium/state_trackers/va/
Dimage.c59 vlVaVideoSurfaceSize(vlVaSurface *p_surf, int component, in vlVaVideoSurfaceSize() argument
62 *width = p_surf->templat.width; in vlVaVideoSurfaceSize()
63 *height = p_surf->templat.height; in vlVaVideoSurfaceSize()
66 p_surf->templat.chroma_format, in vlVaVideoSurfaceSize()
67 p_surf->templat.interlaced); in vlVaVideoSurfaceSize()