rEFIt_UEFI/libeg/lodepng.cpp
/* This one is to use for adding huffman symbol, the value bits are written MSB first */
This one is to use for adding huffman symbol, the value bits are written MSB first
This one is to use for adding huffman symbol the value bits are written MSB first
static void writeBitsReversed(LodePNGBitWriter* writer, unsigned value, size_t nbits) {
  size_t i;
  for(i = 0; i != nbits; ++i) {
    WRITEBIT(writer, (unsigned char)((value >> (nbits - 1u - i)) & 1u));
  }
}
static void writeBitsReversed ( LodePNGBitWriter * writer , unsigned value , size_t nbits ) { size_t i ; for ( i = 0 ; i != nbits ; ++ i ) { WRITEBIT ( writer , ( unsigned char ) ( ( value >> ( nbits - 1u - i ) ) & 1u ) ) ; } }
This one is to use for adding huffman symbol, the value bits are written MSB first
This one is to use for adding huffman symbol the value bits are written MSB first
/* TODO: increase output size only once here rather than in each WRITEBIT */