Lines Matching defs:ptr
303 const uint8_t *ptr;
413 ptr = s->shrunk_buf + y_start*linesize + x_start;
415 ptr = buf + y_start*linesize + x_start;
422 memcpy(s->tmpl, ptr, width);
424 if (ref[x] == ptr[x])
427 ptr += linesize;
432 len += ff_lzw_encode(s->lzw, ptr, width);
433 ptr += linesize;
438 ptr = s->buf;
444 bytestream_put_buffer(bytestream, ptr, size);
445 ptr += size;