18 #define ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME 24
21 typedef adtf_util::stack_string_base < ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME, adtf_util::assert_out_of_range >
cStreamFormatStorageType;
67 namespace imageformat_definition
72 #define ADTF_DEFINE_STREAM_IMAGE_FORMAT( _FORMAT_STRUCT_TYPE_, _FORMAT_NAME_) \
73 namespace imageformat_definition \
75 struct _FORMAT_STRUCT_TYPE_ \
77 static constexpr const char *const FormatName = _FORMAT_NAME_; \
174 namespace stream_image_format
176 using namespace ant::imageformat_definition;
183 #define ADTF_IMAGE_FORMAT(_FORMAT_) ::adtf::streaming::stream_image_format::_FORMAT_::FormatName
187 using ant::stream_image_format_is_generic_greyscale;
Copyright © Audi Electronics Venture GmbH.
#define PLATFORM_BYTEORDER
defines a link to __get_platform_byteorder.
bool operator==(const tStreamImageFormat &sLeft, const tStreamImageFormat &sRight)
is equal operator to compare tStreamImageFormat
bool stream_image_format_is_generic(const tStreamImageFormat &strFormat)
Check if all bits are well defined and at least one component is available in Generic Pixel Format.
uint32_t stream_image_format_get_generic_mask(const char *strChannel, const tStreamImageFormat &strFormat)
Retrieves the pixelsize by a Generic Pixel Format.
adtf_util::string_base< cStreamFormatStorageType > tStreamImageFormatName
formatname type as stack string (max byte size defined by ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE...
B(8) G(8) R(8)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(RGB_32
Format definition this description means always first in lowest bit of lowest byte.
A(8) B(8) G(8) R(8)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(ARGB_32
Format definition this description means always first in lowest bit of lowest byte.
adtf_util::stack_string_base< ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME, adtf_util::assert_out_of_range > cStreamFormatStorageType
formatname storage type (max byte size defined by ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATN...
bool operator!=(const tStreamImageFormat &sLeft, const tStreamImageFormat &sRight)
is not equal operator to compare tStreamImageFormat
bool stream_image_format_is_generic_rgb(const tStreamImageFormat &strFormat)
Check if R, G and B components are available in Generic Pixel Format.
unsigned int stream_image_format_get_generic_pixel_size(const tStreamImageFormat &strFormat)
Retrieves the pixelsize by a Generic Pixel Format.
ADTF_DEFINE_STREAM_IMAGE_FORMAT(RGB_8, "R(3)G(3)B(2)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(RGB_555
BYTE ORDER FORMAT DESCRIPTION Format definition.
R(5) G(5) B(5)(1)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(RGB_565
Format definition.
Namespace for entire ADTF SDK.