Lines Matching refs:SURFACE_NUM
31 #define SURFACE_NUM 7 macro
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); in h264_cleanup_decoder()
246 for (i = 0; i < SURFACE_NUM; ++i) { in h264_init_decoder()
253 …va_status = vaCreateSurfaces(va_dpy, width, height, VA_RT_FORMAT_YUV420, SURFACE_NUM, &va_surface_… in h264_init_decoder()
255 for (i = 0; i < SURFACE_NUM; ++i) { in h264_init_decoder()
260 … va_config_id, width, height, 0/*VA_PROGRESSIVE*/, &va_surface_id[0], SURFACE_NUM, &va_context_id… in h264_init_decoder()
440 int sid_new = (sid + 1) % SURFACE_NUM; in h264_decode_frame()