mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
blend use vector to optimize
This commit is contained in:
@@ -77,8 +77,8 @@ void cv::ocl::blendLinear(const oclMat &img1, const oclMat &img2, const oclMat &
|
||||
int cols = img1.cols;
|
||||
int istep = img1.step1();
|
||||
int wstep = weights1.step1();
|
||||
size_t globalSize[] = {cols * channels, rows, 1};
|
||||
size_t localSize[] = {16, 16, 1};
|
||||
size_t globalSize[] = {cols * channels / 4, rows, 1};
|
||||
size_t localSize[] = {256, 1, 1};
|
||||
|
||||
vector< pair<size_t, const void *> > args;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user