Home | History | Annotate | Download | only in gif

Lines Matching defs:gs

110   GIFFrameReader* gs = frame_reader;
114 drow_start = drow_end = gs->irow;
122 if (gs->progressive_display && gs->interlaced && gs->ipass < 4) {
125 switch (gs->ipass) {
146 if (((gs->height - 1) - drow_end) <= row_shift)
147 drow_end = gs->height - 1;
152 if ((unsigned)drow_end >= gs->height)
153 drow_end = gs->height - 1;
157 if ((unsigned)drow_start >= gs->height)
164 gs->progressive_display && gs->interlaced && gs->ipass > 1))
167 gs->rowp = gs->rowbuf;
169 if (!gs->interlaced)
170 gs->irow++;
173 switch (gs->ipass)
176 gs->irow += 8;
177 if (gs->irow >= gs->height) {
178 gs->ipass++;
179 gs->irow = 4;
184 gs->irow += 8;
185 if (gs->irow >= gs->height) {
186 gs->ipass++;
187 gs->irow = 2;
192 gs->irow += 4;
193 if (gs->irow >= gs->height) {
194 gs->ipass++;
195 gs->irow = 1;
200 gs->irow += 2;
201 if (gs->irow >= gs->height){
202 gs->ipass++;
203 gs->irow = 0;
210 } while (gs->irow > (gs->height - 1));
220 GIFFrameReader* gs = frame_reader;
221 if (!gs)
232 int avail = gs->avail;
233 int bits = gs->bits;
235 int codesize = gs->codesize;
236 int codemask = gs->codemask;
237 int oldcode = gs->oldcode;
238 int clear_code = gs->clear_code;
239 unsigned char firstchar = gs->firstchar;
240 int datum = gs->datum;
242 if (!gs->prefix) {
243 gs->prefix = new unsigned short[MAX_BITS];
244 memset(gs->prefix, 0, MAX_BITS * sizeof(short));
247 unsigned short *prefix = gs->prefix;
248 unsigned char *stackp = gs->stackp;
249 unsigned char *suffix = gs->suffix;
250 unsigned char *stack = gs->stack;
251 unsigned char *rowp = gs->rowp;
252 unsigned char *rowend = gs->rowend;
253 unsigned rows_remaining = gs->rows_remaining;
284 codesize = gs->datasize + 1;
365 gs->avail = avail;
366 gs->bits = bits;
367 gs->codesize = codesize;
368 gs->codemask = codemask;
370 gs->oldcode = oldcode;
371 gs->firstchar = firstchar;
372 gs->datum = datum;
373 gs->stackp = stackp;
374 gs->rowp = rowp;
375 gs->rows_remaining = rows_remaining;
906 // Copy the leftover into gs->hold