Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dqsvvpp.c364 QSVFrame *qsv_frame; in submit_frame() local
369 qsv_frame = get_free_frame(&s->in_frame_list); in submit_frame()
370 if (!qsv_frame) in submit_frame()
384 qsv_frame->frame = av_frame_clone(picref); in submit_frame()
385 qsv_frame->surface = *(mfxFrameSurface1 *)qsv_frame->frame->data[3]; in submit_frame()
389 qsv_frame->frame = ff_get_video_buffer(inlink, in submit_frame()
392 if (!qsv_frame->frame) in submit_frame()
395 qsv_frame->frame->width = picref->width; in submit_frame()
396 qsv_frame->frame->height = picref->height; in submit_frame()
398 if (av_frame_copy(qsv_frame->frame, picref) < 0) { in submit_frame()
[all …]
/third_party/ffmpeg/libavcodec/
Dqsvenc.c1709 QSVFrame *qsv_frame = NULL; in encode_frame() local
1714 ret = submit_frame(q, frame, &qsv_frame); in encode_frame()
1720 if (qsv_frame) { in encode_frame()
1721 surf = &qsv_frame->surface; in encode_frame()
1722 enc_ctrl = &qsv_frame->enc_ctrl; in encode_frame()
1760 q->set_encode_ctrl_cb(avctx, frame, &qsv_frame->enc_ctrl); in encode_frame()