Lines Matching defs:out_buf
40 * @param out_buf Points to one line after the output buffer.
45 static int expand_rle_row(SgiState *s, uint8_t *out_buf,
49 unsigned char *orig = out_buf;
56 return (out_buf - orig) / pixelstride;
60 if(out_buf + pixelstride * count >= out_end) return -1;
64 *out_buf = bytestream2_get_byte(&s->g);
65 out_buf += pixelstride;
71 *out_buf = pixel;
72 out_buf += pixelstride;
80 * @param out_buf output buffer
84 static int read_rle_sgi(uint8_t *out_buf, SgiState *s)
98 dest_row = out_buf;
114 * @param out_buf output buffer
119 static int read_uncompressed_sgi(unsigned char* out_buf, uint8_t* out_end,
137 out_end = out_buf + (y * s->linesize);
161 uint8_t *out_buf, *out_end;
219 out_buf = p->data[0];
221 out_end = out_buf + p->linesize[0] * s->height;
230 ret = read_uncompressed_sgi(out_buf, out_end, s);