Lines Matching defs:bits
125 uint16_t *bits;
129 bits = symbols + (1 << VLC_BITS);
130 len = (uint8_t *)(bits + (1 << VLC_BITS));
151 bits[i] = (s->bits[p0][y] << len1) + s->bits[p][u];
158 bits, 2, 2, symbols, 2, 2, 0)) < 0)
167 * to cover all the combinations that fit in 11 bits total, and it
179 code = (s->bits[p0][g & 255] << len1) + s->bits[p1][b & 255];
186 bits[i] = (code << len2) + s->bits[2][r & 255];
202 bits, 2, 2, 0)) < 0)
226 if ((ret = ff_huffyuv_generate_bits_table(s->bits[i], s->len[i], s->vlc_n)) < 0)
230 s->bits[i], 4, 4, 0)) < 0)
256 s->bits[0][i] = classic_add_luma[i];
258 s->bits[1][i] = classic_add_chroma[i];
261 memcpy(s->bits[1], s->bits[0], 256 * sizeof(uint32_t));
264 memcpy(s->bits[2], s->bits[1], 256 * sizeof(uint32_t));
270 s->bits[i], 4, 4, 0)) < 0)
568 #define VLC_INTERN(dst, table, gb, name, bits, max_depth) \
572 LAST_SKIP_BITS(name, gb, bits); \
594 bits, max_depth, OP) \
596 unsigned int index = SHOW_UBITS(name, gb, bits); \
601 VLC_INTERN(dst0, table1, gb, name, bits, max_depth); \
604 index = SHOW_UBITS(name, gb, bits); \
605 VLC_INTERN(dst1, table2, gb, name, bits, max_depth); \