Searched defs:maxbits (Results 1 - 6 of 6) sorted by relevance

/external/zopfli/src/zopfli/
H A Dtree.c30 void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits, argument
32 size_t* bl_count = (size_t*)malloc(sizeof(size_t) * (maxbits + 1));
33 size_t* next_code = (size_t*)malloc(sizeof(size_t) * (maxbits + 1));
43 for (bits = 0; bits <= maxbits; bits++) {
47 assert(lengths[i] <= maxbits);
53 for (bits = 1; bits <= maxbits; bits++) {
96 void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits, argument
98 int error = ZopfliLengthLimitedCodeLengths(count, n, maxbits, bitlengths);
H A Dkatajainen.c64 maxbits: Size of lists.
67 static Node* GetFreeNode(Node* (*lists)[2], int maxbits, NodePool* pool) { argument
76 for (i = 0; i < maxbits * 2; i++) {
97 maxbits: Number of lists.
105 static void BoundaryPM(Node* (*lists)[2], int maxbits, argument
113 newchain = GetFreeNode(lists, maxbits, pool);
134 BoundaryPM(lists, maxbits, leaves, numsymbols, pool, index - 1, 0);
135 BoundaryPM(lists, maxbits, leaves, numsymbols, pool, index - 1, 0);
146 NodePool* pool, const Node* leaves, int maxbits, Node* (*lists)[2]) {
148 Node* node0 = GetFreeNode(0, maxbits, poo
145 InitLists( NodePool* pool, const Node* leaves, int maxbits, Node* (*lists)[2]) argument
180 ZopfliLengthLimitedCodeLengths( const size_t* frequencies, int n, int maxbits, unsigned* bitlengths) argument
[all...]
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
H A DLZWEncoder.java48 int maxbits = BITS; // user settable max # bits/code field in class:LZWEncoder
182 fcode = (c << maxbits) + ent;
279 if (n_bits == maxbits)
/external/libpng/
H A Dpngwutil.c1344 png_byte maxbits; local
1346 maxbits = (png_byte)(color_type==PNG_COLOR_TYPE_PALETTE ? 8 :
1349 if (sbit->red == 0 || sbit->red > maxbits ||
1350 sbit->green == 0 || sbit->green > maxbits ||
1351 sbit->blue == 0 || sbit->blue > maxbits)
/external/openssh/
H A Dssh-keygen.c186 u_int maxbits; local
209 maxbits = (type == KEY_DSA) ?
211 if (*bitsp > maxbits) {
212 fprintf(stderr, "key bits exceeds maximum %d\n", maxbits);
/external/pdfium/samples/fx_lpng/lpng_v163/
H A Dfx_pngwutil.c1343 png_byte maxbits; local
1345 maxbits = (png_byte)(color_type==PNG_COLOR_TYPE_PALETTE ? 8 :
1348 if (sbit->red == 0 || sbit->red > maxbits ||
1349 sbit->green == 0 || sbit->green > maxbits ||
1350 sbit->blue == 0 || sbit->blue > maxbits)

Completed in 901 milliseconds