/*
 * DataRecorderStdFormat.h
 *
 */

#ifndef DATARECORDERSTDFORMAT_H_
#define DATARECORDERSTDFORMAT_H_

class DataRecorderNumericFormat
{
public:
    enum format_t
    {
    	fmt_unknown,
        fmt_iq16,		//array of IQ, signed 16bits samples
        fmt_float,
        fmt_complex,	//float*2

        fmt_iq32,

        fmt_unsigned=0x800
    };

    struct geometry_t	//=array[dy_stride][dx_strde][dz_stride]
    {
        unsigned int dx;
        unsigned int dy;
        unsigned int dz;
        unsigned int dx_stride;
        unsigned int dy_stride;
        unsigned int dz_stride;
    };

    struct info_t
    {
        unsigned int fmt; //=format_t
        unsigned int sample_size;
        geometry_t geometry;
        unsigned int sign_marker[2];
    };
};


#endif /* DATARECORDERSTDFORMAT_H_ */
