[{"data":1,"prerenderedAt":684},["ShallowReactive",2],{"72niPsdbEY":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":683,"_id":4},"VkVideoFormatPropertiesKHR","Structure enumerating the video image formats","VK_KHR_video_queue","structs",[],{"type":10,"children":11,"toc":681},"root",[12,28,423,621,675],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,153],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkVideoFormatPropertiesKHR {\n VkStructureType sType;\n void* pNext;\n VkFormat format;\n VkComponentMapping componentMapping;\n VkImageCreateFlags imageCreateFlags;\n VkImageType imageType;\n VkImageTiling imageTiling;\n VkImageUsageFlags imageUsageFlags;\n} VkVideoFormatPropertiesKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99,108,117,126,135,144],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkVideoFormatPropertiesKHR {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkFormat format;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107}," VkComponentMapping componentMapping;\n",{"type":13,"tag":45,"props":109,"children":111},{"class":47,"line":110},6,[112],{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116}," VkImageCreateFlags imageCreateFlags;\n",{"type":13,"tag":45,"props":118,"children":120},{"class":47,"line":119},7,[121],{"type":13,"tag":45,"props":122,"children":123},{"style":63},[124],{"type":18,"value":125}," VkImageType imageType;\n",{"type":13,"tag":45,"props":127,"children":129},{"class":47,"line":128},8,[130],{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134}," VkImageTiling imageTiling;\n",{"type":13,"tag":45,"props":136,"children":138},{"class":47,"line":137},9,[139],{"type":13,"tag":45,"props":140,"children":141},{"style":63},[142],{"type":18,"value":143}," VkImageUsageFlags imageUsageFlags;\n",{"type":13,"tag":45,"props":145,"children":147},{"class":47,"line":146},10,[148],{"type":13,"tag":45,"props":149,"children":150},{"style":63},[151],{"type":18,"value":152},"} VkVideoFormatPropertiesKHR;\n",{"type":13,"tag":33,"props":154,"children":159},{"className":155,"code":156,"filename":157,"language":158,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoFormatPropertiesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n format: vk::Format,\n component_mapping: vk::ComponentMapping,\n image_create_flags: vk::ImageCreateFlags,\n image_type: vk::ImageType,\n image_tiling: vk::ImageTiling,\n image_usage_flags: vk::ImageUsageFlags,\n}\n","Rust","rs",[160],{"type":13,"tag":21,"props":161,"children":162},{"__ignoreMap":39},[163,186,219,241,270,299,328,357,386,415],{"type":13,"tag":45,"props":164,"children":165},{"class":47,"line":48},[166,171,175,181],{"type":13,"tag":45,"props":167,"children":168},{"style":52},[169],{"type":18,"value":170},"pub",{"type":13,"tag":45,"props":172,"children":173},{"style":52},[174],{"type":18,"value":60},{"type":13,"tag":45,"props":176,"children":178},{"style":177},"--shiki-default:#953800;--shiki-dark:#FFA657",[179],{"type":18,"value":180}," VideoFormatPropertiesKHR",{"type":13,"tag":45,"props":182,"children":183},{"style":63},[184],{"type":18,"value":185}," {\n",{"type":13,"tag":45,"props":187,"children":188},{"class":47,"line":69},[189,194,199,204,209,214],{"type":13,"tag":45,"props":190,"children":191},{"style":63},[192],{"type":18,"value":193}," s_type",{"type":13,"tag":45,"props":195,"children":196},{"style":52},[197],{"type":18,"value":198},":",{"type":13,"tag":45,"props":200,"children":201},{"style":177},[202],{"type":18,"value":203}," vk",{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":208},"::",{"type":13,"tag":45,"props":210,"children":211},{"style":177},[212],{"type":18,"value":213},"StructureType",{"type":13,"tag":45,"props":215,"children":216},{"style":63},[217],{"type":18,"value":218},",\n",{"type":13,"tag":45,"props":220,"children":221},{"class":47,"line":78},[222,227,231,236],{"type":13,"tag":45,"props":223,"children":224},{"style":63},[225],{"type":18,"value":226}," p_next",{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":198},{"type":13,"tag":45,"props":232,"children":233},{"style":52},[234],{"type":18,"value":235}," *mut",{"type":13,"tag":45,"props":237,"children":238},{"style":63},[239],{"type":18,"value":240}," c_void,\n",{"type":13,"tag":45,"props":242,"children":243},{"class":47,"line":92},[244,249,253,257,261,266],{"type":13,"tag":45,"props":245,"children":246},{"style":63},[247],{"type":18,"value":248}," format",{"type":13,"tag":45,"props":250,"children":251},{"style":52},[252],{"type":18,"value":198},{"type":13,"tag":45,"props":254,"children":255},{"style":177},[256],{"type":18,"value":203},{"type":13,"tag":45,"props":258,"children":259},{"style":52},[260],{"type":18,"value":208},{"type":13,"tag":45,"props":262,"children":263},{"style":177},[264],{"type":18,"value":265},"Format",{"type":13,"tag":45,"props":267,"children":268},{"style":63},[269],{"type":18,"value":218},{"type":13,"tag":45,"props":271,"children":272},{"class":47,"line":101},[273,278,282,286,290,295],{"type":13,"tag":45,"props":274,"children":275},{"style":63},[276],{"type":18,"value":277}," component_mapping",{"type":13,"tag":45,"props":279,"children":280},{"style":52},[281],{"type":18,"value":198},{"type":13,"tag":45,"props":283,"children":284},{"style":177},[285],{"type":18,"value":203},{"type":13,"tag":45,"props":287,"children":288},{"style":52},[289],{"type":18,"value":208},{"type":13,"tag":45,"props":291,"children":292},{"style":177},[293],{"type":18,"value":294},"ComponentMapping",{"type":13,"tag":45,"props":296,"children":297},{"style":63},[298],{"type":18,"value":218},{"type":13,"tag":45,"props":300,"children":301},{"class":47,"line":110},[302,307,311,315,319,324],{"type":13,"tag":45,"props":303,"children":304},{"style":63},[305],{"type":18,"value":306}," image_create_flags",{"type":13,"tag":45,"props":308,"children":309},{"style":52},[310],{"type":18,"value":198},{"type":13,"tag":45,"props":312,"children":313},{"style":177},[314],{"type":18,"value":203},{"type":13,"tag":45,"props":316,"children":317},{"style":52},[318],{"type":18,"value":208},{"type":13,"tag":45,"props":320,"children":321},{"style":177},[322],{"type":18,"value":323},"ImageCreateFlags",{"type":13,"tag":45,"props":325,"children":326},{"style":63},[327],{"type":18,"value":218},{"type":13,"tag":45,"props":329,"children":330},{"class":47,"line":119},[331,336,340,344,348,353],{"type":13,"tag":45,"props":332,"children":333},{"style":63},[334],{"type":18,"value":335}," image_type",{"type":13,"tag":45,"props":337,"children":338},{"style":52},[339],{"type":18,"value":198},{"type":13,"tag":45,"props":341,"children":342},{"style":177},[343],{"type":18,"value":203},{"type":13,"tag":45,"props":345,"children":346},{"style":52},[347],{"type":18,"value":208},{"type":13,"tag":45,"props":349,"children":350},{"style":177},[351],{"type":18,"value":352},"ImageType",{"type":13,"tag":45,"props":354,"children":355},{"style":63},[356],{"type":18,"value":218},{"type":13,"tag":45,"props":358,"children":359},{"class":47,"line":128},[360,365,369,373,377,382],{"type":13,"tag":45,"props":361,"children":362},{"style":63},[363],{"type":18,"value":364}," image_tiling",{"type":13,"tag":45,"props":366,"children":367},{"style":52},[368],{"type":18,"value":198},{"type":13,"tag":45,"props":370,"children":371},{"style":177},[372],{"type":18,"value":203},{"type":13,"tag":45,"props":374,"children":375},{"style":52},[376],{"type":18,"value":208},{"type":13,"tag":45,"props":378,"children":379},{"style":177},[380],{"type":18,"value":381},"ImageTiling",{"type":13,"tag":45,"props":383,"children":384},{"style":63},[385],{"type":18,"value":218},{"type":13,"tag":45,"props":387,"children":388},{"class":47,"line":137},[389,394,398,402,406,411],{"type":13,"tag":45,"props":390,"children":391},{"style":63},[392],{"type":18,"value":393}," image_usage_flags",{"type":13,"tag":45,"props":395,"children":396},{"style":52},[397],{"type":18,"value":198},{"type":13,"tag":45,"props":399,"children":400},{"style":177},[401],{"type":18,"value":203},{"type":13,"tag":45,"props":403,"children":404},{"style":52},[405],{"type":18,"value":208},{"type":13,"tag":45,"props":407,"children":408},{"style":177},[409],{"type":18,"value":410},"ImageUsageFlags",{"type":13,"tag":45,"props":412,"children":413},{"style":63},[414],{"type":18,"value":218},{"type":13,"tag":45,"props":416,"children":417},{"class":47,"line":146},[418],{"type":13,"tag":45,"props":419,"children":420},{"style":63},[421],{"type":18,"value":422},"}\n",{"type":13,"tag":424,"props":425,"children":426},"ul",{},[427,448,467,492,539,558,581,603],{"type":13,"tag":428,"props":429,"children":430},"li",{},[431,437,439,446],{"type":13,"tag":21,"props":432,"children":434},{"className":433},[],[435],{"type":18,"value":436},"sType",{"type":18,"value":438}," is a ",{"type":13,"tag":440,"props":441,"children":443},"a",{"href":442},"/man/VkStructureType",[444],{"type":18,"value":445},"VkStructureType",{"type":18,"value":447}," value identifying this structure.",{"type":13,"tag":428,"props":449,"children":450},{},[451,457,459,465],{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"pNext",{"type":18,"value":458}," is ",{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":464},"NULL",{"type":18,"value":466}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":428,"props":468,"children":469},{},[470,476,477,483,485,490],{"type":13,"tag":21,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":475},"format",{"type":18,"value":438},{"type":13,"tag":440,"props":478,"children":480},{"href":479},"/man/VkFormat",[481],{"type":18,"value":482},"VkFormat",{"type":18,"value":484}," that specifies the format that ",{"type":13,"tag":486,"props":487,"children":489},"normative",{"type":488},"can",[],{"type":18,"value":491}," be\nused with the specified video profiles and image usages.",{"type":13,"tag":428,"props":493,"children":494},{},[495,501,503,508,510,515,517,522,524,529,531,537],{"type":13,"tag":21,"props":496,"children":498},{"className":497},[],[499],{"type":18,"value":500},"componentMapping",{"type":18,"value":502}," defines the color channel order used for the\nformat.\n",{"type":13,"tag":21,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":475},{"type":18,"value":509}," along with ",{"type":13,"tag":21,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":500},{"type":18,"value":516}," describe how the color\nchannels are ordered when producing video decoder output or are expected\nto be ordered in video encoder input, when applicable.\nIf the ",{"type":13,"tag":21,"props":518,"children":520},{"className":519},[],[521],{"type":18,"value":475},{"type":18,"value":523}," reported does not require component swizzling then\nall members of ",{"type":13,"tag":21,"props":525,"children":527},{"className":526},[],[528],{"type":18,"value":500},{"type":18,"value":530}," will be set to\n",{"type":13,"tag":21,"props":532,"children":534},{"className":533},[],[535],{"type":18,"value":536},"VK_COMPONENT_SWIZZLE_IDENTITY",{"type":18,"value":538},".",{"type":13,"tag":428,"props":540,"children":541},{},[542,548,550,556],{"type":13,"tag":21,"props":543,"children":545},{"className":544},[],[546],{"type":18,"value":547},"imageCreateFlags",{"type":18,"value":549}," is a bitmask of ",{"type":13,"tag":440,"props":551,"children":553},{"href":552},"/man/VkImageCreateFlagBits",[554],{"type":18,"value":555},"VkImageCreateFlagBits",{"type":18,"value":557},"\nspecifying the supported image creation flags for the format.",{"type":13,"tag":428,"props":559,"children":560},{},[561,567,568,574,576,579],{"type":13,"tag":21,"props":562,"children":564},{"className":563},[],[565],{"type":18,"value":566},"imageType",{"type":18,"value":438},{"type":13,"tag":440,"props":569,"children":571},{"href":570},"/man/VkImageType",[572],{"type":18,"value":573},"VkImageType",{"type":18,"value":575}," that specifies the image type the\nformat ",{"type":13,"tag":486,"props":577,"children":578},{"type":488},[],{"type":18,"value":580}," be used with.",{"type":13,"tag":428,"props":582,"children":583},{},[584,590,591,597,599,602],{"type":13,"tag":21,"props":585,"children":587},{"className":586},[],[588],{"type":18,"value":589},"imageTiling",{"type":18,"value":438},{"type":13,"tag":440,"props":592,"children":594},{"href":593},"/man/VkImageTiling",[595],{"type":18,"value":596},"VkImageTiling",{"type":18,"value":598}," that specifies the image\ntiling the format ",{"type":13,"tag":486,"props":600,"children":601},{"type":488},[],{"type":18,"value":580},{"type":13,"tag":428,"props":604,"children":605},{},[606,612,613,619],{"type":13,"tag":21,"props":607,"children":609},{"className":608},[],[610],{"type":18,"value":611},"imageUsageFlags",{"type":18,"value":549},{"type":13,"tag":440,"props":614,"children":616},{"href":615},"/man/VkImageUsageFlagBits",[617],{"type":18,"value":618},"VkImageUsageFlagBits",{"type":18,"value":620},"\nspecifying the supported image usage flags for the format.",{"type":13,"tag":622,"props":623,"children":625},"validity-group",{"name":624},"Valid Usage (Implicit)",[626,653],{"type":13,"tag":627,"props":628,"children":630},"validity-field",{"name":629},"VUID-VkVideoFormatPropertiesKHR-sType-sType",[631],{"type":13,"tag":14,"props":632,"children":633},{},[634,639,641,645,647],{"type":13,"tag":21,"props":635,"children":637},{"className":636},[],[638],{"type":18,"value":436},{"type":18,"value":640}," ",{"type":13,"tag":486,"props":642,"children":644},{"type":643},"must",[],{"type":18,"value":646}," be ",{"type":13,"tag":21,"props":648,"children":650},{"className":649},[],[651],{"type":18,"value":652},"VK_STRUCTURE_TYPE_VIDEO_FORMAT_PROPERTIES_KHR",{"type":13,"tag":627,"props":654,"children":656},{"name":655},"VUID-VkVideoFormatPropertiesKHR-pNext-pNext",[657],{"type":13,"tag":14,"props":658,"children":659},{},[660,665,666,669,670],{"type":13,"tag":21,"props":661,"children":663},{"className":662},[],[664],{"type":18,"value":456},{"type":18,"value":640},{"type":13,"tag":486,"props":667,"children":668},{"type":643},[],{"type":18,"value":646},{"type":13,"tag":21,"props":671,"children":673},{"className":672},[],[674],{"type":18,"value":464},{"type":13,"tag":676,"props":677,"children":678},"style",{},[679],{"type":18,"value":680},"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":39,"searchDepth":69,"depth":69,"links":682},[],"markdown",1725732594969]