Lines Matching refs:SURFACE_NUM
31 #define SURFACE_NUM 7
35 VASurfaceID va_surface_id[SURFACE_NUM];
38 VABufferID va_pic_param_buf_id[SURFACE_NUM];
39 VABufferID va_mat_param_buf_id[SURFACE_NUM];
40 VABufferID va_sp_param_buf_id[SURFACE_NUM];
41 VABufferID va_d_param_buf_id[SURFACE_NUM];
173 va_status = vaDestroySurfaces(va_dpy, &va_surface_id[0], SURFACE_NUM);
246 for (i = 0; i < SURFACE_NUM; ++i) {
253 va_status = vaCreateSurfaces(va_dpy, width, height, VA_RT_FORMAT_YUV420, SURFACE_NUM, &va_surface_id[0]);
255 for (i = 0; i < SURFACE_NUM; ++i) {
260 va_status = vaCreateContext(va_dpy, va_config_id, width, height, 0/*VA_PROGRESSIVE*/, &va_surface_id[0], SURFACE_NUM, &va_context_id);
440 int sid_new = (sid + 1) % SURFACE_NUM;