Lines Matching refs:va_dpy
125 VADisplay va_dpy; member
449 … va_status = vaDeriveImage(ctx->va_dpy, surface_ids[ctx->current_upload_surface], &surface_image); in upload_yuv_to_surface()
452 vaMapBuffer(ctx->va_dpy, surface_image.buf, &surface_p); in upload_yuv_to_surface()
495 vaUnmapBuffer(ctx->va_dpy, surface_image.buf); in upload_yuv_to_surface()
496 vaDestroyImage(ctx->va_dpy, surface_image.image_id); in upload_yuv_to_surface()
826 ctx->va_dpy = va_open_display(); in mpeg2enc_alloc_va_resources()
827 va_status = vaInitialize(ctx->va_dpy, in mpeg2enc_alloc_va_resources()
832 max_entrypoints = vaMaxNumEntrypoints(ctx->va_dpy); in mpeg2enc_alloc_va_resources()
834 vaQueryConfigEntrypoints(ctx->va_dpy, in mpeg2enc_alloc_va_resources()
854 vaGetConfigAttributes(ctx->va_dpy, in mpeg2enc_alloc_va_resources()
874 va_status = vaCreateConfig(ctx->va_dpy, in mpeg2enc_alloc_va_resources()
883 va_status = vaCreateContext(ctx->va_dpy, in mpeg2enc_alloc_va_resources()
893 va_status = vaCreateSurfaces(ctx->va_dpy, in mpeg2enc_alloc_va_resources()
1060 va_status = vaCreateBuffer(ctx->va_dpy, in mpeg2enc_update_picture_parameter_buffer()
1095 va_status = vaCreateBuffer(ctx->va_dpy, in mpeg2enc_update_slice_parameter()
1138 va_status = vaCreateBuffer(ctx->va_dpy, in begin_picture()
1145 va_status = vaCreateBuffer(ctx->va_dpy, in begin_picture()
1160 va_status = vaCreateBuffer(ctx->va_dpy, in begin_picture()
1167 va_status = vaCreateBuffer(ctx->va_dpy, in begin_picture()
1178 va_status = vaCreateBuffer(ctx->va_dpy, in begin_picture()
1215 va_status = vaBeginPicture(ctx->va_dpy, in mpeg2enc_render_picture()
1220 va_status = vaRenderPicture(ctx->va_dpy, in mpeg2enc_render_picture()
1226 va_status = vaRenderPicture(ctx->va_dpy, in mpeg2enc_render_picture()
1232 va_status = vaEndPicture(ctx->va_dpy, ctx->context_id); in mpeg2enc_render_picture()
1246 va_status = vaDestroyBuffer(ctx->va_dpy, va_buffers[i]); in mpeg2enc_destroy_buffers()
1301 va_status = vaSyncSurface(ctx->va_dpy, surface_ids[ctx->current_input_surface]); in store_coded_buffer()
1305 …va_status = vaQuerySurfaceStatus(ctx->va_dpy, surface_ids[ctx->current_input_surface], &surface_st… in store_coded_buffer()
1308 va_status = vaMapBuffer(ctx->va_dpy, ctx->codedbuf_buf_id, (void **)(&coded_buffer_segment)); in store_coded_buffer()
1318 vaUnmapBuffer(ctx->va_dpy, ctx->codedbuf_buf_id); in store_coded_buffer()
1342 vaUnmapBuffer(ctx->va_dpy, ctx->codedbuf_buf_id); in store_coded_buffer()
1384 va_status = vaCreateBuffer(ctx->va_dpy, in encode_picture()
1491 vaDestroySurfaces(ctx->va_dpy, surface_ids, SID_NUMBER); in mpeg2enc_release_va_resources()
1492 vaDestroyContext(ctx->va_dpy, ctx->context_id); in mpeg2enc_release_va_resources()
1493 vaDestroyConfig(ctx->va_dpy, ctx->config_id); in mpeg2enc_release_va_resources()
1494 vaTerminate(ctx->va_dpy); in mpeg2enc_release_va_resources()
1495 va_close_display(ctx->va_dpy); in mpeg2enc_release_va_resources()