Skip to content

Commit

Permalink
cuda: rename files to get rid of so many cudas
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Mar 11, 2021
1 parent 6628c96 commit 1909f09
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cuda/cudabgsegm.cpp → cuda/bgsegm.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cudabgsegm.h"
#include "bgsegm.h"

CudaBackgroundSubtractorMOG2 CudaBackgroundSubtractorMOG2_Create() {
return new cv::Ptr<cv::cuda::BackgroundSubtractorMOG2>(cv::cuda::createBackgroundSubtractorMOG2());
Expand Down
2 changes: 1 addition & 1 deletion cuda/cudabgsegm.go → cuda/bgsegm.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cuda

/*
#include <stdlib.h>
#include "cudabgsegm.h"
#include "bgsegm.h"
*/
import "C"
import "unsafe"
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion cuda/cudaoptflow.cpp → cuda/optflow.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cudaoptflow.h"
#include "optflow.h"

CudaSparsePyrLKOpticalFlow CudaSparsePyrLKOpticalFlow_Create() {
return new cv::Ptr<cv::cuda::SparsePyrLKOpticalFlow>(cv::cuda::SparsePyrLKOpticalFlow::create());
Expand Down
2 changes: 1 addition & 1 deletion cuda/cudaoptflow.go → cuda/optflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cuda
/*
#include <stdlib.h>
#include "cuda.h"
#include "cudaoptflow.h"
#include "optflow.h"
*/
import "C"
import "unsafe"
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion cuda/cudawarping.cpp → cuda/warping.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cudawarping.h"
#include "warping.h"

void CudaResize(GpuMat src, GpuMat dst, Size dsize, double fx, double fy, int interp) {
cv::Size sz(dsize.width, dsize.height);
Expand Down
2 changes: 1 addition & 1 deletion cuda/cudawarping.go → cuda/warping.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cuda

/*
#include <stdlib.h>
#include "cudawarping.h"
#include "warping.h"
*/
import "C"
import (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1909f09

Please sign in to comment.