Home
last modified time | relevance | path

Searched refs:qsv_mid (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dqsv.c617 QSVMid *qsv_mid = mid; in qsv_frame_lock() local
618 AVHWFramesContext *hw_frames_ctx = (AVHWFramesContext*)qsv_mid->hw_frames_ref->data; in qsv_frame_lock()
622 if (qsv_mid->locked_frame) in qsv_frame_lock()
626 qsv_mid->locked_frame = av_frame_alloc(); in qsv_frame_lock()
627 if (!qsv_mid->locked_frame) in qsv_frame_lock()
629 qsv_mid->locked_frame->format = hw_frames_ctx->sw_format; in qsv_frame_lock()
632 qsv_mid->hw_frame = av_frame_alloc(); in qsv_frame_lock()
633 if (!qsv_mid->hw_frame) in qsv_frame_lock()
636 qsv_mid->hw_frame->data[3] = (uint8_t*)&qsv_mid->surf; in qsv_frame_lock()
637 qsv_mid->hw_frame->format = AV_PIX_FMT_QSV; in qsv_frame_lock()
[all …]