Lines Matching refs:Byte
8 void Delta_Init(Byte *state)
16 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size)
18 Byte temp[DELTA_STATE_SIZE];
35 Byte b = *data;
36 *data++ = (Byte)(b - temp[i]);
55 Byte *p = data + size - delta;
63 const Byte *lim = data + delta;
68 --p; *p = (Byte)(*p - p[dif]);
73 --p; *p = (Byte)(*p - p[dif]);
74 --p; *p = (Byte)(*p - p[dif]);
81 --p; *p = (Byte)(*p - temp[--dif]);
89 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size)
92 const Byte *lim;
103 *data = (Byte)(*data + state[i++]);
114 #define I(n) Byte B(n) = state[n];
115 #define U(n) { B(n) = (Byte)((B(n)) + *data++); data[-1] = (B(n)); }
151 *data = (Byte)(*data + state[i++]);
159 *data = (Byte)(*data + data[dif]);