namespace Brutal.VulkanApi { /// /// VkVideoEncodeRateControlModeFlagBitsKHR - Video encode rate control modes /// /// /// /// The rate control modes are defined with the following enums: /// /// /// // Provided by VK_KHR_video_encode_queue /// typedef enum VkVideoEncodeRateControlModeFlagBitsKHR { /// VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHR = 0, /// VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR = 0x00000001, /// VK_VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHR = 0x00000002, /// VK_VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHR = 0x00000004, /// } VkVideoEncodeRateControlModeFlagBitsKHR; /// /// [Flags] public enum VkVideoEncodeRateControlModeFlagsKHR : int { /// No flags set. None = 0, /// /// DefaultKHR specifies the use of implementation-specific rate control. /// DefaultKHR = 0, /// /// DisabledBitKHR specifies that rate control is disabled and the application will specify per-operation rate control parameters controlling the encoding quality. In this mode implementations will encode pictures independently of the output bitrate of prior video encode operations. /// DisabledBitKHR = 0x00000001, /// /// CbrBitKHR specifies the use of constant bitrate (CBR) rate control mode. In this mode the implementation will attempt to produce the encoded bitstream at a constant bitrate while conforming to the constraints of other rate control parameters. /// CbrBitKHR = 0x00000002, /// /// VbrBitKHR specifies the use of variable bitrate (VBR) rate control mode. In this mode the implementation will produce the encoded bitstream at a variable bitrate according to the constraints of other rate control parameters. /// VbrBitKHR = 0x00000004, /// /// FlagBitsMaxEnumKHR /// FlagBitsMaxEnumKHR = 0x7FFFFFFF, } }