1 #pragma once 2 3 #include <cstdint> 4 5 namespace pixel::graphics { 6 7 // FormatType alludes to the type of components that are in the buffer of a particular format. This 8 // is same as querying for PlaneLayouts and then checking the stored components 9 // (PlaneLayoutComponentType) in the buffer. 10 enum class FormatType : uint8_t { 11 // Format component type is RAW or unknown 12 UNKNOWN, 13 14 // Format components are strictly a subset of R, G, B, and A 15 RGB, 16 17 // Format components are strictly a subset of Y, CB, and CR 18 YUV, 19 }; 20 21 } // namespace pixel::graphics 22