Lines Matching refs:SURFACE_NUM
59 #define SURFACE_NUM 16
68 static VASurfaceID surface_id[SURFACE_NUM];
69 static pthread_mutex_t surface_mutex[SURFACE_NUM];
285 &surface_id[0], SURFACE_NUM,
325 if (i == SURFACE_NUM)
332 for (i=0; i<SURFACE_NUM; i++) {
345 if (i==SURFACE_NUM)
360 for (i=0; i<SURFACE_NUM; i++) {
642 &surface_id[0], SURFACE_NUM,
653 for(i = 0; i< SURFACE_NUM; i++)
679 vaDestroySurfaces(va_dpy,&surface_id[0],SURFACE_NUM);