Lines Matching refs:mCudaContext
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()
297 NVDEC_API_CALL(cuCtxPushCurrent(mCudaContext)); in HandleVideoSequence()
309 NVDEC_API_CALL(cuCtxPushCurrent(mCudaContext)); in HandleVideoSequence()
356 NVDEC_API_CALL(cuCtxPushCurrent(mCudaContext)); in HandlePictureDisplay()