namespace Brutal.VulkanApi { /// /// VkVideoChromaSubsamplingFlagBitsKHR - Video format chroma subsampling bits /// /// /// /// The video format chroma subsampling is defined with the following enums: /// /// /// // Provided by VK_KHR_video_queue /// typedef enum VkVideoChromaSubsamplingFlagBitsKHR { /// VK_VIDEO_CHROMA_SUBSAMPLING_INVALID_KHR = 0, /// VK_VIDEO_CHROMA_SUBSAMPLING_MONOCHROME_BIT_KHR = 0x00000001, /// VK_VIDEO_CHROMA_SUBSAMPLING_420_BIT_KHR = 0x00000002, /// VK_VIDEO_CHROMA_SUBSAMPLING_422_BIT_KHR = 0x00000004, /// VK_VIDEO_CHROMA_SUBSAMPLING_444_BIT_KHR = 0x00000008, /// } VkVideoChromaSubsamplingFlagBitsKHR; /// /// [Flags] public enum VkVideoChromaSubsamplingFlagsKHR : int { /// No flags set. None = 0, /// /// InvalidKHR /// InvalidKHR = 0, /// /// MonochromeBitKHR specifies that the format is monochrome. /// MonochromeBitKHR = 0x00000001, /// /// _420BitKHR specified that the format is 4:2:0 chroma subsampled, i.e. the two chroma components are sampled horizontally and vertically at half the sample rate of the luma component. /// _420BitKHR = 0x00000002, /// /// _422BitKHR - the format is 4:2:2 chroma subsampled, i.e. the two chroma components are sampled horizontally at half the sample rate of luma component. /// _422BitKHR = 0x00000004, /// /// _444BitKHR - the format is 4:4:4 chroma sampled, i.e. all three components of the {YCbCr} format are sampled at the same rate, thus there is no chroma subsampling. /// _444BitKHR = 0x00000008, /// /// FlagBitsMaxEnumKHR /// FlagBitsMaxEnumKHR = 0x7FFFFFFF, } }