Enum
VkVideoEncodeContentFlagBitsKHR
Video encode content flags
The following bits can be specified in
VkVideoEncodeUsageInfoKHR::videoContentHints as a hint about the
encoded video content:
typedef enum VkVideoEncodeContentFlagBitsKHR {
VK_VIDEO_ENCODE_CONTENT_DEFAULT_KHR = 0,
VK_VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHR = 0x00000001,
VK_VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHR = 0x00000002,
VK_VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHR = 0x00000004,
} VkVideoEncodeContentFlagBitsKHR;
pub struct VideoEncodeContentFlagBitsKHR(u32);
impl VideoEncodeContentFlagBitsKHR {
pub const DEFAULT: Self = 0;
pub const CAMERA: Self = 0x00000001;
pub const DESKTOP: Self = 0x00000002;
pub const RENDERED: Self = 0x00000004;
}
VK_VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHRspecifies that video encoding is intended to be used to encode camera content.VK_VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHRspecifies that video encoding is intended to be used to encode desktop content.VK_VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHRspecified that video encoding is intended to be used to encode rendered (e.g. game) content.
There are no restrictions on the combination of bits that can be specified
by the application.
However, applications should use reasonable combinations in order for the
implementation to be able to select the most appropriate mode of operation
for the particular content type.
Type
Enum