Home | History | Annotate | Download | only in libjpeg

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
396 /* Prepare to scan data & restart markers */
920 INPUT_SYNC(cinfo); /* move the restart point to here */
1246 * Read a restart marker, which is expected to appear next in the datastream;
1273 /* Uh-oh, the restart markers have been messed up. */
1280 /* Update next-restart state */
1295 * the restart marker it was expecting. (This code is *not* used unless
1296 * a nonzero restart interval has been declared.) cinfo->unread_marker is
1298 * The desired restart marker number (0..7) is passed as a parameter.
1321 * appropriate if the found marker is a future restart marker (indicating
1322 * that we have missed the desired restart marker, probably because it got
1324 * We apply #2 or #3 if the found marker is a restart marker no more than
1327 * If the found marker is a restart marker more than 2 counts away, we do #1
1330 * For any valid non-restart JPEG marker, we apply #3. This keeps us from
1350 action = 3; /* valid non-restart marker */
1357 action = 2; /* a prior restart, so advance */
1359 action = 1; /* desired restart or too far away */