Lines Matching refs:tableTop
701 u16 tableTop = (u16)dataNum; // When creating table, the table top No. in HuffConstructTree() local
711 for ( i = 0; i < tableTop; i++ ) in HuffConstructTree()
730 for ( i = 0; i < tableTop; i++ ) in HuffConstructTree()
753 if ( tableTop == dataNum ) in HuffConstructTree()
755 table[ tableTop ].Freq = table[ leftNo ].Freq; in HuffConstructTree()
756 table[ tableTop ].ChNo[0] = (s16)leftNo; in HuffConstructTree()
757 table[ tableTop ].ChNo[1] = (s16)leftNo; in HuffConstructTree()
758 table[ tableTop ].LeafDepth = 1; in HuffConstructTree()
759 table[ leftNo ].PaNo = (s16)tableTop; in HuffConstructTree()
765 tableTop--; in HuffConstructTree()
767 rootNo = tableTop; in HuffConstructTree()
773 table[ tableTop ].Freq = table[ leftNo ].Freq + table[ rightNo ].Freq; in HuffConstructTree()
774 table[ tableTop ].ChNo[0] = (s16)leftNo; in HuffConstructTree()
775 table[ tableTop ].ChNo[1] = (s16)rightNo; in HuffConstructTree()
778 table[ tableTop ].LeafDepth = (u16)( table[ leftNo ].LeafDepth + 1 ); in HuffConstructTree()
782 table[ tableTop ].LeafDepth = (u16)( table[ rightNo ].LeafDepth + 1 ); in HuffConstructTree()
785 table[ leftNo ].PaNo = table[ rightNo ].PaNo = (s16)(tableTop); in HuffConstructTree()
791 tableTop++; in HuffConstructTree()