Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dhuf_compress.c612 int nodeNb = STARTNODE; in HUF_buildTree() local
617 lowS = nonNullRank; nodeRoot = nodeNb + lowS - 1; lowN = nodeNb; in HUF_buildTree()
618 huffNode[nodeNb].count = huffNode[lowS].count + huffNode[lowS-1].count; in HUF_buildTree()
619 huffNode[lowS].parent = huffNode[lowS-1].parent = (U16)nodeNb; in HUF_buildTree()
620 nodeNb++; lowS-=2; in HUF_buildTree()
621 for (n=nodeNb; n<=nodeRoot; n++) huffNode[n].count = (U32)(1U<<30); in HUF_buildTree()
625 while (nodeNb <= nodeRoot) { in HUF_buildTree()
628 huffNode[nodeNb].count = huffNode[n1].count + huffNode[n2].count; in HUF_buildTree()
629 huffNode[n1].parent = huffNode[n2].parent = (U16)nodeNb; in HUF_buildTree()
630 nodeNb++; in HUF_buildTree()