Deleted all trailing whitespace.
This commit is contained in:
@@ -160,7 +160,7 @@ void btv_l1_device_ocl::upscale(const oclMat& src, oclMat& dst, int scale)
|
||||
args.push_back(make_pair(sizeof(cl_int), (void*)&src.rows));
|
||||
args.push_back(make_pair(sizeof(cl_int), (void*)&src.cols));
|
||||
args.push_back(make_pair(sizeof(cl_int), (void*)&scale));
|
||||
args.push_back(make_pair(sizeof(cl_int), (void*)&cn));
|
||||
args.push_back(make_pair(sizeof(cl_int), (void*)&cn));
|
||||
|
||||
openCLExecuteKernel(clCxt, &superres_btvl1, kernel_name, global_thread, local_thread, args, -1, -1);
|
||||
|
||||
@@ -465,8 +465,8 @@ namespace
|
||||
|
||||
// calc motions between input frames
|
||||
|
||||
calcRelativeMotions(forwardMotions, backwardMotions,
|
||||
lowResForwardMotions_, lowResBackwardMotions_,
|
||||
calcRelativeMotions(forwardMotions, backwardMotions,
|
||||
lowResForwardMotions_, lowResBackwardMotions_,
|
||||
baseIdx, src[0].size());
|
||||
|
||||
upscaleMotions(lowResForwardMotions_, highResForwardMotions_, scale_);
|
||||
|
||||
@@ -110,7 +110,7 @@ __kernel void upscaleKernel(__global float* src,
|
||||
dst[y * channels * scale * dst_step + 4 * x * scale + 0] = src[y * channels * src_step + 4 * x + 0];
|
||||
dst[y * channels * scale * dst_step + 4 * x * scale + 1] = src[y * channels * src_step + 4 * x + 1];
|
||||
dst[y * channels * scale * dst_step + 4 * x * scale + 2] = src[y * channels * src_step + 4 * x + 2];
|
||||
dst[y * channels * scale * dst_step + 4 * x * scale + 3] = src[y * channels * src_step + 4 * x + 3];
|
||||
dst[y * channels * scale * dst_step + 4 * x * scale + 3] = src[y * channels * src_step + 4 * x + 3];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user