GenericByteData support in C++

I see “GenericByteData” supported in the .NET version. Could not find it either in the C++ headers or the documentation. Is it supported in C++?

We do not have a class representation in C++, but the 32 bytes are fairly simple - just check the documentation and take care of the reversed bytes notation.

From .NET there is RawVideoSource

http://doc.developer.milestonesys.com/html/miphelp/class_video_o_s_1_1_platform_1_1_data_1_1_raw_video_source_data.html

I can get the bytes from the Content property.

From C++ I have the ImLiveSourceToolkit class

from which I can get the NmToolkit::ImImage object containing the following

formats from the enumerated type image_format_t

Gray, RGB24, BGR24, RGB32, BGR32, YCbCr420_Planar, YCbCr422_Planar, YCbCr444_Planar, RGBA, BGRA. But nothing “raw”.

What C++ class would give me the equivalent of RawVideoSource data?

You still get an ImImage class, but you specific the XML differently so there is no ‘decode’ performed.