Lines Matching defs:offset
209 int count, offset;
222 offset = displace & ((1 << shift) - 1);
233 if (offset <= 0)
234 offset = 1;
235 if (oi < offset || oi + count * 2 > dst_size)
238 dst[oi] = dst[oi - offset];
386 int offset = s->metadata_size, left;
404 if (sizeof(s->uncompressed) - offset < size)
407 memcpy(s->uncompressed + offset, gb->buffer, size);
416 ret = lzss_decompress(avctx, &gb2, s->uncompressed + offset,
417 sizeof(s->uncompressed) - offset, s->shift, s->plus);
424 offset += size;
428 if (sizeof(s->uncompressed) - offset < left)
431 bytestream2_get_buffer(gb, s->uncompressed + offset, left);
433 offset += left;
434 bytestream2_init(gb, s->uncompressed, offset);