Write all enum field names in PascalCase

This commit is contained in:
Speykious
2022-01-16 08:06:08 +01:00
parent ff13083284
commit 5fa4ac3663

View File

@ -9,14 +9,14 @@ namespace Mediapipe.Net.Gpu
KUnknown = 0,
KBgra32 = ('B' << 24) + ('G' << 16) + ('R' << 8) + 'A',
kGrayFloat32 = ('L' << 24) + ('0' << 16) + ('0' << 8) + 'f',
kGrayHalf16 = ('L' << 24) + ('0' << 16) + ('0' << 8) + 'h',
kOneComponent8 = ('L' << 24) + ('0' << 16) + ('0' << 8) + '8',
kTwoComponentHalf16 = ('2' << 24) + ('C' << 16) + ('0' << 8) + 'h',
kTwoComponentFloat32 = ('2' << 24) + ('C' << 16) + ('0' << 8) + 'f',
kBiPlanar420YpCbCr8VideoRange = ('4' << 24) + ('2' << 16) + ('0' << 8) + 'v',
kBiPlanar420YpCbCr8FullRange = ('4' << 24) + ('2' << 16) + ('0' << 8) + 'f',
kRgb24 = 0x00000018, // Note: prefer Bgra32 whenever possible.
kRgbaHalf64 = ('R' << 24) + ('G' << 16) + ('h' << 8) + 'A',
kRgbaFloat128 = ('R' << 24) + ('G' << 16) + ('f' << 8) + 'A',
KGrayHalf16 = ('L' << 24) + ('0' << 16) + ('0' << 8) + 'h',
KOneComponent8 = ('L' << 24) + ('0' << 16) + ('0' << 8) + '8',
KTwoComponentHalf16 = ('2' << 24) + ('C' << 16) + ('0' << 8) + 'h',
KTwoComponentFloat32 = ('2' << 24) + ('C' << 16) + ('0' << 8) + 'f',
KBiPlanar420YpCbCr8VideoRange = ('4' << 24) + ('2' << 16) + ('0' << 8) + 'v',
KBiPlanar420YpCbCr8FullRange = ('4' << 24) + ('2' << 16) + ('0' << 8) + 'f',
KRgb24 = 0x00000018, // Note: prefer Bgra32 whenever possible.
KRgbaHalf64 = ('R' << 24) + ('G' << 16) + ('h' << 8) + 'A',
KRgbaFloat128 = ('R' << 24) + ('G' << 16) + ('f' << 8) + 'A',
}
}