From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:JPEG" |
|---|
| claim | "JPEG marker codes (the byte after FF): SOF0-SOF3 C0-C3, DHT C4, SOF5-7 C5-C7, JPG C8, SOF9-11 C9-CB, DAC CC, SOF13-15 CD-CF, RST0-7 D0-D7, SOI D8, EOI D9, SOS DA, DQT DB, DNL DC, DRI DD, DHP DE, EXP DF, APP0-15 E0-EF, JPG0-13 F0-FD, COM FE, TEM 01. SOI, EOI, RSTn and TEM have no length field; all others are followed by a big-endian u16 length that includes itself." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:JPEG" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "JPEG_MARKER" |
|---|
| underlying_type | "uint8" |
|---|
| values | |
|---|
| complete | false |
|---|
| notes | "Not listed individually: M_RST1-M_RST6 (0xD1-0xD6), M_APP3-M_APP12 (0xE3-0xEC); jcmarker.c itself lists only M_JPG0 (0xF0) and M_JPG13 (0xFD) from the JPGn range (JPG1-JPG12 = 0xF1-0xFC are defined in T.81). M_ERROR 0x100 is a libjpeg-internal value, not a marker byte." |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "typedef enum { M_SOF0 = 0xc0, ... M_TEM = 0x01, M_ERROR = 0x100 } JPEG_MARKER" |
|---|
| repo | "https://github.com/libjpeg-turbo/libjpeg-turbo" |
|---|
| commit | "2fa570c514a4b0e70342ef8b32ce1cda21b85710" |
|---|
| path | "src/jcmarker.c" |
|---|
| lines | "23-88" |
|---|
|
| type | "documentation" |
|---|
| detail | "ITU-T T.81 Table B.1 (marker code assignments)" |
|---|
|
| type | "source" |
|---|
| detail | "Read the JPEG_MARKER enum at the cited commit; every listed name and value matches; RST1-6 and APP3-12 exist there but are absent from data" |
|---|
| repo | "libjpeg-turbo/libjpeg-turbo" |
|---|
| commit | "2fa570c514a4b0e70342ef8b32ce1cda21b85710" |
|---|
| path | "src/jcmarker.c" |
|---|
| lines | "23-88" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Marker codes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T14:07:20.777Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T07:22:39.214Z" |
|---|
| summary | "Data list is cut short: RST1-6, APP3-12 and JPG1-12 are not listed; mark incomplete and name the missing ones" |
|---|
| changed | |
|---|
|
|
|---|