HomeSort by relevance Sort by last modified time
    Searched refs:blcount (Results 1 - 2 of 2) sorted by null

  /external/zopfli/src/zopflipng/lodepng/
lodepng_util.cpp 313 std::vector<unsigned long> tree1d(numcodes), blcount(maxbitlen + 1, 0), nextcode(maxbitlen + 1, 0);
315 for(unsigned long bits = 0; bits < numcodes; bits++) blcount[bitlen[bits]]++;
318 nextcode[bits] = (nextcode[bits - 1] + blcount[bits - 1]) << 1;
lodepng.cpp 589 uivector blcount; local
593 uivector_init(&blcount);
599 if(!uivector_resizev(&blcount, tree->maxbitlen + 1, 0)
606 for(bits = 0; bits < tree->numcodes; bits++) blcount.data[tree->lengths[bits]]++;
610 nextcode.data[bits] = (nextcode.data[bits - 1] + blcount.data[bits - 1]) << 1;
619 uivector_cleanup(&blcount);
    [all...]

Completed in 48 milliseconds