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()
1076 va_status = vaCreateBuffer(ctx->va_dpy, in mpeg2enc_update_picture_parameter_buffer()
1111 va_status = vaCreateBuffer(ctx->va_dpy, in mpeg2enc_update_slice_parameter()
1154 va_status = vaCreateBuffer(ctx->va_dpy, in begin_picture()
1161 va_status = vaCreateBuffer(ctx->va_dpy, in begin_picture()
1176 va_status = vaCreateBuffer(ctx->va_dpy, in begin_picture()
1183 va_status = vaCreateBuffer(ctx->va_dpy, in begin_picture()
1194 va_status = vaCreateBuffer(ctx->va_dpy, in begin_picture()
1231 va_status = vaBeginPicture(ctx->va_dpy, in mpeg2enc_render_picture()
1236 va_status = vaRenderPicture(ctx->va_dpy, in mpeg2enc_render_picture()
1242 va_status = vaRenderPicture(ctx->va_dpy, in mpeg2enc_render_picture()
1248 va_status = vaEndPicture(ctx->va_dpy, ctx->context_id); in mpeg2enc_render_picture()
1262 va_status = vaDestroyBuffer(ctx->va_dpy, va_buffers[i]); in mpeg2enc_destroy_buffers()
1317 va_status = vaSyncSurface(ctx->va_dpy, surface_ids[ctx->current_input_surface]); in store_coded_buffer()
1321 …va_status = vaQuerySurfaceStatus(ctx->va_dpy, surface_ids[ctx->current_input_surface], &surface_st… in store_coded_buffer()
1324 va_status = vaMapBuffer(ctx->va_dpy, ctx->codedbuf_buf_id, (void **)(&coded_buffer_segment)); in store_coded_buffer()
1334 vaUnmapBuffer(ctx->va_dpy, ctx->codedbuf_buf_id); in store_coded_buffer()
1358 vaUnmapBuffer(ctx->va_dpy, ctx->codedbuf_buf_id); in store_coded_buffer()
1400 va_status = vaCreateBuffer(ctx->va_dpy, in encode_picture()
1507 vaDestroySurfaces(ctx->va_dpy, surface_ids, SID_NUMBER); in mpeg2enc_release_va_resources()
1508 vaDestroyContext(ctx->va_dpy, ctx->context_id); in mpeg2enc_release_va_resources()
1509 vaDestroyConfig(ctx->va_dpy, ctx->config_id); in mpeg2enc_release_va_resources()
1510 vaTerminate(ctx->va_dpy); in mpeg2enc_release_va_resources()
1511 va_close_display(ctx->va_dpy); in mpeg2enc_release_va_resources()