Lines Matching defs:marker

980      * If we have reached the end of the stream, then the EOI marker
1074 * If we have reached the end of the stream, then the EOI marker
1106 * uninteresting data (such as an APPn marker). bytes_in_buffer will be
1172 * If we have reached the end of the stream, then the EOI marker
1241 * Since an ICC profile can be larger than the maximum size of a JPEG marker
1249 * Decoders should use the marker sequence numbers to reassemble the profile,
1253 #define ICC_MARKER (JPEG_APP0 + 2) /* JPEG marker code for ICC */
1255 #define MAX_BYTES_IN_MARKER 65533 /* maximum data len of a JPEG marker */
1260 * Handy subroutine to test whether a saved marker is an ICC profile marker.
1264 marker_is_icc (jpeg_saved_marker_ptr marker)
1267 marker->marker == ICC_MARKER &&
1268 marker->data_length >= ICC_OVERHEAD_LEN &&
1270 GETJOCTET(marker->data[0]) == 0x49 &&
1271 GETJOCTET(marker->data[1]) == 0x43 &&
1272 GETJOCTET(marker->data[2]) == 0x43 &&
1273 GETJOCTET(marker->data[3]) == 0x5F &&
1274 GETJOCTET(marker->data[4]) == 0x50 &&
1275 GETJOCTET(marker->data[5]) == 0x52 &&
1276 GETJOCTET(marker->data[6]) == 0x4F &&
1277 GETJOCTET(marker->data[7]) == 0x46 &&
1278 GETJOCTET(marker->data[8]) == 0x49 &&
1279 GETJOCTET(marker->data[9]) == 0x4C &&
1280 GETJOCTET(marker->data[10]) == 0x45 &&
1281 GETJOCTET(marker->data[11]) == 0x0;
1296 jpeg_saved_marker_ptr marker;
1303 #define MAX_SEQ_NO 255 // sufficient since marker numbers are bytes
1305 int first; // index of the first marker in the icc_markers array
1306 int last; // index of the last marker in the icc_markers array
1310 * any ICC markers and verifies the consistency of the marker numbering.
1317 for (marker = cinfo->marker_list; marker != NULL; marker = marker->next) {
1318 if (marker_is_icc(marker)) {
1320 num_markers = GETJOCTET(marker->data[13]);
1321 else if (num_markers != GETJOCTET(marker->data[13])) {
1326 seq_no = GETJOCTET(marker->data[12]);
1344 icc_markers[seq_no] = marker;
1611 #define JPEG_APP1 (JPEG_APP0 + 1) /* EXIF APP1 marker code */
1615 * so it's safe to only look at the first marker in the list.
1619 (((c)->marker_list != NULL) && ((c)->marker_list->marker == JPEG_APP1))