EHS
Loading...
Searching...
No Matches
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
Definition
DataType.h:16
ehs::DataType::SINT_32
@ SINT_32
Definition
DataType.h:14
ehs::DataType::UINT_32
@ UINT_32
Definition
DataType.h:15
ehs::DataType::UINT_16
@ UINT_16
Definition
DataType.h:19
ehs::DataType::UINT_24
@ UINT_24
Definition
DataType.h:17
ehs::DataType::SINT_8
@ SINT_8
Definition
DataType.h:20
ehs::DataType::SINT_64
@ SINT_64
Definition
DataType.h:11
ehs::DataType::UINT_8
@ UINT_8
Definition
DataType.h:21
ehs::DataType::UINT_64
@ UINT_64
Definition
DataType.h:12
ehs::DataType::LDOUBLE
@ LDOUBLE
Definition
DataType.h:9
ehs::DataType::FLOAT
@ FLOAT
Definition
DataType.h:13
ehs::DataType::SINT_16
@ SINT_16
Definition
DataType.h:18
ehs::DataType::DOUBLE
@ DOUBLE
Definition
DataType.h:10
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.13.2