Reduce size of badpixels bitmap by factor 8

This commit is contained in:
heckflosse 2016-06-29 14:47:23 +02:00
parent cb05456746
commit fe0743e471

View File

@ -44,7 +44,7 @@ public:
PixelsMap(int width, int height )
: h(height)
{
w = (width + base_t_size - 1) / base_t_size;
w = (width / (base_t_size * 8)) + 1;
pm = new base_t [h * w ];
memset(pm, 0, h * w * base_t_size );
}