Enum
VkVideoCodecOperationFlagBitsKHR
Video codec operation bits
Possible values of VkVideoProfileInfoKHR::videoCodecOperation,
specifying the type of video coding operation and video compression standard
used by a video profile, are:
typedef enum VkVideoCodecOperationFlagBitsKHR {
VK_VIDEO_CODEC_OPERATION_NONE_KHR = 0,
// Provided by extensions
VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR = 0x00010000,
VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHR = 0x00020000,
VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR = 0x00000001,
VK_VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR = 0x00000002,
VK_VIDEO_CODEC_OPERATION_DECODE_AV1_BIT_KHR = 0x00000004,
VK_VIDEO_CODEC_OPERATION_ENCODE_AV1_BIT_KHR = 0x00040000,
VK_VIDEO_CODEC_OPERATION_DECODE_VP9_BIT_KHR = 0x00000008,
} VkVideoCodecOperationFlagBitsKHR;
pub struct VideoCodecOperationFlagBitsKHR(u32);
impl VideoCodecOperationFlagBitsKHR {
pub const NONE: Self = 0;
pub const ENCODE_H264: Self = 0x00010000;
pub const ENCODE_H265: Self = 0x00020000;
pub const DECODE_H264: Self = 0x00000001;
pub const DECODE_H265: Self = 0x00000002;
pub const DECODE_AV1: Self = 0x00000004;
pub const ENCODE_AV1: Self = 0x00040000;
pub const DECODE_VP9: Self = 0x00000008;
}
VK_VIDEO_CODEC_OPERATION_NONE_KHRspecifies that no video codec operations are supported.VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHRspecifies support for H.264 decode operations.VK_VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHRspecifies support for H.265 decode operations.VK_VIDEO_CODEC_OPERATION_DECODE_VP9_BIT_KHRspecifies support for VP9 decode operations.VK_VIDEO_CODEC_OPERATION_DECODE_AV1_BIT_KHRspecifies support for AV1 decode operations.VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHRspecifies support for H.264 encode operations.VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHRspecifies support for H.265 encode operations.VK_VIDEO_CODEC_OPERATION_ENCODE_AV1_BIT_KHRspecifies support for AV1 encode operations.
Parent
VK_KHR_video_queueType
Enum