namespace Brutal.VulkanApi { /// /// VkVideoEncodeRgbRangeCompressionFlagBitsVALVE - Range compression operation to perform for encode rgb conversion /// /// /// /// The video encode {RGBprime} range compression to be applied to color /// component values of the encode input picture^ before /// video coding is defined by the rgbRange member of the /// VkVideoEncodeSessionRgbConversionCreateInfoVALVE structure. /// /// /// The VkVideoEncodeRgbRangeCompressionFlagsVALVE enum describes /// whether color components are encoded using the full range of numerical /// values or whether values are reserved for headroom and foot room: /// /// /// // Provided by VK_VALVE_video_encode_rgb_conversion /// typedef enum VkVideoEncodeRgbRangeCompressionFlagBitsVALVE { /// VK_VIDEO_ENCODE_RGB_RANGE_COMPRESSION_FULL_RANGE_BIT_VALVE = 0x00000001, /// VK_VIDEO_ENCODE_RGB_RANGE_COMPRESSION_NARROW_RANGE_BIT_VALVE = 0x00000002, /// } VkVideoEncodeRgbRangeCompressionFlagBitsVALVE; /// /// [Flags] public enum VkVideoEncodeRGBRangeCompressionFlagsVALVE : int { /// No flags set. None = 0, /// /// FullRangeBitVALVE specifies the following transformations are applied: + [latexmath] ++++ \begin{aligned} Y' &= C'_{rgba}[G] \\ C_B &= C'_{rgba}[B] - {{2^{(n-1)}}\over{(2^n) - 1}} \\ C_R &= C'_{rgba}[R] - {{2^{(n-1)}}\over{(2^n) - 1}} \end{aligned} ++++ + [NOTE] /// FullRangeBitVALVE = 0x00000001, /// /// NarrowRangeBitVALVE /// NarrowRangeBitVALVE = 0x00000002, /// /// FlagBitsMaxEnumVALVE /// FlagBitsMaxEnumVALVE = 0x7FFFFFFF, } }