Lines Matching refs:tableTop
778 u16 tableTop = (u16)dataNum; // The table top number at time of table's creation in HuffConstructTree() local
788 for ( i = 0; i < tableTop; i++ ) in HuffConstructTree()
807 for ( i = 0; i < tableTop; i++ ) in HuffConstructTree()
830 if ( tableTop == dataNum ) in HuffConstructTree()
832 table[ tableTop ].Freq = table[ leftNo ].Freq; in HuffConstructTree()
833 table[ tableTop ].ChNo[0] = (s16)leftNo; in HuffConstructTree()
834 table[ tableTop ].ChNo[1] = (s16)leftNo; in HuffConstructTree()
835 table[ tableTop ].LeafDepth = 1; in HuffConstructTree()
836 table[ leftNo ].PaNo = (s16)tableTop; in HuffConstructTree()
842 tableTop--; in HuffConstructTree()
844 rootNo = tableTop; in HuffConstructTree()
850 table[ tableTop ].Freq = table[ leftNo ].Freq + table[ rightNo ].Freq; in HuffConstructTree()
851 table[ tableTop ].ChNo[0] = (s16)leftNo; in HuffConstructTree()
852 table[ tableTop ].ChNo[1] = (s16)rightNo; in HuffConstructTree()
855 table[ tableTop ].LeafDepth = (u16)( table[ leftNo ].LeafDepth + 1 ); in HuffConstructTree()
859 table[ tableTop ].LeafDepth = (u16)( table[ rightNo ].LeafDepth + 1 ); in HuffConstructTree()
862 table[ leftNo ].PaNo = table[ rightNo ].PaNo = (s16)(tableTop); in HuffConstructTree()
868 tableTop++; in HuffConstructTree()