Picture turns green after auto CA, Issue 1938
This commit is contained in:
parent
6ee3973549
commit
bae76be220
@ -962,20 +962,18 @@ if(processpasstwo) {
|
|||||||
plistener->setProgress(progress);
|
plistener->setProgress(progress);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
free(buffer);
|
|
||||||
|
|
||||||
#pragma omp barrier
|
#pragma omp barrier
|
||||||
|
|
||||||
// copy temporary image matrix back to image matrix
|
// copy temporary image matrix back to image matrix
|
||||||
#pragma omp for
|
#pragma omp for
|
||||||
for(row=0;row<height;row++)
|
for(row=0;row<height;row++)
|
||||||
for(col=0+(FC(row,0)&1),indx=(row*width+col)>>1;col<width;col+=2,indx++)
|
for(col=0+(FC(row,0)&1),indx=(row*width+col)>>1;col<width;col+=2,indx++)
|
||||||
rawData[row][col] = RawDataTmp[indx];
|
rawData[row][col] = RawDataTmp[indx];
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// clean up
|
// clean up
|
||||||
|
free(buffer);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user