app/src/main/jni/Tools.cpp
void BlackPixelsInByte()
{
	for(int i=0;i<256;i++)
	{
		lut[i]=0;
		for(int j=0;j<8;j++)
		{
			if((i>>j)&0x01)
				lut[i]++;
		}
	}
}
/******************************************************************************
/*	Name:		BlackPixelsIsInByte
/*	Function:	Initialize array lut[0-255], which calculate the number of
/*				black pixels in a byte
/*	Parameter:	void
/*	Return:		void
/*****************************************************************************/
BlackPixelsIsInByte
Function:       Initialize array lut[0-255], which calculate the number of
black pixels in a byte
Parameter:      void
Return:         void
BlackPixelsIsInByte Function : Initialize array lut [ 0 - 255 ] which calculate the number of black pixels in a byte Parameter : void Return : void
void BlackPixelsInByte()
{
	for(int i=0;i<256;i++)
	{
		lut[i]=0;
		for(int j=0;j<8;j++)
		{
			if((i>>j)&0x01)
				lut[i]++;
		}
	}
}
void BlackPixelsInByte ( ) { for ( int i = 0 ; i < 256 ; i ++ ) { lut [ i ] = 0 ; for ( int j = 0 ; j < 8 ; j ++ ) { if ( ( i >> j ) & 0x01 ) lut [ i ] ++ ; } } }
Name:           BlackPixelsIsInByte
Function:       Initialize array lut[0-255], which calculate the number of
black pixels in a byte
Parameter:      void
Return:         void
Name : BlackPixelsIsInByte Function : Initialize array lut [ 0 - 255 ] which calculate the number of black pixels in a byte Parameter : void Return : void