Lines Matching refs:hw_frames_ref
469 AVBufferRef *hw_frames_ref = opaque;
470 av_buffer_unref(&hw_frames_ref);
474 static AVBufferRef *qsv_create_mids(AVBufferRef *hw_frames_ref)
476 AVHWFramesContext *frames_ctx = (AVHWFramesContext*)hw_frames_ref->data;
484 hw_frames_ref1 = av_buffer_ref(hw_frames_ref);
505 mid->hw_frames_ref = hw_frames_ref1;
511 static int qsv_setup_mids(mfxFrameAllocResponse *resp, AVBufferRef *hw_frames_ref,
514 AVHWFramesContext *frames_ctx = (AVHWFramesContext*)hw_frames_ref->data;
531 resp->mids[resp->NumFrameActual] = (mfxMemId)av_buffer_ref(hw_frames_ref);
647 AVHWFramesContext *hw_frames_ctx = (AVHWFramesContext*)qsv_mid->hw_frames_ref->data;
676 qsv_mid->hw_frame->hw_frames_ctx = av_buffer_ref(qsv_mid->hw_frames_ref);