Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
code:fx3_hvci_and_fpga_i_c_commands [2022/01/16 04:42] – [FOURCC formats] Igor Yefmov | code:fx3_hvci_and_fpga_i_c_commands [2022/01/27 22:10] – [0x46-0x4F - Media setup] Igor Yefmov |
---|
|Media output modules|''0x46''|R/W|''7'' - res\\ ''6'' - res (headphones)\\ ''5'' - res (UAC)\\ ''4'' - res\\ ''3'' - res\\ ''2'' - SDI video\\ ''1'' - SFP+ video\\ ''0'' - UVC|Enable/disable state of individual media output modules for video and audio streams| | |Media output modules|''0x46''|R/W|''7'' - res\\ ''6'' - res (headphones)\\ ''5'' - res (UAC)\\ ''4'' - res\\ ''3'' - res\\ ''2'' - SDI video\\ ''1'' - SFP+ video\\ ''0'' - UVC|Enable/disable state of individual media output modules for video and audio streams| |
|Video transform blocks|''0x47''|R/W|''7'' - res (sharpness)\\ ''6'' - res\\ ''5'' - res\\ ''4'' - res\\ ''3'' - res\\ ''2'' - HSL pipeline\\ ''1'' - CCM\\ ''0'' - res (UVC Gamma)|Enable/disable individual transformation blocks in video pipeline| | |Video transform blocks|''0x47''|R/W|''7'' - res (sharpness)\\ ''6'' - res\\ ''5'' - res\\ ''4'' - res\\ ''3'' - res\\ ''2'' - HSL pipeline\\ ''1'' - CCM\\ ''0'' - res (UVC Gamma)|Enable/disable individual transformation blocks in video pipeline| |
|Video output format|''0x48''|R/W|''7'' - res\\ ''6:3'' - UVC\\ ''2:0'' - SDI|Bit depth for all video formats is set in register ''0x49''\\ UVC video formats:\\ ''0'' - "RAW" greyscale pre-debayer pixels\\ ''1'' - 4:4:4 RGB\\ ''2'' - res (packed YCbCr 4:4:4)\\ ''3'' - packed YCbCr 4:2:2\\ ''4'' - res (packed YCbCr 4:2:0)\\ ''5'' - res (planar YCbCr 4:4:4)\\ ''6'' - res (planar YCbCr 4:2:2)\\ ''7'' - planar YCbCr 4:2:0\\ ''8-15'' - res (MJPEG, H.26x, etc)\\ SDI and SFP+ video output formats are always in unison:\\ ''0'' - res\\ ''1'' - res (4:4:4 RGB)\\ ''2'' - res (packed YCbCr 4:4:4)\\ ''3'' - res (packed YCbCr 4:2:2)\\ ''4'' - packed YCbCr 4:2:0\\ ''5'' - res (planar YCbCr 4:4:4)\\ ''6'' - res (planar YCbCr 4:2:2)\\ ''7'' - res (planar YCbCr 4:2:0)| | |Video output format|''0x48''|R/W|''7:4'' - UVC\\ ''3'' - res\\ ''2:0'' - SDI|Bit depth for all video formats is set in register ''0x49''\\ UVC video formats:\\ ''0'' - "RAW" greyscale pre-debayer pixels\\ ''1'' - 4:4:4 RGB\\ ''2'' - res (packed YCbCr 4:4:4)\\ ''3'' - packed YCbCr 4:2:2\\ ''4'' - res (packed YCbCr 4:2:0)\\ ''5'' - res (planar YCbCr 4:4:4)\\ ''6'' - res (planar YCbCr 4:2:2)\\ ''7'' - planar YCbCr 4:2:0\\ ''8-15'' - res (MJPEG, H.26x, etc)\\ SDI and SFP+ video output formats are always in unison:\\ ''0'' - res\\ ''1'' - res (4:4:4 RGB)\\ ''2'' - res (packed YCbCr 4:4:4)\\ ''3'' - res (packed YCbCr 4:2:2)\\ ''4'' - packed YCbCr 4:2:0\\ ''5'' - res (planar YCbCr 4:4:4)\\ ''6'' - res (planar YCbCr 4:2:2)\\ ''7'' - res (planar YCbCr 4:2:0)| |
|Video output pixel bit depth|''0x49''|R/W|''7:6'' - res\\ ''5:4'' - SDI\\ ''3:2'' - SFP+\\ ''1:0'' - UVC|Pixel bit depths \(d_p\) is calculated from a 2-bit value \(N\) as: \[d_p = (N+4)*2\]| | |Video output pixel bit depth|''0x49''|R/W|''7:6'' - res\\ ''5:4'' - SDI\\ ''3:2'' - SFP+\\ ''1:0'' - UVC|Pixel bit depths \(d_p\) is calculated from a 2-bit value \(N\) as: \[d_p = (N+4)*2\]| |
|MIPI configuration|''0x4A''|R/W|''7:2'' - res\\ ''1:0'' - MIPI bit depth|MIPI bit depth controls the data packing format for the pixels coming through MIPI interface. MIPI bit depth \(d_p\) is calculated from a 2-bit value \(N\) as: \[d_p = (N+4)*2\]| | |MIPI configuration|''0x4A''|R/W|''7:2'' - res\\ ''1:0'' - MIPI bit depth|MIPI bit depth controls the data packing format for the pixels coming through MIPI interface. MIPI bit depth \(d_p\) is calculated from a 2-bit value \(N\) as: \[d_p = (N+4)*2\]| |
|Reserved|''0x4F''| | | | | |Reserved|''0x4F''| | | | |
| |
====== FOURCC formats ====== | ==== FOURCC formats (for UVC) ==== |
A combination of data in ''0x49[1:0]'' (pixel bit depth) and ''0x48[6:3]'' (video format) used for UVC is mapped into standard FOURCC codes as summarized in the following table: | A combination of data in ''0x49[1:0]'' (pixel bit depth) and ''0x48[6:3]'' (video format) used for UVC is mapped into standard FOURCC codes as summarized in the following table: |
^''0x49[1:0]''\''0x48[6:3]'' ^''0'' (RAW) ^''1'' (RGB) ^''2'' (packed YUV 4:4:4((ordering is UYV))) ^''3'' (packed YUV 4:2:2((macropixel byte ordering: Y0U0Y1V0))) ^''7'' (planar YUV 4:2:0((chroma plane is a interleaved set of U/V samples))) ^ | ^''0x49[1:0]''\''0x48[6:3]'' ^''0'' (RAW) ^''1'' (RGB) ^''2'' (packed YUV 4:4:4((ordering is UYV))) ^''3'' (packed YUV 4:2:2((macropixel byte ordering: Y0U0Y1V0))) ^''7'' (planar YUV 4:2:0((chroma plane is a interleaved set of U/V samples))) ^ |