Lines Matching refs:surfaces
55 VASurfaceID surfaces[21];
58 surfaces[20] = -1;
59 va_status = vaCreateSurfaces(va_dpy, 720, 480, VA_RT_FORMAT_YUV420, 20, surfaces);
61 ASSERT( -1 == surfaces[20] ); /* bounds check */
64 printf("Surface %d surface_id = %08x\n", i, surfaces[i]);
71 vaPutSurface(va_dpy, surfaces[0], win, 0, 0, 720, 480, 0, 0, 720, 480, 0);
74 va_status = vaDestroySurface(va_dpy, surfaces, 20);
96 VASurfaceID surfaces[20];
114 va_status = vaCreateSurfaces(va_dpy, 720, 480, VA_RT_FORMAT_YUV420, 20, surfaces);
117 va_status = vaCreateContext(va_dpy, config_id, 720, 480, 0 /* flag */, surfaces, 20, &context);
123 va_status = vaDestroySurface(va_dpy, surfaces, 20);