• Home
  • Raw
  • Download

Lines Matching refs:CHECK_CU

108 #define CHECK_CU(x) FF_CUDA_CHECK_DL(avctx, ctx->cudl, x)  macro
257 ctx->internal_error = CHECK_CU(ctx->cvdl->cuvidDestroyDecoder(ctx->cudecoder)); in cuvid_handle_video_sequence()
313 ctx->internal_error = CHECK_CU(ctx->cvdl->cuvidCreateDecoder(&ctx->cudecoder, &cuinfo)); in cuvid_handle_video_sequence()
341 ctx->internal_error = CHECK_CU(ctx->cvdl->cuvidDecodePicture(ctx->cudecoder, picparams)); in cuvid_handle_picture_decode()
402 ret = CHECK_CU(ctx->cudl->cuCtxPushCurrent(cuda_ctx)); in cuvid_decode_packet()
425 ret = CHECK_CU(ctx->cvdl->cuvidParseVideoData(ctx->cuparser, &cupkt)); in cuvid_decode_packet()
438 eret = CHECK_CU(ctx->cudl->cuCtxPopCurrent(&dummy)); in cuvid_decode_packet()
481 ret = CHECK_CU(ctx->cudl->cuCtxPushCurrent(cuda_ctx)); in cuvid_output_frame()
500 …ret = CHECK_CU(ctx->cvdl->cuvidMapVideoFrame(ctx->cudecoder, parsed_frame.dispinfo.picture_index, … in cuvid_output_frame()
533 ret = CHECK_CU(ctx->cudl->cuMemcpy2DAsync(&cpy, device_hwctx->stream)); in cuvid_output_frame()
641 eret = CHECK_CU(ctx->cvdl->cuvidUnmapVideoFrame(ctx->cudecoder, mapped_frame)); in cuvid_output_frame()
643 eret = CHECK_CU(ctx->cudl->cuCtxPopCurrent(&dummy)); in cuvid_output_frame()
748 res8 = CHECK_CU(ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps8)); in cuvid_test_capabilities()
749 res10 = CHECK_CU(ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps10)); in cuvid_test_capabilities()
750 res12 = CHECK_CU(ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps12)); in cuvid_test_capabilities()
1008 ret = CHECK_CU(ctx->cudl->cuCtxPushCurrent(cuda_ctx)); in cuvid_decode_init()
1019 ret = CHECK_CU(ctx->cvdl->cuvidCreateVideoParser(&ctx->cuparser, &ctx->cuparseinfo)); in cuvid_decode_init()
1027 ret = CHECK_CU(ctx->cvdl->cuvidParseVideoData(ctx->cuparser, &seq_pkt)); in cuvid_decode_init()
1032 ret = CHECK_CU(ctx->cudl->cuCtxPopCurrent(&dummy)); in cuvid_decode_init()
1057 ret = CHECK_CU(ctx->cudl->cuCtxPushCurrent(cuda_ctx)); in cuvid_flush()
1079 ret = CHECK_CU(ctx->cvdl->cuvidCreateVideoParser(&ctx->cuparser, &ctx->cuparseinfo)); in cuvid_flush()
1087 ret = CHECK_CU(ctx->cvdl->cuvidParseVideoData(ctx->cuparser, &seq_pkt)); in cuvid_flush()
1092 ret = CHECK_CU(ctx->cudl->cuCtxPopCurrent(&dummy)); in cuvid_flush()