Lines Matching refs:marker
344 if (jd->marker) { in huffext()
355 if (d != 0) jd->marker = d; /* Not an escape of 0xFF but a marker */ in huffext()
472 if (jd->marker) { in bitext()
483 if (d != 0) jd->marker = d; /* Not an escape of 0xFF but a marker */ in bitext()
540 uint16_t marker; in restart() local
543 if (jd->marker) { /* Generate a maker if it has been detected */ in restart()
544 marker = 0xFF00 | jd->marker; in restart()
545 jd->marker = 0; in restart()
547 marker = 0; in restart()
554 marker = (marker << 8) | *dp++; /* Get a byte */ in restart()
561 if ((marker & 0xFFD8) != 0xFFD0 || (marker & 7) != (rstn & 7)) { in restart()
971 uint16_t marker; in jd_prepare() local
986 ofs = marker = 0; /* Find SOI marker */ in jd_prepare()
990 marker = marker << 8 | seg[0]; in jd_prepare()
991 } while (marker != 0xFFD8); in jd_prepare()
996 marker = LDB_WORD(seg); /* Marker */ in jd_prepare()
998 if (len <= 2 || (marker >> 8) != 0xFF) return JDR_FMT1; in jd_prepare()
1002 switch (marker & 0xFF) { in jd_prepare()