Skip to content

Commit 2cd5ec7

Browse files
mark encodings YUV422 and YUV422_YUY2 as deprecated
Signed-off-by: Christian Rauch <[email protected]>
1 parent d685509 commit 2cd5ec7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sensor_msgs/include/sensor_msgs/image_encodings.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,11 @@ const char BAYER_GRBG16[] = "bayer_grbg16";
9797
// https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/pixfmt-packed-yuv.html#id1
9898
// fourcc: UYVY
9999
const char UYVY[] = "uyvy";
100+
[[deprecated("use sensor_msgs::image_encodings::UYVY")]]
100101
const char YUV422[] = "yuv422"; // deprecated
101102
// fourcc: YUYV
102103
const char YUYV[] = "yuyv";
104+
[[deprecated("use sensor_msgs::image_encodings::YUYV")]]
103105
const char YUV422_YUY2[] = "yuv422_yuy2"; // deprecated
104106

105107
// YUV 4:2:0 encodings with an 8-bit depth

0 commit comments

Comments
 (0)