Cs1 is an index of a choice of components. This applies to the SOF section (where the horizontal and vertical sampling rates are indicated)
Td1 is the DC table selector for the current component (Cs1)
Ta1 - AC table selector for the current component (Cs1)
Ss, Se Ah, Al ( . , )
Al
,
SOS (2 bytes)
Ls (2 Bytes)
Ns (1 byte)
Component Specific Parameters (Ns * 2 bytes)
Ss (1 byte)
Se (1 byte)
Ah,AL (1 byte)
... scan data ...