You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance NV12 and NV21 Support in sensor_msgs::image_encodings (#264)
- Redefine numChannels for NV12 and NV21 from 2 to 1 to accurately reflect their planar YUV 4:2:0 format.
- Add isPlanar function to determine if an encoding is planar (e.g., NV12, NV21, NV24).
- Introduce getHeightScaling function to provide height scaling factors for planar encodings.
- Improve code consistency and add documentation for new utility functions.
Signed-off-by: Zhaoyuan Cheng <[email protected]>
0 commit comments