Lines Matching defs:segment
288 * Following it, "segment" sections begin with other markers, followed by a
289 * 2-byte length (in network byte order), then the segment data.
292 * the next segment. This is necessary because the data inside segments are
299 * image data to be interpreted as a segment. The only exception to this is at
311 typedef struct segment {
366 // Read JFIF segment markers, skip over segment data
369 segment_t *segment = (segment_t*)(jpegBuffer + size);
370 uint8_t type = checkJpegMarker(segment->marker);
379 size_t length = ntohs(segment->length);