Lines Matching refs:surface_ids
233 static VASurfaceID surface_ids[SID_NUMBER]; variable
258 &surface_ids[0], SID_NUMBER, in alloc_encode_resource()
268 avcenc_context.upload_thread_param.surface_id = surface_ids[SID_INPUT_PICTURE_1]; in alloc_encode_resource()
282 vaDestroySurfaces(va_dpy, &surface_ids[0], SID_NUMBER); in release_encode_resource()
331 pic_param->CurrPic.picture_id = surface_ids[SID_RECON_PICTURE]; in avcenc_update_picture_parameter()
333 pic_param->ReferenceFrames[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L0]; in avcenc_update_picture_parameter()
334 pic_param->ReferenceFrames[1].picture_id = surface_ids[SID_REFERENCE_PICTURE_L1]; in avcenc_update_picture_parameter()
450 slice_param->RefPicList0[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L0]; in avcenc_update_slice_parameter()
459 slice_param->RefPicList1[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L1]; in avcenc_update_slice_parameter()
648 surface_ids[avcenc_context.current_input_surface]); in avcenc_render_picture()
692 tempID = surface_ids[SID_RECON_PICTURE]; in end_picture()
696 surface_ids[SID_RECON_PICTURE] = surface_ids[SID_REFERENCE_PICTURE_L1]; in end_picture()
697 surface_ids[SID_REFERENCE_PICTURE_L1] = tempID; in end_picture()
699 surface_ids[SID_RECON_PICTURE] = surface_ids[SID_REFERENCE_PICTURE_L0]; in end_picture()
700 surface_ids[SID_REFERENCE_PICTURE_L0] = tempID; in end_picture()
704 surface_ids[SID_RECON_PICTURE] = surface_ids[SID_REFERENCE_PICTURE_L0]; in end_picture()
705 surface_ids[SID_REFERENCE_PICTURE_L0] = surface_ids[SID_REFERENCE_PICTURE_L1]; in end_picture()
706 surface_ids[SID_REFERENCE_PICTURE_L1] = tempID; in end_picture()
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…
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()
1334 avcenc_context.upload_thread_param.surface_id = surface_ids[index]; in encode_picture()