///Description of a n-dimensional array with type and format
typedefstructblc_array
...
...
@@ -138,10 +145,10 @@ typedef struct blc_array
{
blc_memmem;///< raw memory of the array
#endif
blc_dim*dims;///< array of dimentions of the blc_array
intdims_nb;///< number of dimension of the blc_array
uint32_ttype;///< type of data in the memory as a unsigned int of 4 bytes. Possibilities are 'UIN8' uchar, 'INT8' char, 'UI16' uint16_t, 'IN16' int16_t, 'UI32' uint32_t, 'IN32' int32_t, 'FL32' float, 'FL64' double
uint32_tformat;///< describes how the data should be interpreted. 'NDEF' (no specification), 'TEXT' for strings, 'Y800' black and white image, 'RGB3' image in RGB, 'LPCM' sound in non compressed format, ...
blc_dim*dims;///< array of dimentions of the blc_array
intdims_nb;///< number of dimension of the blc_array
size_ttotal_length;///<Total number of elements in the array. This differ of size if an element is bigger than one byte.