mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 08:12:44 +03:00
24 lines
504 B
C++
24 lines
504 B
C++
#include "gx/CGxFormat.hpp"
|
|
|
|
const char* CGxFormat::formatToBitsString[] = {
|
|
"16", // Fmt_Rgb565
|
|
"24", // Fmt_ArgbX888
|
|
"24", // Fmt_Argb8888
|
|
"30", // Fmt_Argb2101010
|
|
"16", // Fmt_Ds160
|
|
"24", // Fmt_Ds24X
|
|
"24", // Fmt_Ds248
|
|
"32", // Fmt_Ds320
|
|
};
|
|
|
|
int32_t CGxFormat::formatToBitsUint[] = {
|
|
16, // Fmt_Rgb565
|
|
24, // Fmt_ArgbX888
|
|
24, // Fmt_Argb8888
|
|
30, // Fmt_Argb2101010
|
|
16, // Fmt_Ds160
|
|
24, // Fmt_Ds24X
|
|
24, // Fmt_Ds248
|
|
32, // Fmt_Ds320
|
|
};
|