Skip to content

Commit

Permalink
more documentation on pixel formats
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Aug 4, 2024
1 parent eefb554 commit cc43ae1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/format_mapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
namespace cam = libcamera::formats;
namespace ros = sensor_msgs::image_encodings;

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

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

0 comments on commit cc43ae1

Please sign in to comment.