LS_JPEG codec
RM0082
562/844
Doc ID 018672 Rev 1
●
NMCU
This value defines the number of minimum coded units to be coded, minus 1; there can
be from 0 to 67,108,863 MCU’s.
25.4.6 JPGCreg3
register
This register defines a couple of parameters for the image format and the coding process.
●
Xsiz
Number of pixels per line of the image; a single line’s length can range from 0 to 65,535
pixels.
●
NRST
Number of minimum coded units between two consecutive restart markers, minus 1.
This value is ignored if the Re bit in JPGC Reg1 is not set.
25.4.7 JPGCreg4-7
register
These registers describe the composition of a Minimum Coded Unit (MCU).
As specified in the ISO document for the baseline algorithm (see ISO/IEC 10918-1), up to
four color components can be encoded in a single ECS. Accordingly, these registers contain
four sections, one for each color component I = 0, 1, 2, 3
Table 475.
JPGCreg2 register bit assignments
Bit
Name
Reset
Value
Description
[31:26]
Reserved
-
[25:00]
-
Number of MCU’s minus 1.
Table 476.
JPGCReg3 register bit assignments
Bit
Name
Reset
Value
Description
[31:16]
-
Number of pixels per line.
[15:00]
-
Number of MCU’s between two restart markers minus 1.