adtf_file_library  0.13.1
Classes | Enumerations | Functions
adtf_file::adtf2 Namespace Reference

namespace for support of ADTF 2 files More...

Classes

class  AdtfCoreMediaSampleDeserializer
 SampleDeserializer for ADTF 2 Media Samples. More...
 
class  AdtfCoreMediaSampleSerializer
 SampleSerializer for ADTF 2 Media Samples. More...
 
class  IndexedDataMediaSampleDeserializer
 SampleDeserializer for ADTF 2 MediaSamples with indexed data. More...
 
class  AdtfCoreMediaTypeDeserializer
 Default StreamTypeDeserializer for ADTF 2 Media Type (major and minor type pair) More...
 
class  AdtfCoreMediaTypeVideoDeserializer
 Default StreamTypeDeserializer for ADTF 2 Media Type (uncompressed video with bitmap description) More...
 
class  AdtfCoreMediaTypeAudioDeserializer
 Default StreamTypeDeserializer for ADTF 2 Media Type (uncompressed audio with audio sample description) More...
 
class  IndexedDataDescriptionMediaTypeDeserializer
 Default StreamTypeDeserializer for ADTF 2 Media Type (with indexed data description) More...
 
class  AdtfCoreMediaTypeSerializer
 Default StreamTypeSerializer for ADTF 2 Media Type (major and minor type pair) More...
 
class  AdtfCoreMediaTypeVideoSerializer
 Default StreamTypeSerializer for ADTF 2 Media Type (uncompressed video with bitmap description) More...
 
class  AdtfCoreMediaTypeAudioSerializer
 Default StreamTypeSerializer for ADTF 2 Media Type (uncompressed audio with audio sample description) More...
 
struct  BitmapFormat
 Bitmap description structure within ADTF 2 files. More...
 
struct  PaletteEntry
 palette structure within ADTF 2 files More...
 
struct  AudioFormat
 audio format description used within ADTF 2 files More...
 
class  StandardTypeSerializers
 Default container with all ADTF 2 StreamTypeSerializer provided by the ADTF File Library. More...
 

Enumerations

enum  VariantType {
  vt_empty = 0x0000 , vt_null = 0x0001 , vt_bool = 0x0002 , vt_int8 = 0x0004 ,
  vt_u_int8 = 0x0008 , vt_int16 = 0x0010 , vt_u_int16 = 0x0020 , vt_int32 = 0x0040 ,
  vt_u_int32 = 0x0080 , vt_float32 = 0x0100 , vt_float64 = 0x0200 , vt_string = 0x0400 ,
  vt_int64 = 0x0800 , vt_u_int64 = 0x1000 , vt_array = 0x10000000
}
 The variant type within ADTF 2 files.
 
enum  PixelFormats {
  pf_unknown = 0 , pf_8_bit = 10 , pf_greyscale_8 = 11 , pf_rgb_8 = 12 ,
  pf_16_bit = 20 , pf_greyscale_10 = 21 , pf_greyscale_12 = 22 , pf_greyscale_14 = 23 ,
  pf_greyscale_16 = 24 , pf_rgb_444 = 25 , pf_rgb_555 = 26 , pf_rgb_565 = 27 ,
  pf_rgba_4444 = 28 , pf_abgr_4444 = 29 , pf_riii_10 = 30 , pf_riii_12 = 31 ,
  pf_riii_14 = 32 , pf_riii_16 = 33 , pf_bgr_555 = 34 , pf_bgr_565 = 35 ,
  pf_24_bit = 40 , pf_greyscale_18 = 41 , pf_greyscale_20 = 42 , pf_greyscale_22 = 43 ,
  pf_greyscale_24 = 44 , pf_rgb_888 = 45 , pf_bgr_888 = 46 , pf_32_bit = 50 ,
  pf_argb_8888 = 51 , pf_abgr_8888 = 52 , pf_rgba_8888 = 53 , pf_bgra_8888 = 54 ,
  pf_greyscale_32 = 55 , pf_greyscale_float_32 = 56 , pf_yuv420p_888 = 60
}
 Used pixelformat definitions within ADTF 2 files. More...
 

Functions

void deserializeMediaSampleInfo (ReadSample &sample, InputStream &stream)
 deserializes a sample info from the input stream into a sample More...
 
void deserializeMediaSampleLogTrace (ReadSample &sample, InputStream &stream)
 deserializes a sample log trace from the input stream into a sample More...
 

Detailed Description

namespace for support of ADTF 2 files

Enumeration Type Documentation

◆ PixelFormats

Used pixelformat definitions within ADTF 2 files.

See also
BitmapFormat::pixel_format
Enumerator
pf_unknown 

unknown / not set

pf_8_bit 

8 bit

pf_greyscale_8 

8 bit greyscale - default format for 8 bpp

pf_rgb_8 

8 bit RGB (R: 3 bit, G: 3 bit, B: 2 Bit) - palletized 8 bpp format

pf_16_bit 

16 bit This definition is a placeholder a 16 Bit format, bitorder is undefined.

pf_greyscale_10 

10 bit greyscale To setup Format use tBitmapFormat::bitsPerPixel = 16 ! the most significant (upper) bits are valid (11111111 11000000) A_UTILS convert just 8bit greyscales to display this format

pf_greyscale_12 

12 bit greyscale To setup Format use tBitmapFormat::bitsPerPixel = 16 ! the most significant (upper) bits are valid (11111111 11110000) A_UTILS convert just 8bit greyscales to display this format

pf_greyscale_14 

14 bit greyscale To setup Format use tBitmapFormat::bitsPerPixel = 16 ! the most significant (upper) bits are valid (11111111 11111100) A_UTILS convert just 8bit greyscales to display this format

pf_greyscale_16 

16 bit greyscale

pf_rgb_444 

12 bit RGB (R: 4 bit, G: 4 bit, B: 4 bit)

pf_rgb_555 

15 bit RGB (R: 5 bit, G: 5 bit, B: 5 bit) - default format for 16 bpp

pf_rgb_565 

16 bit RGB (R: 5 bit, G: 6 bit, B: 5 bit)

pf_rgba_4444 

16 bit RGBA (R: 4 bit, G: 4 bit, B: 4 bit, A: 4 bit) with alpha value

pf_abgr_4444 

16 bit ABGR (A: 4 bit, B: 4 bit, G: 4 bit, R: 4 bit) with alpha value - inverted RGBA

pf_24_bit 

24 bit This definition is a placeholder a 24 Bit format, bitorder is undefined.

pf_greyscale_24 

24 bit greyscale

pf_rgb_888 

24 bit RGB (R: 8 bit, G: 8 bit, B: 8 bit) - default format for 24 bpp

pf_bgr_888 

24 bit BGR (B: 8 bit, G: 8 bit, R: 8 bit) - inverted RGB

pf_32_bit 

32 bit This definition is a placeholder a 32 Bit format, bitorder is undefined.

pf_argb_8888 

32 bit ARGB (A: 8 bit, R: 8 bit, G: 8 bit, B: 8 bit) with alpha value

pf_abgr_8888 

32 bit ABGR (A: 8 bit, B: 8 bit, G: 8 bit, R: 8 bit) with alpha value - inverted RGBA

pf_rgba_8888 

32 bit RGBA (R: 8 bit, G: 8 bit, B: 8 bit, A: 8 bit) with alpha value - default format for 32 bpp

pf_bgra_8888 

32 bit BGRA (B: 8 bit, G: 8 bit, R: 8 bit, A: 8 bit) with alpha value - inverted RGB + A

pf_greyscale_32 

32 bit greyscale

pf_greyscale_float_32 

32 bit greyscale float value

pf_yuv420p_888 

24 bit YUV (Y: 8 bit, U: 8 bit, V: 8 bit) - Y = luminance, U+V = chrominance If using this format in the VideoDisplay a conversion to RBG will be done. This is not very performant!

Function Documentation

◆ deserializeMediaSampleInfo()

void adtf_file::adtf2::deserializeMediaSampleInfo ( ReadSample sample,
InputStream stream 
)

deserializes a sample info from the input stream into a sample

Parameters
samplethe sample to deserialize to
streamthe stream to read from

◆ deserializeMediaSampleLogTrace()

void adtf_file::adtf2::deserializeMediaSampleLogTrace ( ReadSample sample,
InputStream stream 
)

deserializes a sample log trace from the input stream into a sample

Parameters
samplethe sample to deserialize to
streamthe stream to read from

Copyright © CARIAD SE.
Generated on Fri Apr 19 2024 by doxygen 1.9.1
GIT Commit Hash: 82d535f82776c20b12fc60740bdae991b62444a7