namespace Brutal.VulkanApi { /// /// VkVideoEncodeH264QualityLevelPropertiesKHR - Structure describing the H.264 encode quality level properties /// /// /// /// When calling vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR /// with pVideoProfile->videoCodecOperation specified as /// VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR, the /// VkVideoEncodeH264QualityLevelPropertiesKHR structure must be included /// in the pNext chain of the VkVideoEncodeQualityLevelPropertiesKHR /// structure to retrieve additional video encode quality level properties /// specific to H.264 encoding. /// /// /// The VkVideoEncodeH264QualityLevelPropertiesKHR structure is defined /// as: /// /// /// // Provided by VK_KHR_video_encode_h264 /// typedef struct VkVideoEncodeH264QualityLevelPropertiesKHR { /// VkStructureType sType; /// void* pNext; /// VkVideoEncodeH264RateControlFlagsKHR preferredRateControlFlags; /// uint32_t preferredGopFrameCount; /// uint32_t preferredIdrPeriod; /// uint32_t preferredConsecutiveBFrameCount; /// uint32_t preferredTemporalLayerCount; /// VkVideoEncodeH264QpKHR preferredConstantQp; /// uint32_t preferredMaxL0ReferenceCount; /// uint32_t preferredMaxL1ReferenceCount; /// VkBool32 preferredStdEntropyCodingModeFlag; /// } VkVideoEncodeH264QualityLevelPropertiesKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkVideoEncodeH264QualityLevelPropertiesKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoEncodeH264QualityLevelPropertiesKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// PreferredRateControlFlags is a bitmask of VkVideoEncodeH264RateControlFlagsKHR values indicating the preferred flags to use for VkVideoEncodeH264RateControlInfoKHR::flags. /// [FieldOffset(16)] public VkVideoEncodeH264RateControlFlagsKHR PreferredRateControlFlags; /// /// PreferredGopFrameCount indicates the preferred value to use for VkVideoEncodeH264RateControlInfoKHR::gopFrameCount. /// [FieldOffset(20)] public int PreferredGopFrameCount; /// /// PreferredIdrPeriod indicates the preferred value to use for VkVideoEncodeH264RateControlInfoKHR::idrPeriod. /// [FieldOffset(24)] public int PreferredIdrPeriod; /// /// PreferredConsecutiveBFrameCount indicates the preferred value to use for VkVideoEncodeH264RateControlInfoKHR::consecutiveBFrameCount. /// [FieldOffset(28)] public int PreferredConsecutiveBFrameCount; /// /// PreferredTemporalLayerCount indicates the preferred value to use for VkVideoEncodeH264RateControlInfoKHR::temporalLayerCount. /// [FieldOffset(32)] public int PreferredTemporalLayerCount; /// /// PreferredConstantQp indicates the preferred values to use for VkVideoEncodeH264NaluSliceInfoKHR::constantQp for each picture type when using rate control mode^ VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR. /// [FieldOffset(36)] public VkVideoEncodeH264QpKHR PreferredConstantQp; /// /// PreferredMaxL0ReferenceCount indicates the preferred maximum number of reference pictures to use in the reference list L0. /// [FieldOffset(48)] public int PreferredMaxL0ReferenceCount; /// /// PreferredMaxL1ReferenceCount indicates the preferred maximum number of reference pictures to use in the reference list L1. /// [FieldOffset(52)] public int PreferredMaxL1ReferenceCount; /// /// PreferredStdEntropyCodingModeFlag indicates the preferred value to use for entropy_coding_mode_flag in StdVideoH264PpsFlags. /// [FieldOffset(56)] public Brutal.Bool32 PreferredStdEntropyCodingModeFlag; } }