Aufgrund eines Versionsupdates wird GitLab am 01.04. zwischen 9:00 und 9:30 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to a version upgrade, GitLab won't be accessible at 01.04. between 9:00 and 9:30 a.m.

ITATypes.cpp 673 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#include <ITATypes.h>

std::string toString( ITAQuantization eQuantization )
{
	switch( eQuantization )
	{
	case ITAQuantization::ITA_INT16: return "Integer with 16-Bit";
	case ITAQuantization::ITA_INT20: return "Integer with 20-Bit";
	case ITAQuantization::ITA_INT24: return "Integer with 24-Bit";
	case ITAQuantization::ITA_INT32: return "Integer with 32-Bit";
	case ITAQuantization::ITA_FLOAT: return "Floating point with 32-Bit";
	case ITAQuantization::ITA_DOUBLE: return "Floating point with 64-Bit";
	default: return "Unkown";
	}
}

std::string toString( ITADomain eDomain )
{
	return ( eDomain == ITADomain::ITA_TIME_DOMAIN ? "time domain" : "frequency domain" );
}