Home
last modified time | relevance | path

Searched refs:bytesinpkt (Results 1 – 1 of 1) sorted by relevance

/external/libjpeg-turbo/
Dwrgif.c66 int bytesinpkt; /* # of bytes in current packet */ member
86 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet()
87 dinfo->packetbuf[0] = (char) dinfo->bytesinpkt++; in flush_packet()
88 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) in flush_packet()
89 != (size_t) dinfo->bytesinpkt) in flush_packet()
91 dinfo->bytesinpkt = 0; in flush_packet()
98 { (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char) (c); \
99 if ((dinfo)->bytesinpkt >= 255) \
155 dinfo->bytesinpkt = 0; in compress_init()