Lines Matching refs:val
510 u16 val; in CXUncompressLH() local
519 val = *(nodep + offset); in CXUncompressLH()
529 if ( val < 0x100 ) in CXUncompressLH()
532 dstp[dstCnt++] = (u8)val; in CXUncompressLH()
537 u16 length = (u16)( (val & 0xFF) + 3 ); in CXUncompressLH()
547 val = *(nodep + offset); in CXUncompressLH()
558 offset_bit = val; in CXUncompressLH()
559 val = 0; in CXUncompressLH()
562 val = 1; in CXUncompressLH()
565 val <<= 1; in CXUncompressLH()
566 val |= BitReader_Read( &stream ); in CXUncompressLH()
570 val += 1; in CXUncompressLH()
579 dstp[dstCnt] = dstp[dstCnt - val]; in CXUncompressLH()
674 RCAddCount_( RCCompressionInfo* info, u16 val ) in RCAddCount_() argument
679 info->freq[ val ]++; in RCAddCount_()
681 for ( i = (u32)(val + 1); i < tableSize; i++ ) in RCAddCount_()
773 u16 val = RCSearch_( info, state->code, state->range, state->low ); in RCGetData_() local
779 state->low += info->low_cnt[ val ] * tmp; in RCGetData_()
780 state->range = info->freq[ val ] * tmp; in RCGetData_()
784 RCAddCount_( info, val ); in RCGetData_()
795 return val; in RCGetData_()
847 u16 val = (u16)( RCGetData_( pSrc, &infoVal, &rcState, &cnt ) ); in CXUncompressLRC() local
850 if ( val < 0x100 ) in CXUncompressLRC()
853 dstp[ dstCnt++ ] = (u8)val; in CXUncompressLRC()
858 u16 length = (u16)( (val & 0xFF) + 3 ); in CXUncompressLRC()
859 val = (u16)( RCGetData_( pSrc, &infoOfs, &rcState, &cnt ) + 1 ); in CXUncompressLRC()
867 if ( dstCnt < val ) in CXUncompressLRC()
874 dstp[ dstCnt ] = dstp[ dstCnt - val ]; in CXUncompressLRC()