Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dqsv.c622 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()
655 ret = av_hwframe_map(qsv_mid->locked_frame, qsv_mid->hw_frame, in qsv_frame_lock()
660 ptr->Pitch = qsv_mid->locked_frame->linesize[0]; in qsv_frame_lock()
661 ptr->Y = qsv_mid->locked_frame->data[0]; in qsv_frame_lock()
662 ptr->U = qsv_mid->locked_frame->data[1]; in qsv_frame_lock()
663 ptr->V = qsv_mid->locked_frame->data[1] + 1; in qsv_frame_lock()
668 av_frame_free(&qsv_mid->locked_frame); in qsv_frame_lock()
[all …]
Dqsv_internal.h67 AVFrame *locked_frame; member