JAJSCC4A July 2016 – January 2024 DS90UB964-Q1
PRODUCTION DATA
The color bar pattern can be programmed in units of a block or word size dependent on the datatype of the video being sent. The sizes are defined in the MIPI CSI-2 specification. For example, RAW10 requires a 5-byte block size which is equal to 4 pixels. RAW12 requires a 3-byte block size which is equal to 2 pixels.
When programming the Pattern Generator, software can compute the required bar size in bytes based on the line size and the number of bars. For the standard eight color bar pattern, that requires the following algorithm:
As an alternative, the blocks/line can be computed by converting pixels/line to bytes/line and divide by bytes/block.