Lines Matching refs:va_dpy
77 static VADisplay va_dpy; variable
927 va_dpy = va_open_display(); in init_va()
928 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); in init_va()
931 num_entrypoints = vaMaxNumEntrypoints(va_dpy); in init_va()
944 vaQueryConfigEntrypoints(va_dpy, h264_profile, entrypoints, &num_entrypoints); in init_va()
994 va_status = vaGetConfigAttributes(va_dpy, h264_profile, VAEntrypointEncSlice, in init_va()
1121 va_status = vaCreateConfig(va_dpy, h264_profile, VAEntrypointEncSlice, in setup_encode()
1126 va_status = vaCreateSurfaces(va_dpy, in setup_encode()
1134 va_dpy, in setup_encode()
1146 va_status = vaCreateContext(va_dpy, config_id, in setup_encode()
1163 va_status = vaCreateBuffer(va_dpy,context_id,VAEncCodedBufferType, in setup_encode()
1317 va_status = vaCreateBuffer(va_dpy, context_id, in render_sequence()
1322 va_status = vaCreateBuffer(va_dpy, context_id, in render_sequence()
1328 vaMapBuffer(va_dpy, rc_param_buf,(void **)&misc_param); in render_sequence()
1338 vaUnmapBuffer(va_dpy, rc_param_buf); in render_sequence()
1343 va_status = vaRenderPicture(va_dpy,context_id, &render_id[0], 2); in render_sequence()
1347 va_status = vaCreateBuffer(va_dpy, context_id, in render_sequence()
1352 vaMapBuffer(va_dpy, misc_param_tmpbuf,(void **)&misc_param_tmp); in render_sequence()
1355 vaUnmapBuffer(va_dpy, misc_param_tmpbuf); in render_sequence()
1357 va_status = vaRenderPicture(va_dpy,context_id, &misc_param_tmpbuf, 1); in render_sequence()
1434 va_status = vaCreateBuffer(va_dpy, context_id,VAEncPictureParameterBufferType, in render_picture()
1438 va_status = vaRenderPicture(va_dpy,context_id, &pic_param_buf, 1); in render_picture()
1458 va_status = vaCreateBuffer(va_dpy, in render_packedsequence()
1465 va_status = vaCreateBuffer(va_dpy, in render_packedsequence()
1474 va_status = vaRenderPicture(va_dpy,context_id, render_id, 2); in render_packedsequence()
1496 va_status = vaCreateBuffer(va_dpy, in render_packedpicture()
1503 va_status = vaCreateBuffer(va_dpy, in render_packedpicture()
1512 va_status = vaRenderPicture(va_dpy,context_id, render_id, 2); in render_packedpicture()
1556 va_status = vaCreateBuffer(va_dpy, in render_packedsei()
1563 va_status = vaCreateBuffer(va_dpy, in render_packedsei()
1573 va_status = vaRenderPicture(va_dpy,context_id, render_id, 2); in render_packedsei()
1590 va_status = vaCreateBuffer(va_dpy, context_id, in render_hrd()
1598 vaMapBuffer(va_dpy, in render_hrd()
1611 vaUnmapBuffer(va_dpy, misc_parameter_hrd_buf_id); in render_hrd()
1613 va_status = vaRenderPicture(va_dpy,context_id, &misc_parameter_hrd_buf_id, 1); in render_hrd()
1664 va_status = vaCreateBuffer(va_dpy,context_id,VAEncSliceParameterBufferType, in render_slice()
1668 va_status = vaRenderPicture(va_dpy,context_id, &slice_param_buf, 1); in render_slice()
1683 upload_surface(va_dpy, src_surface[i], box_width, row_shift, 0); in upload_source_YUV_once_for_all()
1736 upload_surface_yuv(va_dpy, surface_id, in load_surface()
1770 download_surface_yuv(va_dpy, surface_id, in save_recyuv()
1815 va_status = vaMapBuffer(va_dpy,coded_buf[display_order % SURFACE_NUM],(void **)(&buf_list)); in save_codeddata()
1823 vaUnmapBuffer(va_dpy,coded_buf[display_order % SURFACE_NUM]); in save_codeddata()
1899 va_status = vaSyncSurface(va_dpy, src_surface[display_order % SURFACE_NUM]); in storage_task()
1986 va_status = vaBeginPicture(va_dpy, context_id, src_surface[current_slot]); in encode_frames()
2012 va_status = vaEndPicture(va_dpy,context_id); in encode_frames()
2037 vaDestroySurfaces(va_dpy,&src_surface[0],SURFACE_NUM); in release_encode()
2038 vaDestroySurfaces(va_dpy,&ref_surface[0],SURFACE_NUM); in release_encode()
2041 vaDestroyBuffer(va_dpy,coded_buf[i]); in release_encode()
2043 vaDestroyContext(va_dpy,context_id); in release_encode()
2044 vaDestroyConfig(va_dpy,config_id); in release_encode()
2051 vaTerminate(va_dpy); in deinit_va()
2053 va_close_display(va_dpy); in deinit_va()