Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching full:restart

116  * the current restart point; we update them only when we have reached a
117 * suitable place to restart if a suspension occurs.
126 /* Unload the local copies --- do this only at a restart boundary */
171 * in cinfo->unread_marker; input restart point is just after the marker.
174 * updated the restart point to point after the parameters.
176 * marker parameters; restart point has not been moved. Same routine
186 * suspend, the marker processor updates the restart point to the end of
372 /* Prepare to scan data & restart markers */
805 INPUT_SYNC(cinfo); /* move the restart point to here */
1117 * Read a restart marker, which is expected to appear next in the datastream;
1144 /* Uh-oh, the restart markers have been messed up. */
1151 /* Update next-restart state */
1166 * the restart marker it was expecting. (This code is *not* used unless
1167 * a nonzero restart interval has been declared.) cinfo->unread_marker is
1169 * The desired restart marker number (0..7) is passed as a parameter.
1192 * appropriate if the found marker is a future restart marker (indicating
1193 * that we have missed the desired restart marker, probably because it got
1195 * We apply #2 or #3 if the found marker is a restart marker no more than
1198 * If the found marker is a restart marker more than 2 counts away, we do #1
1201 * For any valid non-restart JPEG marker, we apply #3. This keeps us from
1221 action = 3; /* valid non-restart marker */
1228 action = 2; /* a prior restart, so advance */
1230 action = 1; /* desired restart or too far away */