Searched refs:hw_frames_ref (Results 1 – 4 of 4) sorted by relevance
46 AVBufferRef *hw_frames_ref; in set_hwframe_ctx() local50 if (!(hw_frames_ref = av_hwframe_ctx_alloc(hw_device_ctx))) { in set_hwframe_ctx()54 frames_ctx = (AVHWFramesContext *)(hw_frames_ref->data); in set_hwframe_ctx()60 if ((err = av_hwframe_ctx_init(hw_frames_ref)) < 0) { in set_hwframe_ctx()63 av_buffer_unref(&hw_frames_ref); in set_hwframe_ctx()66 ctx->hw_frames_ctx = av_buffer_ref(hw_frames_ref); in set_hwframe_ctx()70 av_buffer_unref(&hw_frames_ref); in set_hwframe_ctx()
440 AVBufferRef *hw_frames_ref = opaque; in mids_buf_free() local441 av_buffer_unref(&hw_frames_ref); in mids_buf_free()445 static AVBufferRef *qsv_create_mids(AVBufferRef *hw_frames_ref) in qsv_create_mids() argument447 AVHWFramesContext *frames_ctx = (AVHWFramesContext*)hw_frames_ref->data; in qsv_create_mids()455 hw_frames_ref1 = av_buffer_ref(hw_frames_ref); in qsv_create_mids()476 mid->hw_frames_ref = hw_frames_ref1; in qsv_create_mids()482 static int qsv_setup_mids(mfxFrameAllocResponse *resp, AVBufferRef *hw_frames_ref, in qsv_setup_mids() argument485 AVHWFramesContext *frames_ctx = (AVHWFramesContext*)hw_frames_ref->data; in qsv_setup_mids()502 resp->mids[resp->NumFrameActual] = (mfxMemId)av_buffer_ref(hw_frames_ref); in qsv_setup_mids()618 AVHWFramesContext *hw_frames_ctx = (AVHWFramesContext*)qsv_mid->hw_frames_ref->data; in qsv_frame_lock()[all …]
64 AVBufferRef *hw_frames_ref; member
139 AVBufferRef *hw_frames_ref, AVBufferRef *hw_device_ref) in qsv_init_session() argument151 } else if (hw_frames_ref) { in qsv_init_session()158 q->frames_ctx.hw_frames_ctx = av_buffer_ref(hw_frames_ref); in qsv_init_session()