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

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

Completed in 66 milliseconds