> This page is for version 3.0 (Latest) (default).
> For other versions, use one of these documentation indexes:
> - 3.0 (Latest) (default): https://docs.nvidia.com/holoscan/sensor-bridge/3-0/llms.txt
> - 2.7: https://docs.nvidia.com/holoscan/sensor-bridge/2-7/llms.txt
> - Archives: https://docs.nvidia.com/holoscan/sensor-bridge/archives/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sensor-bridge/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sensor-bridge/_mcp/server.

# hololink::module::csi::PixelFormat

> How the pixels of a CSI-2 raw image are encoded.

How the pixels of a CSI-2 raw image are encoded.

```cpp showLineNumbers={false}
enum class hololink::module::csi::PixelFormat : uint32_t
```

The name gives the number of bits of data per pixel. This describes the pixel values themselves; how many bytes a line of pixels occupies on the wire depends also on how the converter packs them, which is reported by CsiConverterV1::transmitted_line_bytes().

---

## Values

| Name     | Value | Description        |
| -------- | ----- | ------------------ |
| `RAW_8`  | `= 0` | 8 bits per pixel.  |
| `RAW_10` | `= 1` | 10 bits per pixel. |
| `RAW_12` | `= 2` | 12 bits per pixel. |