Lines Matching refs:va_context_id
36 VAContextID va_context_id = 0; variable
177 if (va_context_id) { in h264_cleanup_decoder()
178 va_status = vaDestroyContext(va_dpy, va_context_id); in h264_cleanup_decoder()
180 va_context_id = 0; in h264_cleanup_decoder()
193 if (va_context_id) { 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()
262 DebugLog(("%s: VA context created (id: %d)\n", __FUNCTION__, va_context_id)); in h264_init_decoder()
266 va_status = vaBeginPicture(va_dpy, va_context_id, va_surface_id[0]); in h264_init_decoder()
311 …va_status = vaCreateBuffer(va_dpy, va_context_id, VAPictureParameterBufferType, sizeof(VAPicturePa… in h264_decode_frame()
338 …va_status = vaCreateBuffer(va_dpy, va_context_id, VAIQMatrixBufferType, sizeof(VAIQMatrixBufferH26… in h264_decode_frame()
383 va_status = vaRenderPicture(va_dpy, va_context_id, buffer_ids, 2); in h264_decode_frame()
388 …va_status = vaCreateBuffer(va_dpy, va_context_id, VASliceParameterBufferType, sizeof(VASliceParame… in h264_decode_frame()
416 …va_status = vaCreateBuffer(va_dpy, va_context_id, VASliceDataBufferType, 4177920, 1, NULL, &va_d_p… in h264_decode_frame()
433 va_status = vaRenderPicture(va_dpy, va_context_id, buffer_ids, 2); in h264_decode_frame()
436 va_status = vaEndPicture(va_dpy, va_context_id); in h264_decode_frame()
442 va_status = vaBeginPicture(va_dpy, va_context_id, va_surface_id[sid_new]); in h264_decode_frame()