ISO/IEC 10918-1 : 1993(E)
The Interpret markers procedure shall decode the markers which may precede the SOF marker, continuing this decoding
until either a SOF or EOI marker is found. If the DHP marker is encountered before the first frame, a flag is set which
selects the hierarchical decoder at the "hierarchical?" decision point. In addition to the DHP marker (which shall precede
any SOF) and the EXP marker (which shall precede any differential SOF requiring resolution changes in the reference
components), any other markers which may precede a SOF shall be interpreted to the extent required for decoding of the
compressed image data.
If a differential SOF marker is found, the differential frame path is followed. If the EXP was encountered in the Interpret
markers procedure, the reference components for the frame shall be upsampled as required by the parameters in the EXP
segment. The upsampling procedure described in J.1.1.2 shall be followed.
The Decode_differential_frame procedure generates a set of differential components. These differential components shall
be added, modulo 2
, to the upsampled reference components in the Reconstruct_components procedure. This creates a
new set of reference components which shall be used when required in subsequent frames of the hierarchical process.
Control procedure for decoding a differential frame
The control procedures in Annex E for frames, scans, restart intervals, and MCU also apply to the decoding of differential
frames and the scans, restart intervals, and MCU from which the differential frame is constructed. The differential frame
differs from the frames of Annexes F, G, and H only at the decoder coding model level.
Decoder coding models for differential frames
The decoding models described in Annexes F, G, and H are modified to allow them to be used for decoding of two's
complement differential components.
Modifications to the differential frame decoder DCT coding model
Two modifications are made to the decoder DCT coding models to allow them to code differential frames. First, the IDCT
of the differential output is calculated without the level shift. Second, the DC coefficient of the DCT is decoded directly
Modifications to the differential frame decoder lossless coding model
One modification is made to the lossless decoder coding model. The difference is decoded directly without prediction. If
the point transformation parameter in the scan header is not zero, the point transform, defined in Annex A, shall be
applied to the differential output.
Modifications to the entropy decoders for differential frames
The decoding of two's complement differences requires one extra bit of precision in the Huffman code table. This is
described in J.1.4. The arithmetic coding models are already defined for the precision needed in differential frames.
CCITT Rec. T.81 (1992 E)