[{"data":1,"prerenderedAt":521},["ShallowReactive",2],{"mNoD7fQb4x":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":520,"_id":4},"VkPhysicalDeviceVideoMaintenance2FeaturesKHR","Structure describing the video maintenance features that can be supported by an implementation","VK_KHR_video_maintenance2","structs",[],{"type":10,"children":11,"toc":518},"root",[12,28,233,238,397,482,512],{"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\nas:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,108],{"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 VkPhysicalDeviceVideoMaintenance2FeaturesKHR {\n VkStructureType sType;\n void* pNext;\n VkBool32 videoMaintenance2;\n} VkPhysicalDeviceVideoMaintenance2FeaturesKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99],{"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}," VkPhysicalDeviceVideoMaintenance2FeaturesKHR {\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}," VkBool32 videoMaintenance2;\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},"} VkPhysicalDeviceVideoMaintenance2FeaturesKHR;\n",{"type":13,"tag":33,"props":109,"children":114},{"className":110,"code":111,"filename":112,"language":113,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceVideoMaintenance2FeaturesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n video_maintenance2: vk::Bool32,\n}\n","Rust","rs",[115],{"type":13,"tag":21,"props":116,"children":117},{"__ignoreMap":39},[118,141,174,196,225],{"type":13,"tag":45,"props":119,"children":120},{"class":47,"line":48},[121,126,130,136],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":125},"pub",{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":60},{"type":13,"tag":45,"props":131,"children":133},{"style":132},"--shiki-default:#953800;--shiki-dark:#FFA657",[134],{"type":18,"value":135}," PhysicalDeviceVideoMaintenance2FeaturesKHR",{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140}," {\n",{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":69},[144,149,154,159,164,169],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148}," s_type",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":153},":",{"type":13,"tag":45,"props":155,"children":156},{"style":132},[157],{"type":18,"value":158}," vk",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},"::",{"type":13,"tag":45,"props":165,"children":166},{"style":132},[167],{"type":18,"value":168},"StructureType",{"type":13,"tag":45,"props":170,"children":171},{"style":63},[172],{"type":18,"value":173},",\n",{"type":13,"tag":45,"props":175,"children":176},{"class":47,"line":78},[177,182,186,191],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," p_next",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":153},{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190}," *mut",{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," c_void,\n",{"type":13,"tag":45,"props":197,"children":198},{"class":47,"line":92},[199,204,208,212,216,221],{"type":13,"tag":45,"props":200,"children":201},{"style":63},[202],{"type":18,"value":203}," video_maintenance2",{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":153},{"type":13,"tag":45,"props":209,"children":210},{"style":132},[211],{"type":18,"value":158},{"type":13,"tag":45,"props":213,"children":214},{"style":52},[215],{"type":18,"value":163},{"type":13,"tag":45,"props":217,"children":218},{"style":132},[219],{"type":18,"value":220},"Bool32",{"type":13,"tag":45,"props":222,"children":223},{"style":63},[224],{"type":18,"value":173},{"type":13,"tag":45,"props":226,"children":227},{"class":47,"line":101},[228],{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232},"}\n",{"type":13,"tag":14,"props":234,"children":235},{},[236],{"type":18,"value":237},"This structure describes the following features:",{"type":13,"tag":239,"props":240,"children":241},"ul",{},[242,263,282],{"type":13,"tag":243,"props":244,"children":245},"li",{},[246,252,254,261],{"type":13,"tag":21,"props":247,"children":249},{"className":248},[],[250],{"type":18,"value":251},"sType",{"type":18,"value":253}," is a ",{"type":13,"tag":255,"props":256,"children":258},"a",{"href":257},"/man/VkStructureType",[259],{"type":18,"value":260},"VkStructureType",{"type":18,"value":262}," value identifying this structure.",{"type":13,"tag":243,"props":264,"children":265},{},[266,272,274,280],{"type":13,"tag":21,"props":267,"children":269},{"className":268},[],[270],{"type":18,"value":271},"pNext",{"type":18,"value":273}," is ",{"type":13,"tag":21,"props":275,"children":277},{"className":276},[],[278],{"type":18,"value":279},"NULL",{"type":18,"value":281}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":243,"props":283,"children":284},{},[285,290,292,298,300],{"type":13,"tag":286,"props":287,"children":289},"anchor",{"id":288},"features-videoMaintenance2",[],{"type":18,"value":291}," ",{"type":13,"tag":21,"props":293,"children":295},{"className":294},[],[296],{"type":18,"value":297},"videoMaintenance2",{"type":18,"value":299}," specifies that\nthe implementation supports the following:",{"type":13,"tag":239,"props":301,"children":302},{},[303,316,329,384],{"type":13,"tag":243,"props":304,"children":305},{},[306,308,314],{"type":18,"value":307},"Support for issuing ",{"type":13,"tag":255,"props":309,"children":311},{"href":310},"/chapters/video-coding#video-coding-control",[312],{"type":18,"value":313},"video coding control",{"type":18,"value":315},"\ncommands against video decode sessions without a bound video session\nparameters object.",{"type":13,"tag":243,"props":317,"children":318},{},[319,321,327],{"type":18,"value":320},"The new video session creation flag\n",{"type":13,"tag":21,"props":322,"children":324},{"className":323},[],[325],{"type":18,"value":326},"VK_VIDEO_SESSION_CREATE_INLINE_SESSION_PARAMETERS_BIT_KHR",{"type":18,"value":328}," for\nvideo decode sessions.",{"type":13,"tag":243,"props":330,"children":331},{},[332,334,340,341,347,349],{"type":18,"value":333},"Required support for the ",{"type":13,"tag":255,"props":335,"children":337},{"href":336},"/chapters/video-coding#encode-rate-control-modes",[338],{"type":18,"value":339},"rate control\nmode",{"type":18,"value":291},{"type":13,"tag":21,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":346},"VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR",{"type":18,"value":348}," for the\nfollowing video encode profiles:",{"type":13,"tag":239,"props":350,"children":351},{},[352,363,373],{"type":13,"tag":243,"props":353,"children":354},{},[355,361],{"type":13,"tag":255,"props":356,"children":358},{"href":357},"/chapters/video-coding#encode-h264-profile",[359],{"type":18,"value":360},"H.264 encode profiles",{"type":18,"value":362},";",{"type":13,"tag":243,"props":364,"children":365},{},[366,372],{"type":13,"tag":255,"props":367,"children":369},{"href":368},"/chapters/video-coding#encode-h265-profile",[370],{"type":18,"value":371},"H.265 encode profiles",{"type":18,"value":362},{"type":13,"tag":243,"props":374,"children":375},{},[376,382],{"type":13,"tag":255,"props":377,"children":379},{"href":378},"/chapters/video-coding#encode-av1-profile",[380],{"type":18,"value":381},"AV1 encode profiles",{"type":18,"value":383},".",{"type":13,"tag":243,"props":385,"children":386},{},[387,389,395],{"type":18,"value":388},"Additional guarantees on Video Std parameters used with video encode\nprofiles that the implementations support without the need to\n",{"type":13,"tag":255,"props":390,"children":392},{"href":391},"/chapters/video-coding#encode-overrides",[393],{"type":18,"value":394},"override",{"type":18,"value":396}," them.",{"type":13,"tag":14,"props":398,"children":399},{},[400,402,407,409,414,416,422,424,430,432,438,440,445,447,452,454,460,462,467,469,475,477,481],{"type":18,"value":401},"If the ",{"type":13,"tag":21,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":4},{"type":18,"value":408}," structure is included in the ",{"type":13,"tag":21,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":271},{"type":18,"value":415}," chain of the\n",{"type":13,"tag":255,"props":417,"children":419},{"href":418},"/man/VkPhysicalDeviceFeatures2",[420],{"type":18,"value":421},"VkPhysicalDeviceFeatures2",{"type":18,"value":423}," structure passed to\n",{"type":13,"tag":255,"props":425,"children":427},{"href":426},"/man/vkGetPhysicalDeviceFeatures2",[428],{"type":18,"value":429},"vkGetPhysicalDeviceFeatures2",{"type":18,"value":431},", it is filled in to indicate whether each\ncorresponding feature is supported.\nIf the application wishes to use a ",{"type":13,"tag":255,"props":433,"children":435},{"href":434},"/man/VkDevice",[436],{"type":18,"value":437},"VkDevice",{"type":18,"value":439}," with any features\ndescribed by ",{"type":13,"tag":21,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":4},{"type":18,"value":446},", it ",{"type":13,"tag":448,"props":449,"children":451},"normative",{"type":450},"must",[],{"type":18,"value":453}," add an instance of the structure,\nwith the desired feature members set to ",{"type":13,"tag":21,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":459},"VK_TRUE",{"type":18,"value":461},", to the ",{"type":13,"tag":21,"props":463,"children":465},{"className":464},[],[466],{"type":18,"value":271},{"type":18,"value":468},"\nchain of ",{"type":13,"tag":255,"props":470,"children":472},{"href":471},"/man/VkDeviceCreateInfo",[473],{"type":18,"value":474},"VkDeviceCreateInfo",{"type":18,"value":476}," when creating the ",{"type":13,"tag":255,"props":478,"children":479},{"href":434},[480],{"type":18,"value":437},{"type":18,"value":383},{"type":13,"tag":483,"props":484,"children":486},"validity-group",{"name":485},"Valid Usage (Implicit)",[487],{"type":13,"tag":488,"props":489,"children":491},"validity-field",{"name":490},"VUID-VkPhysicalDeviceVideoMaintenance2FeaturesKHR-sType-sType",[492],{"type":13,"tag":14,"props":493,"children":494},{},[495,500,501,504,506],{"type":13,"tag":21,"props":496,"children":498},{"className":497},[],[499],{"type":18,"value":251},{"type":18,"value":291},{"type":13,"tag":448,"props":502,"children":503},{"type":450},[],{"type":18,"value":505}," be ",{"type":13,"tag":21,"props":507,"children":509},{"className":508},[],[510],{"type":18,"value":511},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR",{"type":13,"tag":513,"props":514,"children":515},"style",{},[516],{"type":18,"value":517},"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":519},[],"markdown",1744876564810]