Lines Matching refs:mCudaContext
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()
515 NVDEC_API_CALL(cuCtxPushCurrent(mCudaContext)); in HandleVideoSequence()
527 NVDEC_API_CALL(cuCtxPushCurrent(mCudaContext)); in HandleVideoSequence()
639 NVDEC_API_CALL(cuCtxPushCurrent(mCudaContext)); in HandlePictureDisplay()
715 const int hasContext = mCudaContext == nullptr ? 0 : 1; in save()