Commit 833ca3f8 authored by Jakob Bornecrantz's avatar Jakob Bornecrantz

xrt: Add some formats

parent e7a933a1
......@@ -43,6 +43,24 @@ enum xrt_distortion_model
// clang-format on
};
/*!
* Common formats, use `u_format_*` functions to reason about them.
*/
enum xrt_format
{
XRT_FORMAT_R8G8B8X8,
XRT_FORMAT_R8G8B8A8,
XRT_FORMAT_R8G8B8,
XRT_FORMAT_BITMAP_8X1, // One bit format tiled in 8x1 blocks.
XRT_FORMAT_BITMAP_8X8, // One bit format tiled in 8X8 blocks.
XRT_FORMAT_YUV888,
XRT_FORMAT_YUV422,
XRT_FORMAT_MJPEG,
};
/*!
* A quaternion with single floats.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment