HomeSort by relevance Sort by last modified time
    Searched refs:ML_BITS (Results 1 - 3 of 3) sorted by null

  /external/lz4/lib/
lz4.c 277 #define ML_BITS 4
278 #define ML_MASK ((1U<<ML_BITS)-1)
279 #define RUN_BITS (8-ML_BITS)
559 *token = (RUN_MASK<<ML_BITS);
563 else *token = (BYTE)(litLength<<ML_BITS);
644 *op++ = RUN_MASK << ML_BITS;
648 *op++ = (BYTE)(lastRun<<ML_BITS);
796 *token=(RUN_MASK<<ML_BITS);
800 else *token = (BYTE)(litLength<<ML_BITS);
861 *op++ = RUN_MASK << ML_BITS;
    [all...]
lz4opt.h 355 if (lastRun>=(int)RUN_MASK) { *op++=(RUN_MASK<<ML_BITS); lastRun-=RUN_MASK; for(; lastRun > 254 ; lastRun-=255) *op++ = 255; *op++ = (BYTE) lastRun; }
356 else *op++ = (BYTE)(lastRun<<ML_BITS);
lz4hc.c 278 if (length>=(int)RUN_MASK) { int len; *token=(RUN_MASK<<ML_BITS); len = length-RUN_MASK; for(; len > 254 ; len-=255) *(*op)++ = 255; *(*op)++ = (BYTE)len; }
279 else *token = (BYTE)(length<<ML_BITS);
479 if (lastRun>=(int)RUN_MASK) { *op++=(RUN_MASK<<ML_BITS); lastRun-=RUN_MASK; for(; lastRun > 254 ; lastRun-=255) *op++ = 255; *op++ = (BYTE) lastRun; }
480 else *op++ = (BYTE)(lastRun<<ML_BITS);

Completed in 72 milliseconds