Searched refs:mCudaContext (Results 1 – 3 of 3) sorted by relevance
71 if (mCudaContext != nullptr) { in deInit()72 NVDEC_API_CALL(cuCtxPushCurrent(mCudaContext)); in deInit()86 if (mCudaContext != nullptr) { in deInit()87 CUresult myres = cuCtxDestroy(mCudaContext); in deInit()92 mCudaContext = nullptr; in deInit()110 if (mCudaContext != nullptr) { in init()139 myres = cuCtxCreate(&mCudaContext, cudaFlags, cudaDevice); in init()147 NVDEC_API_CALL(cuvidCtxLockCreate(&mCtxLock, mCudaContext)); in init()163 CUDA_DPRINT("Successfully created cuda context %p", mCudaContext); in init()213 NVDEC_API_CALL(cuCtxPushCurrent(mCudaContext)); in HandleVideoSequence()[all …]
122 if (mCudaContext != nullptr) { in initH264ContextInternal()154 myres = cuCtxCreate(&mCudaContext, cudaFlags, cudaDevice); in initH264ContextInternal()159 NVDEC_API_CALL(cuvidCtxLockCreate(&mCtxLock, mCudaContext)); in initH264ContextInternal()172 H264_DPRINT("Successfully created cuda context %p", mCudaContext); in initH264ContextInternal()183 if (mCudaContext != nullptr) { in destroyH264Context()184 NVDEC_API_CALL(cuCtxPushCurrent(mCudaContext)); in destroyH264Context()198 if (mCudaContext != nullptr) { in destroyH264Context()199 CUresult myres = cuCtxDestroy(mCudaContext); in destroyH264Context()204 mCudaContext = nullptr; in destroyH264Context()441 NVDEC_API_CALL(cuCtxPushCurrent(mCudaContext)); in HandleVideoSequence()[all …]
106 CUcontext mCudaContext = nullptr; variable