Lines Matching refs:surfaces
25 #define TEST_DESCRIPTION "Create and destory surfaces of different sizes"
68 VASurfaceID surfaces[NUM_SIZES+1];
71 memset(surfaces, 0xff, sizeof(surfaces));
76 surfaces[i+1] = DEAD_SURFACE_ID;
77 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, test_sizes[i].w, test_sizes[i].h, &surfaces[i], 1, NULL, 0);
79 ASSERT( DEAD_SURFACE_ID == surfaces[i+1] );
82 test_unique_surfaces(surfaces, NUM_SIZES);
84 status("vaDestroySurface all surfaces\n");
85 va_status = vaDestroySurfaces(va_dpy, surfaces, NUM_SIZES);