Lines Matching refs:va_dpy
1942 static VADisplay va_dpy; variable
2011 va_dpy = vaGetDisplay(x11_display); in create_encode_pipe()
2012 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); in create_encode_pipe()
2015 vaQueryConfigEntrypoints(va_dpy, avcenc_context.profile, entrypoints, in create_encode_pipe()
2031 vaGetConfigAttributes(va_dpy, avcenc_context.profile, VAEntrypointEncSlice, in create_encode_pipe()
2048 va_status = vaCreateConfig(va_dpy, avcenc_context.profile, VAEntrypointEncSlice, in create_encode_pipe()
2053 va_status = vaCreateContext(va_dpy, avcenc_context.config_id, in create_encode_pipe()
2063 vaDestroyContext(va_dpy,avcenc_context.context_id); in destory_encode_pipe()
2064 vaDestroyConfig(va_dpy,avcenc_context.config_id); in destory_encode_pipe()
2065 vaTerminate(va_dpy); in destory_encode_pipe()
2102 va_status = vaCreateSurfaces(va_dpy, in alloc_encode_resource()
2128 vaDestroySurfaces(va_dpy, &surface_ids[0], SID_NUMBER); in release_encode_resource()
2149 va_status = vaCreateBuffer(va_dpy, in avcenc_update_picture_parameter()
2174 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); in upload_yuv_to_surface()
2177 vaMapBuffer(va_dpy, surface_image.buf, &surface_p); in upload_yuv_to_surface()
2215 vaUnmapBuffer(va_dpy, surface_image.buf); in upload_yuv_to_surface()
2216 vaDestroyImage(va_dpy, surface_image.image_id); in upload_yuv_to_surface()
2244 va_status = vaCreateBuffer(va_dpy, in avcenc_update_slice_parameter()
2285 va_status = vaCreateBuffer(va_dpy, in begin_picture()
2292 va_status = vaCreateBuffer(va_dpy, in begin_picture()
2305 va_status = vaCreateBuffer(va_dpy, in begin_picture()
2312 va_status = vaCreateBuffer(va_dpy, in begin_picture()
2325 va_status = vaCreateBuffer(va_dpy, in begin_picture()
2359 va_status = vaBeginPicture(va_dpy, in avcenc_render_picture()
2364 va_status = vaRenderPicture(va_dpy, in avcenc_render_picture()
2370 va_status = vaRenderPicture(va_dpy, in avcenc_render_picture()
2376 va_status = vaEndPicture(va_dpy, avcenc_context.context_id); in avcenc_render_picture()
2389 va_status = vaDestroyBuffer(va_dpy, va_buffers[i]); in avcenc_destroy_buffers()
2812 va_status = vaSyncSurface(va_dpy, surface_ids[avcenc_context.current_input_surface]);
2816 …va_status = vaQuerySurfaceStatus(va_dpy, surface_ids[avcenc_context.current_input_surface], &surfa…
2819 … va_status = vaMapBuffer(va_dpy, avcenc_context.codedbuf_buf_id, (void **)(&coded_buffer_segment));
2830 vaUnmapBuffer(va_dpy, avcenc_context.codedbuf_buf_id);
2855 va_status = vaSyncSurface(va_dpy, surface_ids[avcenc_context.current_input_surface]); in store_coded_buffer()
2859 …va_status = vaQuerySurfaceStatus(va_dpy, surface_ids[avcenc_context.current_input_surface], &surfa… in store_coded_buffer()
2862 … va_status = vaMapBuffer(va_dpy, avcenc_context.codedbuf_buf_id, (void **)(&coded_buffer_segment)); in store_coded_buffer()
2872 vaUnmapBuffer(va_dpy, avcenc_context.codedbuf_buf_id); in store_coded_buffer()
2895 vaUnmapBuffer(va_dpy, avcenc_context.codedbuf_buf_id); in store_coded_buffer()
2948 va_status = vaCreateBuffer(va_dpy, in encode_picture()
3080 zoom_out_surface(VADisplay va_dpy, in zoom_out_surface() argument
3099 va_status = vaQueryConfigEntrypoints(va_dpy, in zoom_out_surface()
3116 vaGetConfigAttributes(va_dpy, in zoom_out_surface()
3126 va_status = vaCreateConfig(va_dpy, in zoom_out_surface()
3134 va_status = vaCreateSurfaces(va_dpy, in zoom_out_surface()
3143 va_status = vaCreateContext(va_dpy, in zoom_out_surface()
3153 vaQueryVideoProcPipelineCaps(va_dpy, in zoom_out_surface()
3174 va_status = vaCreateBuffer(va_dpy, in zoom_out_surface()
3183 va_status = vaBeginPicture(va_dpy, in zoom_out_surface()
3188 va_status = vaRenderPicture(va_dpy, in zoom_out_surface()
3194 va_status = vaEndPicture(va_dpy, context_id); in zoom_out_surface()
3197 vaDestroyContext(va_dpy, context_id); in zoom_out_surface()
3198 vaDestroyConfig(va_dpy, config_id); in zoom_out_surface()
3321 va_dpy = vaGetDisplay(x11_display); in main()
3322 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); in main()
3325 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileMPEG2Simple, entrypoints, in main()
3340 vaGetConfigAttributes(va_dpy, VAProfileMPEG2Simple, VAEntrypointVLD, in main()
3347 va_status = vaCreateConfig(va_dpy, VAProfileMPEG2Simple, VAEntrypointVLD, in main()
3351 va_status = vaCreateSurfaces(va_dpy,CLIP_WIDTH,CLIP_HEIGHT, in main()
3356 va_status = vaCreateContext(va_dpy, config_id, in main()
3365 va_status = vaCreateBuffer(va_dpy, context_id, in main()
3372 va_status = vaCreateBuffer(va_dpy, context_id, in main()
3379 va_status = vaCreateBuffer(va_dpy, context_id, in main()
3386 va_status = vaCreateBuffer(va_dpy, context_id, in main()
3397 va_status = vaBeginPicture(va_dpy, context_id, surface_id); in main()
3400 va_status = vaRenderPicture(va_dpy,context_id, &pic_param_buf, 1); in main()
3403 va_status = vaRenderPicture(va_dpy,context_id, &iqmatrix_buf, 1); in main()
3406 va_status = vaRenderPicture(va_dpy,context_id, &slice_param_buf, 1); in main()
3409 va_status = vaRenderPicture(va_dpy,context_id, &slice_data_buf, 1); in main()
3412 va_status = vaEndPicture(va_dpy,context_id); in main()
3415 va_status = vaSyncSurface(va_dpy, surface_id); in main()
3426 va_status = vaPutSurface(va_dpy, surface_id, android_isurface, in main()
3437 va_status = vaPutSurface(va_dpy, surface_id, win, in main()
3446 if( vaCreateImage(va_dpy, &image_format, in main()
3451 zoom_out_surface(va_dpy, surface_id, &zoom_surface_id); in main()
3453 if (vaGetImage(va_dpy,zoom_surface_id,0,0, in main()
3458 va_status = vaMapBuffer(va_dpy,yuv_image.buf,(void **)&image_data); in main()
3476 vaDestroySurfaces(va_dpy,&surface_id,1); in main()
3477 vaDestroyConfig(va_dpy,config_id); in main()
3478 vaDestroyContext(va_dpy,context_id); in main()
3480 vaTerminate(va_dpy); in main()