Lines Matching defs:code
39 * We want to encode small runlength values with minimum code length,
44 * For some cases, we produce more code bits than plaintext input.
56 * * various bit based with different code word length.
71 * this particular encoding is chosen so that the prefix code
77 * last level (+1 data bit, so it makes 64bit total). The only worse code when
78 * encoding bit polarity runlength is 1 plain bits => 2 code bits.
114 * The rest of the code table is calculated at compiletime from this. */
133 * BUG() for bad input, as that would mean a buggy code table. */
149 /* NOT REACHED, if VLI_LEVELS code table is defined properly */
154 /* return number of code bits needed,
182 /* code from here down is independend of actually used bit code */
326 * -EOVERFLOW input too large for this vli code (invalid)
330 u64 code;
331 int bits = __vli_encode_bits(&code, in);
336 return bitstream_put_bits(bs, code, bits);