Lines Matching defs:cuparseinfo
102 CUVIDPARSERPARAMS cuparseinfo;
387 int delay = ctx->cuparseinfo.ulMaxDisplayDelay;
690 const CUVIDPARSERPARAMS *cuparseinfo,
715 = cuparseinfo->CodecType;
890 memset(&ctx->cuparseinfo, 0, sizeof(ctx->cuparseinfo));
896 ctx->cuparseinfo.CodecType = cudaVideoCodec_H264;
901 ctx->cuparseinfo.CodecType = cudaVideoCodec_HEVC;
906 ctx->cuparseinfo.CodecType = cudaVideoCodec_JPEG;
911 ctx->cuparseinfo.CodecType = cudaVideoCodec_MPEG1;
916 ctx->cuparseinfo.CodecType = cudaVideoCodec_MPEG2;
921 ctx->cuparseinfo.CodecType = cudaVideoCodec_MPEG4;
926 ctx->cuparseinfo.CodecType = cudaVideoCodec_VP8;
931 ctx->cuparseinfo.CodecType = cudaVideoCodec_VP9;
936 ctx->cuparseinfo.CodecType = cudaVideoCodec_VC1;
941 ctx->cuparseinfo.CodecType = cudaVideoCodec_AV1;
979 ctx->cuparseinfo.pExtVideoInfo = ctx->cuparse_ext;
987 ctx->cuparseinfo.ulMaxNumDecodeSurfaces = ctx->nb_surfaces;
988 ctx->cuparseinfo.ulMaxDisplayDelay = (avctx->flags & AV_CODEC_FLAG_LOW_DELAY) ? 0 : 4;
989 ctx->cuparseinfo.pUserData = avctx;
990 ctx->cuparseinfo.pfnSequenceCallback = cuvid_handle_video_sequence;
991 ctx->cuparseinfo.pfnDecodePicture = cuvid_handle_picture_decode;
992 ctx->cuparseinfo.pfnDisplayPicture = cuvid_handle_picture_display;
998 ret = cuvid_test_capabilities(avctx, &ctx->cuparseinfo,
1005 ret = CHECK_CU(ctx->cvdl->cuvidCreateVideoParser(&ctx->cuparser, &ctx->cuparseinfo));
1059 ret = CHECK_CU(ctx->cvdl->cuvidCreateVideoParser(&ctx->cuparser, &ctx->cuparseinfo));