Searched refs:bl_count (Results 1 – 9 of 9) sorted by relevance
/external/zopfli/src/zopfli/ |
D | tree.c | 32 size_t* bl_count = (size_t*)malloc(sizeof(size_t) * (maxbits + 1)); in ZopfliLengthsToSymbols() local 44 bl_count[bits] = 0; in ZopfliLengthsToSymbols() 48 bl_count[lengths[i]]++; in ZopfliLengthsToSymbols() 52 bl_count[0] = 0; in ZopfliLengthsToSymbols() 54 code = (code + bl_count[bits-1]) << 1; in ZopfliLengthsToSymbols() 67 free(bl_count); in ZopfliLengthsToSymbols()
|
/external/python/cpython2/Modules/zlib/ |
D | trees.c | 142 local void gen_codes OF((ct_data *tree, int max_code, ushf *bl_count)); 241 ush bl_count[MAX_BITS+1]; in tr_static_init() local 289 for (bits = 0; bits <= MAX_BITS; bits++) bl_count[bits] = 0; in tr_static_init() 291 while (n <= 143) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init() 292 while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; in tr_static_init() 293 while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; in tr_static_init() 294 while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init() 299 gen_codes((ct_data *)static_ltree, L_CODES+1, bl_count); in tr_static_init() 503 for (bits = 0; bits <= MAX_BITS; bits++) s->bl_count[bits] = 0; 519 s->bl_count[bits]++; [all …]
|
D | deflate.h | 206 ush bl_count[MAX_BITS+1]; member
|
/external/zlib/src/ |
D | trees.c | 142 local void gen_codes OF((ct_data *tree, int max_code, ushf *bl_count)); 241 ush bl_count[MAX_BITS+1]; in tr_static_init() local 289 for (bits = 0; bits <= MAX_BITS; bits++) bl_count[bits] = 0; in tr_static_init() 291 while (n <= 143) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init() 292 while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; in tr_static_init() 293 while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; in tr_static_init() 294 while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init() 299 gen_codes((ct_data *)static_ltree, L_CODES+1, bl_count); in tr_static_init() 503 for (bits = 0; bits <= MAX_BITS; bits++) s->bl_count[bits] = 0; 519 s->bl_count[bits]++; [all …]
|
D | deflate.h | 206 ush bl_count[MAX_BITS+1]; member
|
/external/u-boot/lib/zlib/ |
D | trees.c | 147 local void gen_codes OF((ct_data *tree, int max_code, ushf *bl_count)); 248 ush bl_count[MAX_BITS+1]; in tr_static_init() local 296 for (bits = 0; bits <= MAX_BITS; bits++) bl_count[bits] = 0; in tr_static_init() 298 while (n <= 143) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init() 299 while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; in tr_static_init() 300 while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; in tr_static_init() 301 while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init() 306 gen_codes((ct_data *)static_ltree, L_CODES+1, bl_count); in tr_static_init() 511 for (bits = 0; bits <= MAX_BITS; bits++) s->bl_count[bits] = 0; 527 s->bl_count[bits]++; [all …]
|
D | deflate.h | 200 ush bl_count[MAX_BITS+1]; member
|
/external/brotli/c/enc/ |
D | entropy_encode.c | 479 uint16_t bl_count[MAX_HUFFMAN_BITS] = { 0 }; in BrotliConvertBitDepthsToSymbols() local 484 ++bl_count[depth[i]]; in BrotliConvertBitDepthsToSymbols() 486 bl_count[0] = 0; in BrotliConvertBitDepthsToSymbols() 489 code = (code + bl_count[i - 1]) << 1; in BrotliConvertBitDepthsToSymbols()
|
/external/zlib/src/doc/ |
D | rfc1951.txt | 423 bl_count[N] be the number of codes of length N, N >= 1. 429 bl_count[0] = 0; 431 code = (code + bl_count[bits-1]) << 1; 462 N bl_count[N]
|