Lines Matching defs:qsv
50 #include "qsv.h"
859 QSVContext qsv;
881 qsv_decode_close_qsvcontext(&s->qsv);
905 if (s->qsv.load_plugins[0]) {
917 av_freep(&s->qsv.load_plugins);
918 s->qsv.load_plugins = av_strdup(uid);
919 if (!s->qsv.load_plugins)
923 s->qsv.orig_pix_fmt = AV_PIX_FMT_NV12;
962 return avpkt->size ? avpkt->size : qsv_process_data(avctx, &s->qsv, frame, got_frame, avpkt);
964 if (!s->qsv.reinit_flag) {
970 ret = qsv_process_data(avctx, &s->qsv, frame, got_frame, &s->buffer_pkt);
977 if (s->qsv.reinit_flag)
993 s->qsv.orig_pix_fmt = AV_PIX_FMT_NONE;
994 s->qsv.initialized = 0;
1027 .p.wrapper_name = "qsv", \
1034 { "async_depth", "Internal parallelization depth, the higher the value the higher the latency.", OFFSET(qsv.async_depth), AV_OPT_TYPE_INT, { .i64 = ASYNC_DEPTH_DEFAULT }, 1, INT_MAX, VD },
1042 OFFSET(qsv.load_plugins), AV_OPT_TYPE_STRING, { .str = "" }, 0, 0, VD },
1044 { "gpu_copy", "A GPU-accelerated copy between video and system memory", OFFSET(qsv.gpu_copy), AV_OPT_TYPE_INT, { .i64 = MFX_GPUCOPY_DEFAULT }, MFX_GPUCOPY_DEFAULT, MFX_GPUCOPY_OFF, VD, "gpu_copy"},
1054 { "async_depth", "Internal parallelization depth, the higher the value the higher the latency.", OFFSET(qsv.async_depth), AV_OPT_TYPE_INT, { .i64 = ASYNC_DEPTH_DEFAULT }, 1, INT_MAX, VD },
1056 { "gpu_copy", "A GPU-accelerated copy between video and system memory", OFFSET(qsv.gpu_copy), AV_OPT_TYPE_INT, { .i64 = MFX_GPUCOPY_DEFAULT }, MFX_GPUCOPY_DEFAULT, MFX_GPUCOPY_OFF, VD, "gpu_copy"},