• Home
  • Raw
  • Download

Lines Matching refs:va_status

73 #define CHECK_VASTATUS(va_status,func)                                  \  argument
74 if (va_status != VA_STATUS_SUCCESS) { \
162 VAStatus va_status; in create_encode_pipe() local
165 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); in create_encode_pipe()
166 CHECK_VASTATUS(va_status, "vaInitialize"); in create_encode_pipe()
201 va_status = vaCreateConfig(va_dpy, avcenc_context.profile, VAEntrypointEncSlice, in create_encode_pipe()
203 CHECK_VASTATUS(va_status, "vaCreateConfig"); in create_encode_pipe()
206 va_status = vaCreateContext(va_dpy, avcenc_context.config_id, in create_encode_pipe()
211 CHECK_VASTATUS(va_status, "vaCreateContext"); in create_encode_pipe()
252 VAStatus va_status; in alloc_encode_resource() local
255 va_status = vaCreateSurfaces( in alloc_encode_resource()
262 CHECK_VASTATUS(va_status, "vaCreateSurfaces"); in alloc_encode_resource()
290 VAStatus va_status; in avcenc_update_sei_param() local
307 va_status = vaCreateBuffer(va_dpy, in avcenc_update_sei_param()
312 CHECK_VASTATUS(va_status,"vaCreateBuffer"); in avcenc_update_sei_param()
314 va_status = vaCreateBuffer(va_dpy, in avcenc_update_sei_param()
319 CHECK_VASTATUS(va_status,"vaCreateBuffer"); in avcenc_update_sei_param()
327 VAStatus va_status; in avcenc_update_picture_parameter() local
342 va_status = vaCreateBuffer(va_dpy, in avcenc_update_picture_parameter()
347 CHECK_VASTATUS(va_status,"vaCreateBuffer"); in avcenc_update_picture_parameter()
357 VAStatus va_status; in upload_yuv_to_surface() local
370 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); in upload_yuv_to_surface()
371 CHECK_VASTATUS(va_status,"vaDeriveImage"); in upload_yuv_to_surface()
374 assert(VA_STATUS_SUCCESS == va_status); in upload_yuv_to_surface()
427 VAStatus va_status; in avcenc_update_slice_parameter() local
466 va_status = vaCreateBuffer(va_dpy, in avcenc_update_slice_parameter()
471 CHECK_VASTATUS(va_status,"vaCreateBuffer");; in avcenc_update_slice_parameter()
492 va_status = vaCreateBuffer(va_dpy, in avcenc_update_slice_parameter()
497 CHECK_VASTATUS(va_status,"vaCreateBuffer");; in avcenc_update_slice_parameter()
506 VAStatus va_status; in begin_picture() local
533 va_status = vaCreateBuffer(va_dpy, in begin_picture()
538 CHECK_VASTATUS(va_status,"vaCreateBuffer"); in begin_picture()
540 va_status = vaCreateBuffer(va_dpy, in begin_picture()
545 CHECK_VASTATUS(va_status,"vaCreateBuffer"); in begin_picture()
553 va_status = vaCreateBuffer(va_dpy, in begin_picture()
558 CHECK_VASTATUS(va_status,"vaCreateBuffer"); in begin_picture()
560 va_status = vaCreateBuffer(va_dpy, in begin_picture()
565 CHECK_VASTATUS(va_status,"vaCreateBuffer"); in begin_picture()
573 va_status = vaCreateBuffer(va_dpy, in begin_picture()
578 CHECK_VASTATUS(va_status,"vaCreateBuffer"); in begin_picture()
591 CHECK_VASTATUS(va_status, "vaCreateBuffer"); in begin_picture()
617 VAStatus va_status; in avcenc_render_picture() local
646 va_status = vaBeginPicture(va_dpy, in avcenc_render_picture()
649 CHECK_VASTATUS(va_status,"vaBeginPicture"); in avcenc_render_picture()
651 va_status = vaRenderPicture(va_dpy, in avcenc_render_picture()
655 CHECK_VASTATUS(va_status,"vaRenderPicture"); in avcenc_render_picture()
658 va_status = vaRenderPicture(va_dpy, in avcenc_render_picture()
662 CHECK_VASTATUS(va_status,"vaRenderPicture"); in avcenc_render_picture()
665 va_status = vaEndPicture(va_dpy, avcenc_context.context_id); in avcenc_render_picture()
666 CHECK_VASTATUS(va_status,"vaEndPicture"); in avcenc_render_picture()
673 VAStatus va_status; in avcenc_destroy_buffers() local
678 va_status = vaDestroyBuffer(va_dpy, va_buffers[i]); in avcenc_destroy_buffers()
679 CHECK_VASTATUS(va_status,"vaDestroyBuffer"); in avcenc_destroy_buffers()
1216 VAStatus va_status;
1219 va_status = vaSyncSurface(va_dpy, surface_ids[avcenc_context.current_input_surface]);
1220 CHECK_VASTATUS(va_status,"vaSyncSurface");
1223va_status = vaQuerySurfaceStatus(va_dpy, surface_ids[avcenc_context.current_input_surface], &surfa…
1224 CHECK_VASTATUS(va_status,"vaQuerySurfaceStatus");
1226va_status = vaMapBuffer(va_dpy, avcenc_context.codedbuf_buf_id, (void **)(&coded_buffer_segment));
1227 CHECK_VASTATUS(va_status,"vaMapBuffer");
1258 VAStatus va_status; in store_coded_buffer() local
1262 va_status = vaSyncSurface(va_dpy, surface_ids[avcenc_context.current_input_surface]); in store_coded_buffer()
1263 CHECK_VASTATUS(va_status,"vaSyncSurface"); in store_coded_buffer()
1266va_status = vaQuerySurfaceStatus(va_dpy, surface_ids[avcenc_context.current_input_surface], &surfa… in store_coded_buffer()
1267 CHECK_VASTATUS(va_status,"vaQuerySurfaceStatus"); in store_coded_buffer()
1269va_status = vaMapBuffer(va_dpy, avcenc_context.codedbuf_buf_id, (void **)(&coded_buffer_segment)); in store_coded_buffer()
1270 CHECK_VASTATUS(va_status,"vaMapBuffer"); in store_coded_buffer()
1315 VAStatus va_status; in encode_picture() local
1354 va_status = vaCreateBuffer(va_dpy, in encode_picture()
1359 CHECK_VASTATUS(va_status,"vaCreateBuffer"); in encode_picture()