Lines Matching refs:tableTop
753 u16 tableTop = (u16)dataNum; // When creating table, the table top number in HuffConstructTree() local
763 for ( i = 0; i < tableTop; i++ ) in HuffConstructTree()
782 for ( i = 0; i < tableTop; i++ ) in HuffConstructTree()
805 if ( tableTop == dataNum ) in HuffConstructTree()
807 table[ tableTop ].Freq = table[ leftNo ].Freq; in HuffConstructTree()
808 table[ tableTop ].ChNo[0] = (s16)leftNo; in HuffConstructTree()
809 table[ tableTop ].ChNo[1] = (s16)leftNo; in HuffConstructTree()
810 table[ tableTop ].LeafDepth = 1; in HuffConstructTree()
811 table[ leftNo ].PaNo = (s16)tableTop; in HuffConstructTree()
817 tableTop--; in HuffConstructTree()
819 rootNo = tableTop; in HuffConstructTree()
825 table[ tableTop ].Freq = table[ leftNo ].Freq + table[ rightNo ].Freq; in HuffConstructTree()
826 table[ tableTop ].ChNo[0] = (s16)leftNo; in HuffConstructTree()
827 table[ tableTop ].ChNo[1] = (s16)rightNo; in HuffConstructTree()
830 table[ tableTop ].LeafDepth = (u16)( table[ leftNo ].LeafDepth + 1 ); in HuffConstructTree()
834 table[ tableTop ].LeafDepth = (u16)( table[ rightNo ].LeafDepth + 1 ); in HuffConstructTree()
837 table[ leftNo ].PaNo = table[ rightNo ].PaNo = (s16)(tableTop); in HuffConstructTree()
843 tableTop++; in HuffConstructTree()