src/gpujpeg_huffman_cpu_encoder.c
static inline void
gpujpeg_huffman_cpu_encoder_emit_left_bits(struct gpujpeg_huffman_cpu_encoder* coder)
{
    // Fill 7 bits with ones
    if ( gpujpeg_huffman_cpu_encoder_emit_bits(coder, 0x7F, 7) != 0 )
        return;
    
    //unsigned char uc = (unsigned char) ((coder->put_value >> 16) & 0xFF);
    // Write one byte out
    //gpujpeg_writer_emit_byte(coder->writer, uc);
    
    coder->put_value = 0; 
    coder->put_bits = 0;
}
/**
 * Emit left bits
 * 
 * @param coder  Huffman coder structure
 * @return void
 */
Emit left bits

@param coder  Huffman coder structure
@return void
Emit left bits @param coder Huffman coder structure @return void
static inline void
gpujpeg_huffman_cpu_encoder_emit_left_bits(struct gpujpeg_huffman_cpu_encoder* coder)
{
    if ( gpujpeg_huffman_cpu_encoder_emit_bits(coder, 0x7F, 7) != 0 )
        return;
    coder->put_value = 0; 
    coder->put_bits = 0;
}
static inline void gpujpeg_huffman_cpu_encoder_emit_left_bits ( struct gpujpeg_huffman_cpu_encoder * coder ) { if ( gpujpeg_huffman_cpu_encoder_emit_bits ( coder , 0x7F , 7 ) != 0 ) return ; coder -> put_value = 0 ; coder -> put_bits = 0 ; }
Emit left bits
Emit left bits
// Fill 7 bits with ones //unsigned char uc = (unsigned char) ((coder->put_value >> 16) & 0xFF); // Write one byte out //gpujpeg_writer_emit_byte(coder->writer, uc);