Skip to content

Commit cc43ae1

Browse files
more documentation on pixel formats
1 parent eefb554 commit cc43ae1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/format_mapping.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
namespace cam = libcamera::formats;
1010
namespace ros = sensor_msgs::image_encodings;
1111

12-
//mapping of FourCC to ROS image encodings
13-
// see 'include/uapi/drm/drm_fourcc.h' for a full FourCC list
12+
// mapping of FourCC to ROS image encodings
13+
// references:
14+
// - full list of FourCC: 'include/uapi/drm/drm_fourcc.h'
15+
// - V4L2 image formats: 'https://docs.kernel.org/userspace-api/media/v4l/pixfmt.html'
1416

1517
// supported FourCC formats, without conversion
1618
static const std::unordered_map<uint32_t, std::string> map_format_raw = {

0 commit comments

Comments
 (0)