Lines Matching refs:frames_ctx
77 QSVFramesContext frames_ctx;
182 av_buffer_unref(&q->frames_ctx.hw_frames_ctx);
184 q->frames_ctx.hw_frames_ctx = av_buffer_ref(hw_frames_ref);
185 if (!q->frames_ctx.hw_frames_ctx)
189 &q->frames_ctx, q->load_plugins,
193 av_buffer_unref(&q->frames_ctx.hw_frames_ctx);
299 AVHWFramesContext *frames_ctx = (AVHWFramesContext*)avctx->hw_frames_ctx->data;
300 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx;
444 if (q->frames_ctx.mids) {
445 ret = ff_qsv_find_surface_idx(&q->frames_ctx, frame);
449 frame->surface.Data.MemId = &q->frames_ctx.mids[ret];
770 av_buffer_unref(&q->frames_ctx.hw_frames_ctx);
771 av_buffer_unref(&q->frames_ctx.mids_buf);