Lines Matching defs:lead
73 /* number of lead bytes */
89 /* number of lead bytes for positive and negative 2/3/4-byte sequences */
108 /* The lead byte start values. */
119 /* The length of a byte sequence, according to the lead byte (!=BOCU1_RESET). */
120 #define BOCU1_LENGTH_FROM_LEAD(lead) \
121 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \
122 (BOCU1_START_NEG_3<=(lead) && (lead)<BOCU1_START_POS_3) ? 2 : \
123 (BOCU1_START_NEG_4<=(lead) && (lead)<BOCU1_START_POS_4) ? 3 : 4)
286 int32_t result, m, lead, count, shift;
296 lead=BOCU1_START_POS_2;
301 lead=BOCU1_START_POS_3;
306 lead=BOCU1_START_POS_4;
314 lead=BOCU1_START_NEG_2;
319 lead=BOCU1_START_NEG_3;
324 lead=BOCU1_START_NEG_4;
332 } else /* count==3, MSB used for the lead byte */ {
344 /* add lead byte */
345 result|=(lead+diff)<<shift;
404 * Function for BOCU-1 decoder; handles multi-byte lead bytes.
407 * @param b lead byte;
546 /* byte in lead position */
559 * b is a difference lead byte.
563 * For multi-byte difference lead bytes, set the decoder state
564 * with the partial difference value from the lead byte and