Lines Matching defs:frames
283 AVHWFramesContext *frames)
353 frames->sw_format = best_format;
356 AVVAAPIFramesContext *avfc = frames->hwctx;
566 AVHWFramesContext *frames = (AVHWFramesContext *)frames_ref->data;
568 frames->format = AV_PIX_FMT_VAAPI;
569 frames->width = avctx->coded_width;
570 frames->height = avctx->coded_height;
573 *va_config, frames);
577 frames->initial_pool_size = 1;
578 // Add per-codec number of surfaces used for storing reference frames.
583 frames->initial_pool_size += 16;
586 frames->initial_pool_size += 8;
589 frames->initial_pool_size += 3;
592 frames->initial_pool_size += 2;
649 ctx->frames = (AVHWFramesContext*)avctx->hw_frames_ctx->data;
650 ctx->hwfc = ctx->frames->hwctx;
651 ctx->device = ctx->frames->device_ctx;
654 err = vaapi_decode_make_config(avctx, ctx->frames->device_ref,