Lines Matching refs:hw_frames_ctx
364 if (!avctx->hw_frames_ctx) {
365 ret = nvdec_init_hwframes(avctx, &avctx->hw_frames_ctx, 1);
373 real_hw_frames_ref = av_buffer_ref(avctx->hw_frames_ctx);
394 frames_ctx = (AVHWFramesContext*)avctx->hw_frames_ctx->data;
487 AVHWFramesContext *hwctx = (AVHWFramesContext *)frame->hw_frames_ctx->data;
527 av_buffer_unref(&frame->hw_frames_ctx);
528 frame->hw_frames_ctx = av_buffer_ref(decoder->real_hw_frames_ref);
529 if (!frame->hw_frames_ctx) {
697 AVBufferRef *hw_frames_ctx,
701 AVHWFramesContext *frames_ctx = (AVHWFramesContext*)hw_frames_ctx->data;