Enum
VkVideoDecodeUsageFlagBitsKHR
Video decode usage flags
The following bits can be specified in
VkVideoDecodeUsageInfoKHR::videoUsageHints as a hint about the
video decode use case:
typedef enum VkVideoDecodeUsageFlagBitsKHR {
VK_VIDEO_DECODE_USAGE_DEFAULT_KHR = 0,
VK_VIDEO_DECODE_USAGE_TRANSCODING_BIT_KHR = 0x00000001,
VK_VIDEO_DECODE_USAGE_OFFLINE_BIT_KHR = 0x00000002,
VK_VIDEO_DECODE_USAGE_STREAMING_BIT_KHR = 0x00000004,
} VkVideoDecodeUsageFlagBitsKHR;
pub struct VideoDecodeUsageFlagBitsKHR(u32);
impl VideoDecodeUsageFlagBitsKHR {
pub const DEFAULT: Self = 0;
pub const TRANSCODING: Self = 0x00000001;
pub const OFFLINE: Self = 0x00000002;
pub const STREAMING: Self = 0x00000004;
}
VK_VIDEO_DECODE_USAGE_TRANSCODING_BIT_KHRspecifies that video decoding is intended to be used in conjunction with video encoding to transcode a video bitstream with the same and/or different codecs.VK_VIDEO_DECODE_USAGE_OFFLINE_BIT_KHRspecifies that video decoding is intended to be used to consume a local video bitstream.VK_VIDEO_DECODE_USAGE_STREAMING_BIT_KHRspecifies that video decoding is intended to be used to consume a video bitstream received as a continuous flow over network.
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 use case.
Type
Enum