Lines Matching refs:myres
139 CUresult myres = cuDeviceGet(&cudaDevice, gpuIndex); in initH264ContextInternal() local
140 if (myres != CUDA_SUCCESS) { in initH264ContextInternal()
141 H264_DPRINT("Failed to get cuda device, error code %d", (int)myres); in initH264ContextInternal()
146 myres = cuDeviceGetName(buf, sizeof(buf), cudaDevice); in initH264ContextInternal()
147 if (myres != CUDA_SUCCESS) { in initH264ContextInternal()
148 H264_DPRINT("Failed to get gpu device name, error code %d", (int)myres); in initH264ContextInternal()
154 myres = cuCtxCreate(&mCudaContext, cudaFlags, cudaDevice); in initH264ContextInternal()
155 if (myres != CUDA_SUCCESS) { in initH264ContextInternal()
156 H264_DPRINT("Failed to create cuda context, error code %d", (int)myres); in initH264ContextInternal()
199 CUresult myres = cuCtxDestroy(mCudaContext); in destroyH264Context() local
200 if (myres != CUDA_SUCCESS) { in destroyH264Context()
202 (int)myres); in destroyH264Context()
411 CUresult myres = cuDeviceGetCount(&numGpuCards); in initCudaDrivers() local
412 if (myres != CUDA_SUCCESS) { in initCudaDrivers()
416 (int)myres); in initCudaDrivers()