fix small bug in openmp of bilinear
This commit is contained in:
parent
cfbc6a511c
commit
24a457f320
@ -2430,7 +2430,7 @@ void RawImageSource::bilinear_demosaic()
|
|||||||
{
|
{
|
||||||
int tid = omp_get_thread_num();
|
int tid = omp_get_thread_num();
|
||||||
int nthreads = omp_get_num_threads();
|
int nthreads = omp_get_num_threads();
|
||||||
int blk = W/nthreads;
|
int blk = H/nthreads;
|
||||||
|
|
||||||
int start = 0;
|
int start = 0;
|
||||||
if (tid == 0) start = 1;
|
if (tid == 0) start = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user