Searched refs:maxbits (Results 1 - 8 of 8) sorted by relevance

/external/zopfli/src/zopfli/
H A Dkatajainen.h27 given counts. The bitlengths are limited by maxbits.
35 maxbits: Maximum bit length, inclusive.
40 const size_t* frequencies, int n, int maxbits, unsigned* bitlengths);
H A Dtree.h33 void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
39 void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits,
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.c1268 png_byte maxbits; local
1270 maxbits = (png_byte)(color_type==PNG_COLOR_TYPE_PALETTE ? 8 :
1273 if (sbit->red == 0 || sbit->red > maxbits ||
1274 sbit->green == 0 || sbit->green > maxbits ||
1275 sbit->blue == 0 || sbit->blue > maxbits)
/external/opencv3/3rdparty/libpng/
H A Dpngwutil.c1273 png_byte maxbits; local
1275 maxbits = (png_byte)(color_type==PNG_COLOR_TYPE_PALETTE ? 8 :
1278 if (sbit->red == 0 || sbit->red > maxbits ||
1279 sbit->green == 0 || sbit->green > maxbits ||
1280 sbit->blue == 0 || sbit->blue > maxbits)
/external/pdfium/third_party/lpng_v163/
H A Dpngwutil.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 193 milliseconds