Reduce size of badpixels bitmap by factor 8
This commit is contained in:
parent
cb05456746
commit
fe0743e471
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user