Merge pull request #3418 from tstellarAMD:2.4-hog-crash-fix

pull/3421/head
Alexander Alekhin 10 years ago
commit d2f19a3a0d
  1. 3
      modules/ocl/include/opencv2/ocl/ocl.hpp
  2. 1
      modules/ocl/src/hog.cpp

@ -1092,6 +1092,9 @@ namespace cv
oclMat image_scale;
// effect size of input image (might be different from original size after scaling)
Size effect_size;
private:
oclMat gauss_w_lut;
};

@ -55,7 +55,6 @@ using namespace cv::ocl;
#define CELLS_PER_BLOCK_Y 2
#define NTHREADS 256
static oclMat gauss_w_lut;
static bool hog_device_cpu;
namespace cv

Loading…
Cancel
Save