mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-07 13:37:44 +08:00
add uyuv to rgb888
This commit is contained in:
@@ -1060,6 +1060,9 @@ bool OBCameraNode::setupFormatConvertType(OBFormat format) {
|
||||
case OB_FORMAT_NV12:
|
||||
format_convert_filter_.setFormatConvertType(FORMAT_NV12_TO_RGB888);
|
||||
break;
|
||||
case OB_FORMAT_UYVY:
|
||||
format_convert_filter_.setFormatConvertType(FORMAT_UYVY_TO_RGB888);
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user