42 of 73
Reference Manual ATOM one 4K mini
C4
4096
-32768
32767
C5
0
-32768
32767
C6
0
-32768
32767
C7
0
-32768
32767
C8
4096
-32768
32767
Example Pseudo Code:
float coeff7 = 1.123f;
float coeff7_scaled = coeff7*4096.0f;
// factor = 4599.808
int value = (int) round( coeff7_scaled ); // value = 4600
# color_cross 4096 0 0 0 4096 0 0 4600 4096
9.33 color_cross_offset <red_offset> <green_offset> <blue_offset>
Sets the color cross talk offset in the FPGA.
In addition to the matrix multiplication an offset can be added to the pixel values for R, G
and B separately. This offset is applied after the matrix multiplication.
The offset values are two’s complement integer numbers with a range of -2048 (0x800) to
2047 (0x7FF). 0 is represented as 0x000.
Value
Reset
Minimal
Maximal
red_offset
0
-2048
2047
green_offset
0
-2048
2047
blue_offset
0
-2048
2047
9.34 color_space<color space>
Configures the image pipeline for the selected color space. This is a high-level command
which will change both the color cross talk an color conversion matrix.
If you are using a custom color cross talk matrix (see chapter 9.32) it will be automatically
converted when switching the color space, but due do rounding errors in the conversion
each switch will result in a more altered color cross table.
The color conversion matrix (see chapter 9.31) will always be set to the default for the
selected color space, this means any changes the user has made will be overwritten when
the color space is changed.
Value
Color Space
Usually used for
0 (reset)
Rec.709
HD / SDR