Lines Matching defs:avfc
475 AVVAAPIFramesContext *avfc = hwfc->hwctx;
481 avfc->nb_surfaces >= hwfc->initial_pool_size)
506 av_assert0(avfc->nb_surfaces < hwfc->initial_pool_size);
507 avfc->surface_ids[avfc->nb_surfaces] = surface_id;
508 ++avfc->nb_surfaces;
516 AVVAAPIFramesContext *avfc = hwfc->hwctx;
538 for (i = 0; i < avfc->nb_attributes; i++) {
539 if (avfc->attributes[i].type == VASurfaceAttribMemoryType)
541 if (avfc->attributes[i].type == VASurfaceAttribPixelFormat)
545 avfc->nb_attributes + need_memory_type + need_pixel_format;
554 for (i = 0; i < avfc->nb_attributes; i++)
555 ctx->attributes[i] = avfc->attributes[i];
584 avfc->nb_surfaces = 0;
585 avfc->surface_ids = av_malloc(hwfc->initial_pool_size *
586 sizeof(*avfc->surface_ids));
587 if (!avfc->surface_ids) {
594 avfc->nb_surfaces = 0;
595 avfc->surface_ids = NULL;
661 av_freep(&avfc->surface_ids);
668 AVVAAPIFramesContext *avfc = hwfc->hwctx;
671 av_freep(&avfc->surface_ids);