Home
last modified time | relevance | path

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

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