Conversions
Description
Defines commonly used methods for converting between normalized values with different bit-depths.
Public / Methods
Convert_16_To_24
Converts the given 16-bit value of range [0..65535]
to a 24-bit value of range [0..16777215]
.
Convert_16_To_30
Converts the given 16-bit value of range [0..65535]
to a 30-bit value of range [0..1073741823]
.
Convert_16_To_8
Converts the given 16-bit value of range [0..65535]
to a 8-bit value of range [0..255]
.
Convert_24_To_16
Converts the given 24-bit value of range [0..16777215]
to a 16-bit value of range [0..65535]
.
Convert_24_To_30
Converts the given 24-bit value of range [0..16777215]
to a 30-bit value of range [0..1073741823]
.
Convert_24_To_8
Converts the given 24-bit value of range [0..16777215]
to a 8-bit value of range [0..255]
.
Convert_30_To_16
Converts the given 30-bit value of range [0..1073741823]
to a 16-bit value of range [0..65535]
.
Convert_30_To_24
Converts the given 30-bit value of range [0..1073741823]
to a 24-bit value of range [0..16777215]
.
Convert_30_To_8
Converts the given 30-bit value of range [0..1073741823]
to an 8-bit value of range [0..255]
.
Convert_8_To_16
Converts the given 8-bit value of range [0..255]
to a 16-bit value of range [0..65535]
.