/external/zopfli/src/zopfli/ |
lz77.h | 36 Parameter litlens: Contains the literal symbols or length values. 38 no dist and the corresponding litlens value is a literal instead of a length. 39 Parameter size: The size of both the litlens and dists arrays. 45 unsigned short* litlens; /* Lit or len. */ member in struct:ZopfliLZ77Store 46 unsigned short* dists; /* If 0: indicates literal in corresponding litlens, 47 if > 0: length in corresponding litlens, this is the distance. */ 105 litlens: lz77 lit/lengths 107 start: where to begin counting in litlens and dists 108 end: where to stop counting in litlens and dists (not inclusive) 113 void ZopfliLZ77Counts(const unsigned short* litlens, [all...] |
blocksplitter.c | 101 litlens: lz77 lit/lengths 106 static double EstimateCost(const unsigned short* litlens, 109 return ZopfliCalculateBlockSize(litlens, dists, lstart, lend, 2); 113 const unsigned short* litlens; member in struct:SplitCostContext 128 return EstimateCost(c->litlens, c->dists, c->start, i) + 129 EstimateCost(c->litlens, c->dists, i, c->end); 150 static void PrintBlockSplitPoints(const unsigned short* litlens, 162 size_t length = dists[i] == 0 ? 1 : litlens[i]; 219 const unsigned short* litlens, 245 c.litlens = litlens [all...] |
deflate.h | 73 litlens: lz77 lit/lengths 78 double ZopfliCalculateBlockSize(const unsigned short* litlens,
|
blocksplitter.h | 39 litlens: lz77 lit/lengths 41 llsize: size of litlens and dists 45 const unsigned short* litlens,
|
squeeze.c | 33 size_t litlens[288]; member in struct:SymbolStats 43 memset(stats->litlens, 0, 288 * sizeof(stats->litlens[0])); 51 memcpy(dest->litlens, source->litlens, 288 * sizeof(dest->litlens[0])); 65 result->litlens[i] = 66 (size_t) (stats1->litlens[i] * w1 + stats2->litlens[i] * w2); 72 result->litlens[256] = 1; /* End symbol. * [all...] |
lz77.c | 29 store->litlens = 0; 34 free(store->litlens); 42 dest->litlens = 43 (unsigned short*)malloc(sizeof(*dest->litlens) * source->size); 46 if (!dest->litlens || !dest->dists) exit(-1); /* Allocation failed. */ 50 dest->litlens[i] = source->litlens[i]; 62 ZOPFLI_APPEND_DATA(length, &store->litlens, &store->size); 459 void ZopfliLZ77Counts(const unsigned short* litlens, 474 ll_count[litlens[i]]++ [all...] |
deflate.c | 297 static void AddLZ77Data(const unsigned short* litlens, 310 unsigned litlen = litlens[i]; 350 const unsigned short* litlens, 357 result += ll_lengths[litlens[i]]; 359 result += ll_lengths[ZopfliGetLengthSymbol(litlens[i])]; 361 result += ZopfliGetLengthExtraBits(litlens[i]); 473 static void GetDynamicLengths(const unsigned short* litlens, 480 ZopfliLZ77Counts(litlens, dists, lstart, lend, ll_counts, d_counts); 488 double ZopfliCalculateBlockSize(const unsigned short* litlens, 501 GetDynamicLengths(litlens, dists, lstart, lend, ll_lengths, d_lengths) [all...] |