Lines Matching refs:s16
37 s16 *LZOffsetTable; // Offset buffer of the history window
38 s16 *LZByteTable; // Pointer to the most recent character history
39 s16 *LZEndTable; // Pointer to the oldest character history
206 s16 *const LZOffsetTable = info->LZOffsetTable; in SearchLZ()
290 info->LZOffsetTable = (s16*)work; in LZInitTable()
291 info->LZByteTable = (s16*)( (u32)work + 4096 * sizeof(s16) ); in LZInitTable()
292 info->LZEndTable = (s16*)( (u32)work + (4096 + 256) * sizeof(s16) ); in LZInitTable()
308 s16 offset; in SlideByte()
312 s16 *const LZByteTable = info->LZByteTable; in SlideByte()
313 s16 *const LZOffsetTable = info->LZOffsetTable; in SlideByte()
314 s16 *const LZEndTable = info->LZEndTable; in SlideByte()
335 LZByteTable[in_data] = (s16)insert_offset; in SlideByte()
339 LZOffsetTable[offset] = (s16)insert_offset; in SlideByte()
341 LZEndTable[in_data] = (s16)insert_offset; in SlideByte()
519 s16 PaNo; // Parent number
520 s16 ChNo[2]; // Child Number (0: left side, 1: right side)
808 table[ tableTop ].ChNo[0] = (s16)leftNo; in HuffConstructTree()
809 table[ tableTop ].ChNo[1] = (s16)leftNo; in HuffConstructTree()
811 table[ leftNo ].PaNo = (s16)tableTop; in HuffConstructTree()
826 table[ tableTop ].ChNo[0] = (s16)leftNo; in HuffConstructTree()
827 table[ tableTop ].ChNo[1] = (s16)rightNo; in HuffConstructTree()
837 table[ leftNo ].PaNo = table[ rightNo ].PaNo = (s16)(tableTop); in HuffConstructTree()
919 s16 i; in HuffMakeHuffTree()
920 …s16 costHWord, tmpCostHWord; // Make subtree code table for most-costly node when subtree co… in HuffMakeHuffTree()
921 s16 costOffsetNeed, tmpCostOffsetNeed; in HuffMakeHuffTree()
922 …s16 costMaxKey, costMaxRightFlag = 0; // Information for singling out the least costly node from … in HuffMakeHuffTree()
962 tmpCostHWord = (s16)info->huffTable[ info->huffTreeCtrl[i].leftNodeNo ].HWord; in HuffMakeHuffTree()
988 tmpCostHWord = (s16)info->huffTable[info->huffTreeCtrl[i].rightNodeNo].HWord; in HuffMakeHuffTree()
1089 s16 capacity; in HuffRemainingNodeCanSetOffset()
1091 capacity = (s16)( 64 - costHWord ); in HuffRemainingNodeCanSetOffset()