EHS
DataType.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
EHS.h
"
4
5
namespace
ehs
6
{
7
enum class
DataType
:
UInt_8
8
{
9
LDOUBLE
,
10
DOUBLE
,
11
SINT_64
,
12
UINT_64
,
13
FLOAT
,
14
SINT_32
,
15
UINT_32
,
16
SINT_24
,
17
UINT_24
,
18
SINT_16
,
19
UINT_16
,
20
SINT_8
,
21
UINT_8
22
};
23
24
EHS_LIB_IO
DataType
FromAudioBitDepth
(
UInt_16
bitDepth);
25
26
EHS_LIB_IO
UInt_8
ToByteDepth
(
DataType
type);
27
28
EHS_LIB_IO
UInt_8
ToBitDepth
(
DataType
type);
29
}
EHS.h
ehs
Definition:
Anchor.h:6
ehs::UInt_8
unsigned char UInt_8
Definition:
Types.h:43
ehs::ToByteDepth
EHS_LIB_IO UInt_8 ToByteDepth(DataType type)
Definition:
DataType.cpp:22
ehs::DataType
DataType
Definition:
DataType.h:8
ehs::DataType::SINT_24
@ SINT_24
ehs::DataType::SINT_32
@ SINT_32
ehs::DataType::UINT_32
@ UINT_32
ehs::DataType::UINT_16
@ UINT_16
ehs::DataType::UINT_24
@ UINT_24
ehs::DataType::SINT_8
@ SINT_8
ehs::DataType::SINT_64
@ SINT_64
ehs::DataType::UINT_8
@ UINT_8
ehs::DataType::UINT_64
@ UINT_64
ehs::DataType::LDOUBLE
@ LDOUBLE
ehs::DataType::FLOAT
@ FLOAT
ehs::DataType::SINT_16
@ SINT_16
ehs::DataType::DOUBLE
@ DOUBLE
ehs::UInt_16
unsigned short UInt_16
Definition:
Types.h:46
ehs::ToBitDepth
EHS_LIB_IO UInt_8 ToBitDepth(DataType type)
Definition:
DataType.cpp:50
ehs::FromAudioBitDepth
EHS_LIB_IO DataType FromAudioBitDepth(UInt_16 bitDepth)
Definition:
DataType.cpp:5
include
ehs
DataType.h
Generated by
1.9.4