fixed compilation under Ubuntu without CUDA

This commit is contained in:
Anatoly Baksheev
2012-10-08 22:20:53 +04:00
parent a310e2f027
commit 91a1a71de2
4 changed files with 17 additions and 12 deletions

View File

@@ -60,11 +60,7 @@ namespace cv { namespace gpu
BORDER_REFLECT_GPU,
BORDER_WRAP_GPU
};
// Converts CPU border extrapolation mode into GPU internal analogue.
// Returns true if the GPU analogue exists, false otherwise.
bool tryConvertToGpuBorderType(int cpuBorderType, int& gpuBorderType);
class NppStreamHandler
{
public: