Lines Matching defs:desc
111 const struct VdpSurfaceDMABufDesc *desc)
117 if (desc->handle == -1)
125 templ.width0 = desc->width;
126 templ.height0 = desc->height;
127 templ.format = VdpFormatRGBAToPipe(desc->format);
133 whandle.handle = desc->handle;
135 whandle.offset = desc->offset;
136 whandle.stride = desc->stride;
137 whandle.format = VdpFormatRGBAToPipe(desc->format);
141 close(desc->handle);
152 struct VdpSurfaceDMABufDesc desc;
159 if (f((uintptr_t)vdpSurface, &desc) != VDP_STATUS_OK)
162 return st_vdpau_resource_from_description(ctx, &desc);
172 struct VdpSurfaceDMABufDesc desc;
179 if (f((uintptr_t)vdpSurface, index, &desc) != VDP_STATUS_OK)
182 return st_vdpau_resource_from_description(ctx, &desc);