Lines Matching refs:va_dpy
79 static VADisplay va_dpy; variable
164 va_dpy = va_open_display(); in create_encode_pipe()
165 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); in create_encode_pipe()
168 vaQueryConfigEntrypoints(va_dpy, avcenc_context.profile, entrypoints, in create_encode_pipe()
184 vaGetConfigAttributes(va_dpy, avcenc_context.profile, VAEntrypointEncSlice, in create_encode_pipe()
201 va_status = vaCreateConfig(va_dpy, avcenc_context.profile, VAEntrypointEncSlice, in create_encode_pipe()
206 va_status = vaCreateContext(va_dpy, avcenc_context.config_id, in create_encode_pipe()
216 vaDestroyContext(va_dpy,avcenc_context.context_id); in destory_encode_pipe()
217 vaDestroyConfig(va_dpy,avcenc_context.config_id); in destory_encode_pipe()
218 vaTerminate(va_dpy); in destory_encode_pipe()
219 va_close_display(va_dpy); in destory_encode_pipe()
256 va_dpy, in alloc_encode_resource()
282 vaDestroySurfaces(va_dpy, &surface_ids[0], SID_NUMBER); in release_encode_resource()
307 va_status = vaCreateBuffer(va_dpy, in avcenc_update_sei_param()
314 va_status = vaCreateBuffer(va_dpy, in avcenc_update_sei_param()
342 va_status = vaCreateBuffer(va_dpy, in avcenc_update_picture_parameter()
370 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); in upload_yuv_to_surface()
373 vaMapBuffer(va_dpy, surface_image.buf, &surface_p); in upload_yuv_to_surface()
420 vaUnmapBuffer(va_dpy, surface_image.buf); in upload_yuv_to_surface()
421 vaDestroyImage(va_dpy, surface_image.image_id); in upload_yuv_to_surface()
466 va_status = vaCreateBuffer(va_dpy, in avcenc_update_slice_parameter()
492 va_status = vaCreateBuffer(va_dpy, in avcenc_update_slice_parameter()
533 va_status = vaCreateBuffer(va_dpy, in begin_picture()
540 va_status = vaCreateBuffer(va_dpy, in begin_picture()
553 va_status = vaCreateBuffer(va_dpy, in begin_picture()
560 va_status = vaCreateBuffer(va_dpy, in begin_picture()
573 va_status = vaCreateBuffer(va_dpy, in begin_picture()
584 vaCreateBuffer(va_dpy, in begin_picture()
593 vaMapBuffer(va_dpy, in begin_picture()
607 vaUnmapBuffer(va_dpy, avcenc_context.misc_parameter_hrd_buf_id); in begin_picture()
646 va_status = vaBeginPicture(va_dpy, in avcenc_render_picture()
651 va_status = vaRenderPicture(va_dpy, in avcenc_render_picture()
658 va_status = vaRenderPicture(va_dpy, in avcenc_render_picture()
665 va_status = vaEndPicture(va_dpy, avcenc_context.context_id); in avcenc_render_picture()
678 va_status = vaDestroyBuffer(va_dpy, va_buffers[i]); in avcenc_destroy_buffers()
1219 va_status = vaSyncSurface(va_dpy, surface_ids[avcenc_context.current_input_surface]);
1223 …va_status = vaQuerySurfaceStatus(va_dpy, surface_ids[avcenc_context.current_input_surface], &surfa…
1226 … va_status = vaMapBuffer(va_dpy, avcenc_context.codedbuf_buf_id, (void **)(&coded_buffer_segment));
1237 vaUnmapBuffer(va_dpy, avcenc_context.codedbuf_buf_id);
1262 va_status = vaSyncSurface(va_dpy, surface_ids[avcenc_context.current_input_surface]); in store_coded_buffer()
1266 …va_status = vaQuerySurfaceStatus(va_dpy, surface_ids[avcenc_context.current_input_surface], &surfa… in store_coded_buffer()
1269 … va_status = vaMapBuffer(va_dpy, avcenc_context.codedbuf_buf_id, (void **)(&coded_buffer_segment)); in store_coded_buffer()
1279 vaUnmapBuffer(va_dpy, avcenc_context.codedbuf_buf_id); in store_coded_buffer()
1303 vaUnmapBuffer(va_dpy, avcenc_context.codedbuf_buf_id); in store_coded_buffer()
1354 va_status = vaCreateBuffer(va_dpy, in encode_picture()