mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Adds some default values.
This commit is contained in:
parent
68d6feaa03
commit
a321ff3037
@ -99,11 +99,15 @@ inline size_t size_for_data_type(InputDataType data_type) {
|
|||||||
case InputDataType::Red8Green8Blue8:
|
case InputDataType::Red8Green8Blue8:
|
||||||
case InputDataType::PhaseLinkedLuminance8:
|
case InputDataType::PhaseLinkedLuminance8:
|
||||||
return 4;
|
return 4;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
inline DisplayType natural_display_type_for_data_type(InputDataType data_type) {
|
inline DisplayType natural_display_type_for_data_type(InputDataType data_type) {
|
||||||
switch(data_type) {
|
switch(data_type) {
|
||||||
|
default:
|
||||||
case InputDataType::Luminance1:
|
case InputDataType::Luminance1:
|
||||||
case InputDataType::Luminance8:
|
case InputDataType::Luminance8:
|
||||||
case InputDataType::PhaseLinkedLuminance8:
|
case InputDataType::PhaseLinkedLuminance8:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user