mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
All modules (except ocl and gpu) compiles and pass tests
This commit is contained in:
@@ -131,7 +131,7 @@ void cv::ocl::interpolateFrames(const oclMat &frame0, const oclMat &frame1,
|
||||
void interpolate::memsetKernel(float val, oclMat &img, int height, int offset)
|
||||
{
|
||||
Context *clCxt = Context::getContext();
|
||||
std::string kernelName = "memsetKernel";
|
||||
cv::String kernelName = "memsetKernel";
|
||||
std::vector< std::pair<size_t, const void *> > args;
|
||||
int step = img.step / sizeof(float);
|
||||
offset = step * height * offset;
|
||||
@@ -150,7 +150,7 @@ void interpolate::memsetKernel(float val, oclMat &img, int height, int offset)
|
||||
void interpolate::normalizeKernel(oclMat &buffer, int height, int factor_offset, int dst_offset)
|
||||
{
|
||||
Context *clCxt = Context::getContext();
|
||||
std::string kernelName = "normalizeKernel";
|
||||
cv::String kernelName = "normalizeKernel";
|
||||
std::vector< std::pair<size_t, const void *> > args;
|
||||
int step = buffer.step / sizeof(float);
|
||||
factor_offset = step * height * factor_offset;
|
||||
@@ -172,7 +172,7 @@ void interpolate::forwardWarpKernel(const oclMat &src, oclMat &buffer, const ocl
|
||||
int b_offset, int d_offset)
|
||||
{
|
||||
Context *clCxt = Context::getContext();
|
||||
std::string kernelName = "forwardWarpKernel";
|
||||
cv::String kernelName = "forwardWarpKernel";
|
||||
std::vector< std::pair<size_t, const void *> > args;
|
||||
int f_step = u.step / sizeof(float); // flow step
|
||||
int b_step = buffer.step / sizeof(float);
|
||||
@@ -210,7 +210,7 @@ void interpolate::blendFrames(const oclMat &frame0, const oclMat &/*frame1*/, co
|
||||
int step = buffer.step / sizeof(float);
|
||||
|
||||
Context *clCxt = Context::getContext();
|
||||
std::string kernelName = "blendFramesKernel";
|
||||
cv::String kernelName = "blendFramesKernel";
|
||||
std::vector< std::pair<size_t, const void *> > args;
|
||||
|
||||
args.push_back( std::make_pair( sizeof(cl_mem), (void *)&tex_src0));
|
||||
|
||||
Reference in New Issue
Block a user