Home
last modified time | relevance | path

Searched refs:cumul (Results 1 – 2 of 2) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/write/
DCAVLCWriter.java48 int cumul = 0; in writeUE() local
50 if (value < cumul + (1 << i)) { in writeUE()
54 cumul += (1 << i); in writeUE()
58 writeNBit(value - cumul, bits); in writeUE()
/external/zstd/lib/compress/
Dfse_compress.c79 U32* cumul = (U32*)workSpace; in FSE_buildCTable_wksp() local
80 FSE_FUNCTION_TYPE* tableSymbol = (FSE_FUNCTION_TYPE*)(cumul + (maxSymbolValue + 2)); in FSE_buildCTable_wksp()
100 cumul[0] = 0; in FSE_buildCTable_wksp()
103 cumul[u] = cumul[u-1] + 1; in FSE_buildCTable_wksp()
106 cumul[u] = cumul[u-1] + normalizedCounter[u-1]; in FSE_buildCTable_wksp()
108 cumul[maxSymbolValue+1] = tableSize+1; in FSE_buildCTable_wksp()
130 …tableU16[cumul[s]++] = (U16) (tableSize+u); /* TableU16 : sorted by symbol order; gives next sta… in FSE_buildCTable_wksp()