Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dqsvvpp.c384 QSVFrame *qsv_frame; in submit_frame() local
389 qsv_frame = get_free_frame(&s->in_frame_list); in submit_frame()
390 if (!qsv_frame) in submit_frame()
404 qsv_frame->frame = av_frame_clone(picref); in submit_frame()
405 qsv_frame->surface = (mfxFrameSurface1 *)qsv_frame->frame->data[3]; in submit_frame()
409 qsv_frame->frame = ff_get_video_buffer(inlink, in submit_frame()
412 if (!qsv_frame->frame) in submit_frame()
415 qsv_frame->frame->width = picref->width; in submit_frame()
416 qsv_frame->frame->height = picref->height; in submit_frame()
418 if (av_frame_copy(qsv_frame->frame, picref) < 0) { in submit_frame()
[all …]
/third_party/ffmpeg/libavcodec/
Dqsvenc.c1405 QSVFrame *qsv_frame = NULL; in encode_frame() local
1410 ret = submit_frame(q, frame, &qsv_frame); in encode_frame()
1416 if (qsv_frame) { in encode_frame()
1417 surf = &qsv_frame->surface; in encode_frame()
1418 enc_ctrl = &qsv_frame->enc_ctrl; in encode_frame()
1460 q->set_encode_ctrl_cb(avctx, frame, &qsv_frame->enc_ctrl); in encode_frame()