Go to the source code of this file.
Data Structures | |
| struct | bitmap |
Functions | |
| unsigned char * | bitmapGetContents (bitmap bm) |
| unsigned int | bitmapGetMaxSize (bitmap bm) |
| unsigned int | bitmapGetLength (bitmap bm) |
| bitmap | bitmapInit (unsigned int max_size) |
| unsigned char | bitmapGetBit (bitmap bm, unsigned int index) |
| void | bitmapSetBit (bitmap *bm, unsigned int index, unsigned char bit) |
| void | bitmapAppendLeastSignificantBit (bitmap *bm, unsigned char bit) |
| void bitmapAppendLeastSignificantBit | ( | bitmap * | bm, | |
| unsigned char | bit | |||
| ) |
Adiciona um bit no final do mapa de bits.
| bm | O mapa de bits. | |
| bit | O novo valor do bit. |
| unsigned char bitmapGetBit | ( | bitmap | bm, | |
| unsigned int | index | |||
| ) |
Retorna o valor do bit na posicao index.
| bm | O mapa de bits. | |
| index | A posicao do bit. |
| unsigned char* bitmapGetContents | ( | bitmap | bm | ) |
Retorna o conteudo do mapa de bits.
| bm | O mapa de bits. |
| unsigned int bitmapGetLength | ( | bitmap | bm | ) |
Retorna o tamanho atual do mapa de bits.
| bm | O mapa de bits. |
| unsigned int bitmapGetMaxSize | ( | bitmap | bm | ) |
Retorna o tamanho maximo do mapa de bits.
| bm | O mapa de bits. |
| bitmap bitmapInit | ( | unsigned int | max_size | ) |
Constroi um novo mapa de bits, definindo um tamanho maximo.
| max_size | O tamanho maximo para o mapa de bits. |
| void bitmapSetBit | ( | bitmap * | bm, | |
| unsigned int | index, | |||
| unsigned char | bit | |||
| ) |
Modifica o valor do bit na posicao index.
| bm | O mapa de bits. | |
| index | A posicao do bit. | |
| bit | O novo valor do bit. |
1.5.3