ADTF
Loading...
Searching...
No Matches
streamimageformat.h File Reference
#include <adtf_utils.h>
Include dependency graph for streamimageformat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  adtf::streaming::ant::tStreamImageFormat
 
struct  adtf::streaming::tStreamImageFormat
 

Namespaces

namespace  adtf
 Namespace for all functionality provided by ADTF and its SDKs.
 
namespace  adtf::streaming
 Namespace for the ADTF Streaming SDK.
 
namespace  adtf::streaming::ant
 Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
 
namespace  adtf::streaming::ant::imageformat_definition
 Namespace to sort pixelformat descriptions.
 
namespace  adtf::streaming::stream_image_format
 Container namespace to predefine some common imageformats within ADTF.
 

Macros

#define ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME   24
 defined Max byte size for tStreamImageFormatName
 
#define ADTF_DEFINE_STREAM_IMAGE_FORMAT(_FORMAT_STRUCT_TYPE_, _FORMAT_NAME_)
 
#define ADTF_IMAGE_FORMAT(_FORMAT_)
 

Typedefs

typedef adtf_util::stack_string_base< ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME, adtf_util::assert_out_of_range > adtf::streaming::ant::cStreamFormatStorageType
 formatname storage type (max byte size defined by ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME)
 
typedef adtf_util::string_base< cStreamFormatStorageTypeadtf::streaming::ant::tStreamImageFormatName
 formatname type as stack string (max byte size defined by ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME)
 
typedef adtf_util::string_base< cStreamFormatStorageType > adtf::streaming::tStreamImageFormatName
 formatname type as stack string (max byte size defined by ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME)
 

Functions

bool adtf::streaming::ant::operator!= (const tStreamImageFormat &sLeft, const tStreamImageFormat &sRight)
 
bool adtf::streaming::ant::operator== (const tStreamImageFormat &sLeft, const tStreamImageFormat &sRight)
 
 adtf::streaming::ant::ADTF_DEFINE_STREAM_IMAGE_FORMAT (RGB_8, "R(3)G(3)B(2)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(RGB_555
 Format definition.
 
 adtf::streaming::ant::R (5) G(5) B(5)(1)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(RGB_565
 Format definition.
 
 adtf::streaming::ant::R (8) G(8) B(8)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(BGR_24
 Format definition.
 
 adtf::streaming::ant::B (8) G(8) R(8)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(RGB_32
 
 adtf::streaming::ant::A (8) B(8) G(8) R(8)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(ARGB_32
 
 adtf::streaming::ant::A (8) R(8) G(8) B(8)") bool stream_image_format_is_generic_greyscale( const tStreamImageFormat & strFormat)
 Format definition.
 
bool adtf::streaming::ant::stream_image_format_is_generic_rgb (const tStreamImageFormat &strFormat)
 
bool adtf::streaming::ant::stream_image_format_is_generic (const tStreamImageFormat &strFormat)
 
unsigned int adtf::streaming::ant::stream_image_format_get_generic_pixel_size (const tStreamImageFormat &strFormat)
 
uint32_t adtf::streaming::ant::stream_image_format_get_generic_mask (const char *strChannel, const tStreamImageFormat &strFormat)
 
bool adtf::streaming::stream_image_format_is_generic_rgb (const tStreamImageFormat &strFormat)
 
bool adtf::streaming::stream_image_format_is_generic (const tStreamImageFormat &strFormat)
 
unsigned int adtf::streaming::stream_image_format_get_generic_pixel_size (const tStreamImageFormat &strFormat)
 
uint32_t adtf::streaming::stream_image_format_get_generic_mask (const char *strChannel, const tStreamImageFormat &strFormat)
 

Detailed Description

Copyright © Audi Electronics Venture GmbH. All rights reserved

Macro Definition Documentation

◆ ADTF_DEFINE_STREAM_IMAGE_FORMAT

#define ADTF_DEFINE_STREAM_IMAGE_FORMAT ( _FORMAT_STRUCT_TYPE_,
_FORMAT_NAME_ )
Value:
namespace imageformat_definition \
{ \
struct _FORMAT_STRUCT_TYPE_ \
{ \
static constexpr const char *const FormatName = _FORMAT_NAME_; \
}; \
}

Internal helper to create an image format do not use to define your own !

◆ ADTF_IMAGE_FORMAT

#define ADTF_IMAGE_FORMAT ( _FORMAT_)
Value:
::adtf::streaming::stream_image_format::_FORMAT_::FormatName

Helper Macro to get the FormatName of the predefined Format within stream_image_format

Parameters
_FORMAT_Format Type (see imageformat_definition)