Searched refs:avfc (Results 1 – 2 of 2) sorted by relevance
472 AVVAAPIFramesContext *avfc = hwfc->hwctx; in vaapi_pool_alloc() local478 avfc->nb_surfaces >= hwfc->initial_pool_size) in vaapi_pool_alloc()503 av_assert0(avfc->nb_surfaces < hwfc->initial_pool_size); in vaapi_pool_alloc()504 avfc->surface_ids[avfc->nb_surfaces] = surface_id; in vaapi_pool_alloc()505 ++avfc->nb_surfaces; in vaapi_pool_alloc()513 AVVAAPIFramesContext *avfc = hwfc->hwctx; in vaapi_frames_init() local535 for (i = 0; i < avfc->nb_attributes; i++) { in vaapi_frames_init()536 if (avfc->attributes[i].type == VASurfaceAttribMemoryType) in vaapi_frames_init()538 if (avfc->attributes[i].type == VASurfaceAttribPixelFormat) in vaapi_frames_init()542 avfc->nb_attributes + need_memory_type + need_pixel_format; in vaapi_frames_init()[all …]
354 AVVAAPIFramesContext *avfc = frames->hwctx; in vaapi_decode_find_best_format() local361 avfc->attributes = &ctx->pixel_format_attribute; in vaapi_decode_find_best_format()362 avfc->nb_attributes = 1; in vaapi_decode_find_best_format()