ADTF File Library
Loading...
Searching...
No Matches
legacy_types.h
Go to the documentation of this file.
1
16
17#ifndef ADTF_FILE_ADTF2_LEGACY_TYPES
18#define ADTF_FILE_ADTF2_LEGACY_TYPES
19
20namespace adtf_file
21{
22namespace adtf2
23{
24
29{
31 int32_t width;
33 int32_t height;
37 int16_t pixel_format;
42 int32_t size;
45 int32_t palette_size;
46};
47
52{
54 uint8_t blue;
56 uint8_t green;
58 uint8_t red;
60 uint8_t alpha;
61};
62
68{
71
78
109 pf_riii_10 = 30,
110 pf_riii_12 = 31,
111 pf_riii_14 = 32,
112 pf_riii_16 = 33,
113 pf_bgr_555 = 34,
114 pf_bgr_565 = 35,
115
119 pf_greyscale_18 = 41,
120 pf_greyscale_20 = 42,
121 pf_greyscale_22 = 43,
128
144
149};
150
155{
157 int32_t format_type;
159 int32_t channels;
165 int32_t num_samples;
167 int32_t size;
168};
169
170}
171}
172
173#endif
namespace for support of ADTF 2 files
Definition adtf2_adtf_core_media_sample_deserializer.h:28
PixelFormats
Used pixelformat definitions within ADTF 2 files.
Definition legacy_types.h:68
@ 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
Definition legacy_types.h:137
@ pf_unknown
unknown / not set
Definition legacy_types.h:70
@ pf_24_bit
Definition legacy_types.h:118
@ pf_bgra_8888
32 bit BGRA (B: 8 bit, G: 8 bit, R: 8 bit, A: 8 bit) with alpha value - inverted RGB + A
Definition legacy_types.h:139
@ pf_argb_8888
32 bit ARGB (A: 8 bit, R: 8 bit, G: 8 bit, B: 8 bit) with alpha value
Definition legacy_types.h:133
@ pf_abgr_4444
16 bit ABGR (A: 4 bit, B: 4 bit, G: 4 bit, R: 4 bit) with alpha value - inverted RGBA
Definition legacy_types.h:108
@ pf_greyscale_24
24 bit greyscale
Definition legacy_types.h:123
@ pf_32_bit
Definition legacy_types.h:131
@ pf_greyscale_32
32 bit greyscale
Definition legacy_types.h:141
@ pf_greyscale_12
Definition legacy_types.h:91
@ pf_rgb_888
24 bit RGB (R: 8 bit, G: 8 bit, B: 8 bit) - default format for 24 bpp
Definition legacy_types.h:125
@ pf_greyscale_14
Definition legacy_types.h:96
@ pf_greyscale_10
Definition legacy_types.h:86
@ pf_rgb_444
12 bit RGB (R: 4 bit, G: 4 bit, B: 4 bit)
Definition legacy_types.h:100
@ pf_yuv420p_888
Definition legacy_types.h:148
@ pf_rgb_8
8 bit RGB (R: 3 bit, G: 3 bit, B: 2 Bit) - palletized 8 bpp format
Definition legacy_types.h:77
@ pf_8_bit
8 bit
Definition legacy_types.h:73
@ pf_bgr_888
24 bit BGR (B: 8 bit, G: 8 bit, R: 8 bit) - inverted RGB
Definition legacy_types.h:127
@ pf_greyscale_float_32
32 bit greyscale float value
Definition legacy_types.h:143
@ pf_abgr_8888
32 bit ABGR (A: 8 bit, B: 8 bit, G: 8 bit, R: 8 bit) with alpha value - inverted RGBA
Definition legacy_types.h:135
@ pf_rgb_565
16 bit RGB (R: 5 bit, G: 6 bit, B: 5 bit)
Definition legacy_types.h:104
@ pf_16_bit
Definition legacy_types.h:81
@ pf_rgba_4444
16 bit RGBA (R: 4 bit, G: 4 bit, B: 4 bit, A: 4 bit) with alpha value
Definition legacy_types.h:106
@ pf_rgb_555
15 bit RGB (R: 5 bit, G: 5 bit, B: 5 bit) - default format for 16 bpp
Definition legacy_types.h:102
@ pf_greyscale_8
8 bit greyscale - default format for 8 bpp
Definition legacy_types.h:75
@ pf_greyscale_16
16 bit greyscale
Definition legacy_types.h:98
namespace for ADTF File library
Definition adtf2_adtf_core_media_sample_deserializer.h:25
audio format description used within ADTF 2 files
Definition legacy_types.h:155
int32_t num_samples
Number of samples.
Definition legacy_types.h:165
int32_t bits_per_sample
Bits per sample.
Definition legacy_types.h:163
int32_t channels
Number of channels (1=mono, 2=stereo)
Definition legacy_types.h:159
int32_t format_type
Format type.
Definition legacy_types.h:157
int32_t size
Size of samples.
Definition legacy_types.h:167
int32_t samples_per_sec
Samples per second.
Definition legacy_types.h:161
Bitmap description structure within ADTF 2 files.
Definition legacy_types.h:29
int32_t height
Specifies the width (in pixels) of the image.
Definition legacy_types.h:33
int32_t bytes_per_line
Definition legacy_types.h:40
int32_t palette_size
Definition legacy_types.h:45
int32_t size
Size of bitmap in bytes (bytesPerLine * height)
Definition legacy_types.h:42
int16_t pixel_format
Pixel format specified in PixelFormat. More information can be found at.
Definition legacy_types.h:37
int16_t bits_per_pixel
Specifies the number of bits used to represent the color of a single pixel.
Definition legacy_types.h:35
int32_t width
Specifies the width (in pixels) of the image.
Definition legacy_types.h:31
palette structure within ADTF 2 files
Definition legacy_types.h:52
uint8_t alpha
The Alpha value.
Definition legacy_types.h:60
uint8_t green
The Green value.
Definition legacy_types.h:56
uint8_t blue
The Blue value.
Definition legacy_types.h:54
uint8_t red
The Red value.
Definition legacy_types.h:58