Lines Matching refs:va_dpy
53 static VADisplay va_dpy = NULL; variable
195 va_status = vaCreateSurfaces(va_dpy, in create_surface()
217 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); in construct_nv12_mask_surface()
220 va_status = vaMapBuffer(va_dpy, surface_image.buf, &surface_p); in construct_nv12_mask_surface()
248 vaUnmapBuffer(va_dpy, surface_image.buf); in construct_nv12_mask_surface()
249 vaDestroyImage(va_dpy, surface_image.image_id); in construct_nv12_mask_surface()
268 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); in upload_yv12_frame_to_yuv_surface()
271 va_status = vaMapBuffer(va_dpy, surface_image.buf, &surface_p); in upload_yv12_frame_to_yuv_surface()
349 vaUnmapBuffer(va_dpy, surface_image.buf); in upload_yv12_frame_to_yuv_surface()
350 vaDestroyImage(va_dpy, surface_image.image_id); in upload_yv12_frame_to_yuv_surface()
370 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); in store_yuv_surface_to_yv12_frame()
373 va_status = vaMapBuffer(va_dpy, surface_image.buf, &surface_p); in store_yuv_surface_to_yv12_frame()
456 vaUnmapBuffer(va_dpy, surface_image.buf); in store_yuv_surface_to_yv12_frame()
457 vaDestroyImage(va_dpy, surface_image.image_id); in store_yuv_surface_to_yv12_frame()
472 va_status = vaQueryVideoProcFilterCaps(va_dpy, context_id, in denoise_filter_init()
488 va_status = vaCreateBuffer(va_dpy, context_id, in denoise_filter_init()
526 va_status = vaQueryVideoProcFilterCaps(va_dpy, context_id, in deinterlace_filter_init()
557 va_status = vaCreateBuffer(va_dpy, context_id, in deinterlace_filter_init()
577 va_status = vaQueryVideoProcFilterCaps(va_dpy, context_id, in sharpening_filter_init()
594 va_status = vaCreateBuffer(va_dpy, context_id, in sharpening_filter_init()
615 va_status = vaQueryVideoProcFilterCaps(va_dpy, context_id, in color_balance_filter_init()
656 va_status = vaCreateBuffer(va_dpy, context_id, in color_balance_filter_init()
703 va_status = vaQueryVideoProcPipelineCaps(va_dpy, context_id, in blending_state_init()
778 va_status = vaCreateBuffer(va_dpy, in video_frame_process()
787 va_status = vaBeginPicture(va_dpy, in video_frame_process()
792 va_status = vaRenderPicture(va_dpy, in video_frame_process()
798 va_status = vaEndPicture(va_dpy, context_id); in video_frame_process()
802 vaDestroyBuffer(va_dpy,filter_param_buf_id); in video_frame_process()
805 vaDestroyBuffer(va_dpy,pipeline_param_buf_id); in video_frame_process()
817 va_dpy = va_open_display(); in vpp_context_create()
819 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); in vpp_context_create()
825 num_entrypoints = vaMaxNumEntrypoints(va_dpy); in vpp_context_create()
826 va_status = vaQueryConfigEntrypoints(va_dpy, in vpp_context_create()
845 va_status = vaGetConfigAttributes(va_dpy, in vpp_context_create()
865 va_status = vaCreateConfig(va_dpy, in vpp_context_create()
880 va_status = vaQuerySurfaceAttributes(va_dpy, in vpp_context_create()
890 va_status = vaQuerySurfaceAttributes(va_dpy, in vpp_context_create()
909 va_status = vaCreateContext(va_dpy, in vpp_context_create()
925 va_status = vaQueryVideoProcFilters(va_dpy, in vpp_context_create()
950 vaDestroySurfaces(va_dpy, &g_in_surface_id, 1); in vpp_context_destroy()
951 vaDestroySurfaces(va_dpy, &g_out_surface_id, 1); in vpp_context_destroy()
952 vaDestroyContext(va_dpy, context_id); in vpp_context_destroy()
953 vaDestroyConfig(va_dpy, config_id); in vpp_context_destroy()
955 vaTerminate(va_dpy); in vpp_context_destroy()
956 va_close_display(va_dpy); in vpp_context_destroy()