Enum
VkVideoEncodeIntraRefreshModeFlagBitsKHR
Video encode intra refresh modes
The intra refresh modes are defined with the following enums:
typedef enum VkVideoEncodeIntraRefreshModeFlagBitsKHR {
VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_NONE_KHR = 0,
VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_PER_PICTURE_PARTITION_BIT_KHR = 0x00000001,
VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_BASED_BIT_KHR = 0x00000002,
VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_ROW_BASED_BIT_KHR = 0x00000004,
VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_COLUMN_BASED_BIT_KHR = 0x00000008,
} VkVideoEncodeIntraRefreshModeFlagBitsKHR;
pub struct VideoEncodeIntraRefreshModeFlagBitsKHR(u32);
impl VideoEncodeIntraRefreshModeFlagBitsKHR {
pub const NONE: Self = 0;
pub const PER_PICTURE_PARTITION: Self = 0x00000001;
pub const BLOCK_BASED: Self = 0x00000002;
pub const BLOCK_ROW_BASED: Self = 0x00000004;
pub const BLOCK_COLUMN_BASED: Self = 0x00000008;
}
VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_NONE_KHRspecifies that intra refresh must not be used.VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_PER_PICTURE_PARTITION_BIT_KHRspecifies the use of per picture partition intra refresh. In this mode each intra refresh region i corresponds to the encoded picture partition i.VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_BASED_BIT_KHRspecifies the use of any block-based intra refresh. In this mode each intra refresh region encompasses a set of coding blocks, independent of encoded picture partitions but without any additional guarantees on the granularity at which the picture is split into intra refresh regions. When using this mode, the set of coding blocks comprising the intra refresh regions and the direction of intra refresh are implementation-defined.VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_ROW_BASED_BIT_KHRspecifies the use of block-row-based intra refresh. This mode is a block-based intra refresh mode where each intra refresh region encompasses a set of coding block rows.VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_COLUMN_BASED_BIT_KHRspecifies the use of block-column-based intra refresh. This mode is a block-based intra refresh mode where each intra refresh region encompasses a set of coding block columns.
Type
Enum