[{"data":1,"prerenderedAt":466},["ShallowReactive",2],{"Lj482IYbU5":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":465,"_id":4},"VkVideoFormatAV1QuantizationMapPropertiesKHR","Structure describing AV1 quantization map properties","VK_KHR_video_encode_quantization_map","structs",[],{"type":10,"children":11,"toc":463},"root",[12,68,80,285,392,425,457],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,35,37,42,44,50,52,58,60,66],{"type":18,"value":19},"text","When calling ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/vkGetPhysicalDeviceVideoFormatPropertiesKHR",[25],{"type":18,"value":26},"vkGetPhysicalDeviceVideoFormatPropertiesKHR",{"type":18,"value":28},", the\n",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":4},{"type":18,"value":36}," structure ",{"type":13,"tag":38,"props":39,"children":41},"normative",{"type":40},"can",[],{"type":18,"value":43}," be\nincluded in the ",{"type":13,"tag":30,"props":45,"children":47},{"className":46},[],[48],{"type":18,"value":49},"pNext",{"type":18,"value":51}," chain of the ",{"type":13,"tag":21,"props":53,"children":55},{"href":54},"/man/VkVideoFormatPropertiesKHR",[56],{"type":18,"value":57},"VkVideoFormatPropertiesKHR",{"type":18,"value":59},"\nstructure to retrieve video format properties specific to video encode\nquantization maps used with an ",{"type":13,"tag":21,"props":61,"children":63},{"href":62},"/chapters/video-coding#encode-av1-profile",[64],{"type":18,"value":65},"AV1 encode profile",{"type":18,"value":67},".",{"type":13,"tag":14,"props":69,"children":70},{},[71,73,78],{"type":18,"value":72},"The ",{"type":13,"tag":30,"props":74,"children":76},{"className":75},[],[77],{"type":18,"value":4},{"type":18,"value":79}," structure is defined\nas:",{"type":13,"tag":81,"props":82,"children":83},"code-group",{},[84,160],{"type":13,"tag":85,"props":86,"children":92},"pre",{"className":87,"code":88,"filename":89,"language":90,"meta":91,"style":91},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkVideoFormatAV1QuantizationMapPropertiesKHR {\n VkStructureType sType;\n void* pNext;\n VkVideoEncodeAV1SuperblockSizeFlagsKHR compatibleSuperblockSizes;\n} VkVideoFormatAV1QuantizationMapPropertiesKHR;\n","C","c","",[93],{"type":13,"tag":30,"props":94,"children":95},{"__ignoreMap":91},[96,119,128,142,151],{"type":13,"tag":97,"props":98,"children":101},"span",{"class":99,"line":100},"line",1,[102,108,113],{"type":13,"tag":97,"props":103,"children":105},{"style":104},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[106],{"type":18,"value":107},"typedef",{"type":13,"tag":97,"props":109,"children":110},{"style":104},[111],{"type":18,"value":112}," struct",{"type":13,"tag":97,"props":114,"children":116},{"style":115},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[117],{"type":18,"value":118}," VkVideoFormatAV1QuantizationMapPropertiesKHR {\n",{"type":13,"tag":97,"props":120,"children":122},{"class":99,"line":121},2,[123],{"type":13,"tag":97,"props":124,"children":125},{"style":115},[126],{"type":18,"value":127}," VkStructureType sType;\n",{"type":13,"tag":97,"props":129,"children":131},{"class":99,"line":130},3,[132,137],{"type":13,"tag":97,"props":133,"children":134},{"style":104},[135],{"type":18,"value":136}," void*",{"type":13,"tag":97,"props":138,"children":139},{"style":115},[140],{"type":18,"value":141}," pNext;\n",{"type":13,"tag":97,"props":143,"children":145},{"class":99,"line":144},4,[146],{"type":13,"tag":97,"props":147,"children":148},{"style":115},[149],{"type":18,"value":150}," VkVideoEncodeAV1SuperblockSizeFlagsKHR compatibleSuperblockSizes;\n",{"type":13,"tag":97,"props":152,"children":154},{"class":99,"line":153},5,[155],{"type":13,"tag":97,"props":156,"children":157},{"style":115},[158],{"type":18,"value":159},"} VkVideoFormatAV1QuantizationMapPropertiesKHR;\n",{"type":13,"tag":85,"props":161,"children":166},{"className":162,"code":163,"filename":164,"language":165,"meta":91,"style":91},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoFormatAV1QuantizationMapPropertiesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n compatible_superblock_sizes: vk::VideoEncodeAV1SuperblockSizeFlagsKHR,\n}\n","Rust","rs",[167],{"type":13,"tag":30,"props":168,"children":169},{"__ignoreMap":91},[170,193,226,248,277],{"type":13,"tag":97,"props":171,"children":172},{"class":99,"line":100},[173,178,182,188],{"type":13,"tag":97,"props":174,"children":175},{"style":104},[176],{"type":18,"value":177},"pub",{"type":13,"tag":97,"props":179,"children":180},{"style":104},[181],{"type":18,"value":112},{"type":13,"tag":97,"props":183,"children":185},{"style":184},"--shiki-default:#953800;--shiki-dark:#FFA657",[186],{"type":18,"value":187}," VideoFormatAV1QuantizationMapPropertiesKHR",{"type":13,"tag":97,"props":189,"children":190},{"style":115},[191],{"type":18,"value":192}," {\n",{"type":13,"tag":97,"props":194,"children":195},{"class":99,"line":121},[196,201,206,211,216,221],{"type":13,"tag":97,"props":197,"children":198},{"style":115},[199],{"type":18,"value":200}," s_type",{"type":13,"tag":97,"props":202,"children":203},{"style":104},[204],{"type":18,"value":205},":",{"type":13,"tag":97,"props":207,"children":208},{"style":184},[209],{"type":18,"value":210}," vk",{"type":13,"tag":97,"props":212,"children":213},{"style":104},[214],{"type":18,"value":215},"::",{"type":13,"tag":97,"props":217,"children":218},{"style":184},[219],{"type":18,"value":220},"StructureType",{"type":13,"tag":97,"props":222,"children":223},{"style":115},[224],{"type":18,"value":225},",\n",{"type":13,"tag":97,"props":227,"children":228},{"class":99,"line":130},[229,234,238,243],{"type":13,"tag":97,"props":230,"children":231},{"style":115},[232],{"type":18,"value":233}," p_next",{"type":13,"tag":97,"props":235,"children":236},{"style":104},[237],{"type":18,"value":205},{"type":13,"tag":97,"props":239,"children":240},{"style":104},[241],{"type":18,"value":242}," *mut",{"type":13,"tag":97,"props":244,"children":245},{"style":115},[246],{"type":18,"value":247}," c_void,\n",{"type":13,"tag":97,"props":249,"children":250},{"class":99,"line":144},[251,256,260,264,268,273],{"type":13,"tag":97,"props":252,"children":253},{"style":115},[254],{"type":18,"value":255}," compatible_superblock_sizes",{"type":13,"tag":97,"props":257,"children":258},{"style":104},[259],{"type":18,"value":205},{"type":13,"tag":97,"props":261,"children":262},{"style":184},[263],{"type":18,"value":210},{"type":13,"tag":97,"props":265,"children":266},{"style":104},[267],{"type":18,"value":215},{"type":13,"tag":97,"props":269,"children":270},{"style":184},[271],{"type":18,"value":272},"VideoEncodeAV1SuperblockSizeFlagsKHR",{"type":13,"tag":97,"props":274,"children":275},{"style":115},[276],{"type":18,"value":225},{"type":13,"tag":97,"props":278,"children":279},{"class":99,"line":153},[280],{"type":13,"tag":97,"props":281,"children":282},{"style":115},[283],{"type":18,"value":284},"}\n",{"type":13,"tag":286,"props":287,"children":288},"ul",{},[289,309,327],{"type":13,"tag":290,"props":291,"children":292},"li",{},[293,299,301,307],{"type":13,"tag":30,"props":294,"children":296},{"className":295},[],[297],{"type":18,"value":298},"sType",{"type":18,"value":300}," is a ",{"type":13,"tag":21,"props":302,"children":304},{"href":303},"/man/VkStructureType",[305],{"type":18,"value":306},"VkStructureType",{"type":18,"value":308}," value identifying this structure.",{"type":13,"tag":290,"props":310,"children":311},{},[312,317,319,325],{"type":13,"tag":30,"props":313,"children":315},{"className":314},[],[316],{"type":18,"value":49},{"type":18,"value":318}," is ",{"type":13,"tag":30,"props":320,"children":322},{"className":321},[],[323],{"type":18,"value":324},"NULL",{"type":18,"value":326}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":290,"props":328,"children":329},{},[330,336,338,344,346],{"type":13,"tag":30,"props":331,"children":333},{"className":332},[],[334],{"type":18,"value":335},"compatibleSuperblockSizes",{"type":18,"value":337}," is a bitmask of\n",{"type":13,"tag":21,"props":339,"children":341},{"href":340},"/man/VkVideoEncodeAV1SuperblockSizeFlagBitsKHR",[342],{"type":18,"value":343},"VkVideoEncodeAV1SuperblockSizeFlagBitsKHR",{"type":18,"value":345}," indicating the AV1\nsuperblock sizes that quantization maps using this video format are\ncompatible with.",{"type":13,"tag":347,"props":348,"children":349},"note",{},[350],{"type":13,"tag":14,"props":351,"children":352},{},[353,355,360,362,367,369,375,376,382,384,390],{"type":18,"value":354},"The value of ",{"type":13,"tag":30,"props":356,"children":358},{"className":357},[],[359],{"type":18,"value":335},{"type":18,"value":361}," does not limit the use of the\nspecific quantization map format, but does limit the implementation in being\nable to encode pictures with superblock sizes not included in\n",{"type":13,"tag":30,"props":363,"children":365},{"className":364},[],[366],{"type":18,"value":335},{"type":18,"value":368}," but otherwise supported by the used video\nprofile, as indicated by\n",{"type":13,"tag":21,"props":370,"children":372},{"href":371},"/man/VkVideoEncodeAV1CapabilitiesKHR",[373],{"type":18,"value":374},"VkVideoEncodeAV1CapabilitiesKHR",{"type":18,"value":215},{"type":13,"tag":30,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":381},"superblockSizes",{"type":18,"value":383},".\nIn particular, using smaller\n",{"type":13,"tag":21,"props":385,"children":387},{"href":386},"/chapters/video-coding#encode-quantization-map-texel-size",[388],{"type":18,"value":389},"quantization map texel sizes",{"type":18,"value":391}," may\nprevent implementations from encoding with larger superblock sizes which may\nhave a negative impact on the efficiency of the encoder.",{"type":13,"tag":14,"props":393,"children":394},{},[395,397,401,402,408,410,416,418,424],{"type":18,"value":396},"The values returned in this structure are only defined if the allowed image\nusage flags returned in\n",{"type":13,"tag":21,"props":398,"children":399},{"href":54},[400],{"type":18,"value":57},{"type":18,"value":215},{"type":13,"tag":30,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":407},"imageUsageFlags",{"type":18,"value":409}," for this video\nformat include\n",{"type":13,"tag":30,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":415},"VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR",{"type":18,"value":417}," or\n",{"type":13,"tag":30,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":423},"VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR",{"type":18,"value":67},{"type":13,"tag":426,"props":427,"children":429},"validity-group",{"name":428},"Valid Usage (Implicit)",[430],{"type":13,"tag":431,"props":432,"children":434},"validity-field",{"name":433},"VUID-VkVideoFormatAV1QuantizationMapPropertiesKHR-sType-sType",[435],{"type":13,"tag":14,"props":436,"children":437},{},[438,443,445,449,451],{"type":13,"tag":30,"props":439,"children":441},{"className":440},[],[442],{"type":18,"value":298},{"type":18,"value":444}," ",{"type":13,"tag":38,"props":446,"children":448},{"type":447},"must",[],{"type":18,"value":450}," be ",{"type":13,"tag":30,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"VK_STRUCTURE_TYPE_VIDEO_FORMAT_AV1_QUANTIZATION_MAP_PROPERTIES_KHR",{"type":13,"tag":458,"props":459,"children":460},"style",{},[461],{"type":18,"value":462},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":91,"searchDepth":121,"depth":121,"links":464},[],"markdown",1744876579146]