Commit 32efc928f9f85be7cb0e5e221a760dd9fca4feb1

Authored by DepthDeluxe
1 parent f633017d

want exact, not double

openbr/plugins/cuda/passthrough.cu
... ... @@ -19,7 +19,7 @@ namespace br { namespace cuda {
19 19 uint8_t srcVal = (srcPtr + rowInd*srcStep)[colInd];
20 20 uint8_t* rowDstPtr = dstPtr + rowInd*dstStep;
21 21  
22   - rowDstPtr[colInd] = srcVal * 2;
  22 + rowDstPtr[colInd] = srcVal;
23 23 }
24 24  
25 25 void passthrough_wrapper(GpuMat& src, GpuMat& dst) {
... ...