Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dhuf_compress.c431 int nodeNb = STARTNODE; in HUF_buildTree() local
436 lowS = nonNullRank; nodeRoot = nodeNb + lowS - 1; lowN = nodeNb; in HUF_buildTree()
437 huffNode[nodeNb].count = huffNode[lowS].count + huffNode[lowS-1].count; in HUF_buildTree()
438 huffNode[lowS].parent = huffNode[lowS-1].parent = (U16)nodeNb; in HUF_buildTree()
439 nodeNb++; lowS-=2; in HUF_buildTree()
440 for (n=nodeNb; n<=nodeRoot; n++) huffNode[n].count = (U32)(1U<<30); in HUF_buildTree()
444 while (nodeNb <= nodeRoot) { in HUF_buildTree()
447 huffNode[nodeNb].count = huffNode[n1].count + huffNode[n2].count; in HUF_buildTree()
448 huffNode[n1].parent = huffNode[n2].parent = (U16)nodeNb; in HUF_buildTree()
449 nodeNb++; in HUF_buildTree()