fix small bug in openmp of bilinear

This commit is contained in:
Andrey Skvortsov 2010-09-13 17:37:21 -07:00
parent cfbc6a511c
commit 24a457f320

View File

@ -2430,7 +2430,7 @@ void RawImageSource::bilinear_demosaic()
{
int tid = omp_get_thread_num();
int nthreads = omp_get_num_threads();
int blk = W/nthreads;
int blk = H/nthreads;
int start = 0;
if (tid == 0) start = 1;