Lines Matching refs:frames_hwctx
354 AVQSVFramesContext *frames_hwctx = ctx->hwctx; in qsv_init_pool() local
374 if (!(frames_hwctx->frame_type & MFX_MEMTYPE_OPAQUE_FRAME)) { in qsv_init_pool()
385 frames_hwctx->surfaces = s->surfaces_internal; in qsv_init_pool()
386 frames_hwctx->nb_surfaces = ctx->initial_pool_size; in qsv_init_pool()
444 AVQSVFramesContext *frames_hwctx = ctx->hwctx; in qsv_init_internal_session() local
446 int opaque = !!(frames_hwctx->frame_type & MFX_MEMTYPE_OPAQUE_FRAME); in qsv_init_internal_session()
495 par.vpp.In = frames_hwctx->surfaces[0].Info; in qsv_init_internal_session()
519 AVQSVFramesContext *frames_hwctx = ctx->hwctx; in qsv_frames_init() local
521 int opaque = !!(frames_hwctx->frame_type & MFX_MEMTYPE_OPAQUE_FRAME); in qsv_frames_init()
541 s->surface_ptrs = av_mallocz_array(frames_hwctx->nb_surfaces, in qsv_frames_init()
546 for (i = 0; i < frames_hwctx->nb_surfaces; i++) in qsv_frames_init()
547 s->surface_ptrs[i] = frames_hwctx->surfaces + i; in qsv_frames_init()
550 s->opaque_alloc.In.NumSurface = frames_hwctx->nb_surfaces; in qsv_frames_init()
551 s->opaque_alloc.In.Type = frames_hwctx->frame_type; in qsv_frames_init()
560 s->mem_ids = av_mallocz_array(frames_hwctx->nb_surfaces, sizeof(*s->mem_ids)); in qsv_frames_init()
564 for (i = 0; i < frames_hwctx->nb_surfaces; i++) in qsv_frames_init()
565 s->mem_ids[i] = frames_hwctx->surfaces[i].Data.MemId; in qsv_frames_init()