Home
last modified time | relevance | path

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

/external/jpeg/
Dwrgif.c64 int bytesinpkt; /* # of bytes in current packet */ member
84 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet()
85 dinfo->packetbuf[0] = (char) dinfo->bytesinpkt++; in flush_packet()
86 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) in flush_packet()
87 != (size_t) dinfo->bytesinpkt) in flush_packet()
89 dinfo->bytesinpkt = 0; in flush_packet()
96 { (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char) (c); \
97 if ((dinfo)->bytesinpkt >= 255) \
153 dinfo->bytesinpkt = 0; in compress_init()
/external/qemu/distrib/jpeg-6b/
Dwrgif.c64 int bytesinpkt; /* # of bytes in current packet */ member
84 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet()
85 dinfo->packetbuf[0] = (char) dinfo->bytesinpkt++; in flush_packet()
86 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) in flush_packet()
87 != (size_t) dinfo->bytesinpkt) in flush_packet()
89 dinfo->bytesinpkt = 0; in flush_packet()
96 { (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char) (c); \
97 if ((dinfo)->bytesinpkt >= 255) \
153 dinfo->bytesinpkt = 0; in compress_init()