Lines Matching refs:CHECK_CU
60 #define CHECK_CU(x) FF_CUDA_CHECK_DL(logctx, decoder->cudl, x) macro
123 ret = CHECK_CU(decoder->cvdl->cuvidGetDecoderCaps(&caps)); in nvdec_test_capabilities()
168 CHECK_CU(decoder->cudl->cuCtxPushCurrent(decoder->cuda_ctx)); in nvdec_decoder_free()
169 CHECK_CU(decoder->cvdl->cuvidDestroyDecoder(decoder->decoder)); in nvdec_decoder_free()
170 CHECK_CU(decoder->cudl->cuCtxPopCurrent(&dummy)); in nvdec_decoder_free()
219 ret = CHECK_CU(decoder->cudl->cuCtxPushCurrent(decoder->cuda_ctx)); in nvdec_decoder_create()
225 CHECK_CU(decoder->cudl->cuCtxPopCurrent(&dummy)); in nvdec_decoder_create()
229 ret = CHECK_CU(decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params)); in nvdec_decoder_create()
231 CHECK_CU(decoder->cudl->cuCtxPopCurrent(&dummy)); in nvdec_decoder_create()
465 ret = CHECK_CU(decoder->cudl->cuCtxPushCurrent(decoder->cuda_ctx)); in nvdec_unmap_mapped_frame()
469 CHECK_CU(decoder->cvdl->cuvidUnmapVideoFrame(decoder->decoder, devptr)); in nvdec_unmap_mapped_frame()
471 CHECK_CU(decoder->cudl->cuCtxPopCurrent(&dummy)); in nvdec_unmap_mapped_frame()
502 ret = CHECK_CU(decoder->cudl->cuCtxPushCurrent(decoder->cuda_ctx)); in nvdec_retrieve_data()
506 ret = CHECK_CU(decoder->cvdl->cuvidMapVideoFrame(decoder->decoder, in nvdec_retrieve_data()
548 CHECK_CU(decoder->cvdl->cuvidUnmapVideoFrame(decoder->decoder, devptr)); in nvdec_retrieve_data()
555 CHECK_CU(decoder->cudl->cuCtxPopCurrent(&dummy)); in nvdec_retrieve_data()
651 ret = CHECK_CU(decoder->cudl->cuCtxPushCurrent(decoder->cuda_ctx)); in ff_nvdec_end_frame()
655 ret = CHECK_CU(decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params)); in ff_nvdec_end_frame()
660 CHECK_CU(decoder->cudl->cuCtxPopCurrent(&dummy)); in ff_nvdec_end_frame()