Lines Matching defs:bytestream
22 #include "bytestream.h"
39 uint8_t *bytestream;
223 if(s->bytestream_end - s->bytestream > IOBUF_SIZE + 100)
224 png_write_chunk(&s->bytestream, MKTAG('I', 'D', 'A', 'T'), s->buf, IOBUF_SIZE);
250 s->bytestream= buf;
312 memcpy(s->bytestream, ff_pngsig, 8);
313 s->bytestream += 8;
323 png_write_chunk(&s->bytestream, MKTAG('I', 'H', 'D', 'R'), s->buf, 13);
344 png_write_chunk(&s->bytestream, MKTAG('P', 'L', 'T', 'E'), s->buf, 256 * 3);
346 png_write_chunk(&s->bytestream, MKTAG('t', 'R', 'N', 'S'), s->buf + 256 * 3, 256);
399 if (len > 0 && s->bytestream_end - s->bytestream > len + 100) {
400 png_write_chunk(&s->bytestream, MKTAG('I', 'D', 'A', 'T'), s->buf, len);
410 png_write_chunk(&s->bytestream, MKTAG('I', 'E', 'N', 'D'), NULL, 0);
412 ret = s->bytestream - s->bytestream_start;