Lines Matching defs:stride
51 * @param[in] stride of this buffer
53 static void decode_rowskip(uint8_t* plane, int width, int height, int stride,
64 plane += stride;
72 * @param[in] stride of this buffer
75 static void decode_colskip(uint8_t* plane, int width, int height, int stride,
83 plane[y*stride] = 0;
86 plane[y*stride] = get_bits1(gb);
104 int width, height, stride;
108 stride = v->s.mb_stride;
125 planep += stride - width;
137 planep += stride - width;
143 planep += stride - width;
159 planep[x + 0 + stride] = (code >> 2) & 1;
160 planep[x + 1 + stride] = (code >> 3) & 1;
161 planep[x + 0 + stride * 2] = (code >> 4) & 1;
162 planep[x + 1 + stride * 2] = (code >> 5) & 1;
164 planep += stride * 3;
167 decode_colskip(data, 1, height, stride, &v->s.gb);
169 planep += (height & 1) * stride;
180 planep[x + 0 + stride] = (code >> 3) & 1;
181 planep[x + 1 + stride] = (code >> 4) & 1;
182 planep[x + 2 + stride] = (code >> 5) & 1;
184 planep += stride * 2;
188 decode_colskip(data, x, height, stride, &v->s.gb);
190 decode_rowskip(data + x, width - x, 1, stride, &v->s.gb);
194 decode_rowskip(data, width, height, stride, &v->s.gb);
197 decode_colskip(data, width, height, stride, &v->s.gb);
210 planep += stride;
211 planep[0] ^= planep[-stride];
213 if (planep[x-1] != planep[x-stride]) planep[x] ^= invert;
219 for (x = 0; x < stride * height; x++)
220 planep[x] = !planep[x]; //FIXME stride