Lines Matching refs:va_dpy
33 VADisplay va_dpy = NULL; variable
54 gva_status = vaQuerySurfaceStatus(va_dpy, X, &gsurface_status); \
173 va_status = vaDestroySurfaces(va_dpy, &va_surface_id[0], SURFACE_NUM); in h264_cleanup_decoder()
178 va_status = vaDestroyContext(va_dpy, va_context_id); in h264_cleanup_decoder()
197 if (va_dpy != NULL) { in h264_init_decoder()
211 va_dpy = vaGetDisplay(win_display); in h264_init_decoder()
212 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); in h264_init_decoder()
224 va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints, &num_entrypoints); in h264_init_decoder()
242 va_status = vaCreateConfig(va_dpy, profile, VAEntrypointVLD, &attrib, 1, &va_config_id); in h264_init_decoder()
253 …va_status = vaCreateSurfaces(va_dpy, width, height, VA_RT_FORMAT_YUV420, SURFACE_NUM, &va_surface_… in h264_init_decoder()
260 …va_status = vaCreateContext(va_dpy, va_config_id, width, height, 0/*VA_PROGRESSIVE*/, &va_surface… in h264_init_decoder()
266 va_status = vaBeginPicture(va_dpy, va_context_id, va_surface_id[0]); in h264_init_decoder()
280 if (va_dpy != NULL) in h264_decode_frame()
311 …va_status = vaCreateBuffer(va_dpy, va_context_id, VAPictureParameterBufferType, sizeof(VAPicturePa… in h264_decode_frame()
317 va_status = vaMapBuffer(va_dpy, va_pic_param_buf_id[sid], (void **)&pic_param_buf); in h264_decode_frame()
333 va_status = vaUnmapBuffer(va_dpy, va_pic_param_buf_id[sid]); in h264_decode_frame()
338 …va_status = vaCreateBuffer(va_dpy, va_context_id, VAIQMatrixBufferType, sizeof(VAIQMatrixBufferH26… in h264_decode_frame()
344 va_status = vaMapBuffer(va_dpy, va_mat_param_buf_id[sid], (void **)&iq_matrix_buf); in h264_decode_frame()
375 va_status = vaUnmapBuffer(va_dpy, va_mat_param_buf_id[sid]); 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()
394 va_status = vaMapBuffer(va_dpy, va_sp_param_buf_id[sid], (void **)&slice_param_buf); in h264_decode_frame()
409 va_status = vaUnmapBuffer(va_dpy, va_sp_param_buf_id[sid]); in h264_decode_frame()
416 …va_status = vaCreateBuffer(va_dpy, va_context_id, VASliceDataBufferType, 4177920, 1, NULL, &va_d_p… in h264_decode_frame()
421 va_status = vaMapBuffer(va_dpy, va_d_param_buf_id[sid], (void **)&slice_data_buf); in h264_decode_frame()
426 va_status = vaUnmapBuffer(va_dpy, va_d_param_buf_id[sid]); 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()
446 va_status = vaSyncSurface(va_dpy, va_surface_id[sid]); in h264_decode_frame()
478 …va_status = vaPutSurface(va_dpy, curr_surface, client->outputWindow, 0, 0, f_width, f_height, 0, 0… in put_updated_rectangle()
487 va_status = vaDeriveImage(va_dpy, curr_surface, &decoded_image); in put_updated_rectangle()
496 va_status = vaDestroyImage(va_dpy, decoded_image.image_id); in put_updated_rectangle()
580 va_status = vaMapBuffer(va_dpy, vaImage.buf, (void **)&nv12_buf); in nv12_to_rgba()
640 va_status = vaUnmapBuffer(va_dpy, vaImage.buf); in nv12_to_rgba()