SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
As shown in Figure 9-129, the following registers are used to set the formatter area:
Table 9-208 and Table 9-209 describe these registers. The input line is input to the formatter, and the output line is output from the formatter.
Register | Description |
---|---|
ISIF_FMTSPH | The first valid pixel of an input line |
ISIF_FMTLNH | Valid length of a input line = FMTLNH + 1 |
ISIF_FMTLSV | The first valid input line |
ISIF_FMTLNV | The number of the valid input lines = FMTLNV + 1 |
Register | Description |
---|---|
ISIF_FMTRLEN | The length of an output line |
ISIF_FMTHCNT | HD interval for output lines |
ISIF_SPH | The first pixel in an output line to be stored to SDRAM |
ISIF_LNH | The number of pixels in an output line to be stored to SDRAM = LNH + 1 (Actual number of output pixels is a multiple of 16) |
ISIF_LNV | The number of the output lines to be stored to SDRAM = LNV + 1 |
ISIF_CBN | The number of the output lines stored in the circular buffer. If CBN=0, circular buffer is not used and the memory space is used as a flat space |
The number of pixels in an output line to be stored to SDRAM is a multiple of 16. If the number of pixels is not aligned, the last few pixels are not written to SDRAM. For example, if CULH=0xFFFF, actual output pixels to SDRAM is equal to 16 x floor((LNH+1)/16). If CULH is not 0xFFFF, output pixels to SDRAM is equal to 16 x floor(w/16), where w is the number of pixels after horizontal culling specified by CULH.
The number of pixels in an output line must be set to the ISIF_FMTRLEN register, and the HD output interval must be set to the ISIF_FMTHCNT register. It is not necessary to set the ISIF_FMTHCNT register if multiple input lines are combined into a single line.
Figure 9-130 shows an example of splitting an input line into two or three output lines.