[{"data":1,"prerenderedAt":575},["ShallowReactive",2],{"D18HxF9NCz":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":574,"_id":4},"VkVideoEncodeUsageInfoKHR","Structure specifying video encode usage information","VK_KHR_video_encode_queue","structs",[],{"type":10,"children":11,"toc":572},"root",[12,52,64,350,447,566],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,33,35,41,43,50],{"type":18,"value":19},"text","Additional information about the video encode use case ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be provided by\nadding a ",{"type":13,"tag":28,"props":29,"children":31},"code",{"className":30},[],[32],{"type":18,"value":4},{"type":18,"value":34}," structure to the ",{"type":13,"tag":28,"props":36,"children":38},{"className":37},[],[39],{"type":18,"value":40},"pNext",{"type":18,"value":42}," chain\nof ",{"type":13,"tag":44,"props":45,"children":47},"a",{"href":46},"/man/VkVideoProfileInfoKHR",[48],{"type":18,"value":49},"VkVideoProfileInfoKHR",{"type":18,"value":51},".",{"type":13,"tag":14,"props":53,"children":54},{},[55,57,62],{"type":18,"value":56},"The ",{"type":13,"tag":28,"props":58,"children":60},{"className":59},[],[61],{"type":18,"value":4},{"type":18,"value":63}," structure is defined as:",{"type":13,"tag":65,"props":66,"children":67},"code-group",{},[68,167],{"type":13,"tag":69,"props":70,"children":76},"pre",{"className":71,"code":72,"filename":73,"language":74,"meta":75,"style":75},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkVideoEncodeUsageInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkVideoEncodeUsageFlagsKHR videoUsageHints;\n VkVideoEncodeContentFlagsKHR videoContentHints;\n VkVideoEncodeTuningModeKHR tuningMode;\n} VkVideoEncodeUsageInfoKHR;\n","C","c","",[77],{"type":13,"tag":28,"props":78,"children":79},{"__ignoreMap":75},[80,103,112,131,140,149,158],{"type":13,"tag":81,"props":82,"children":85},"span",{"class":83,"line":84},"line",1,[86,92,97],{"type":13,"tag":81,"props":87,"children":89},{"style":88},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[90],{"type":18,"value":91},"typedef",{"type":13,"tag":81,"props":93,"children":94},{"style":88},[95],{"type":18,"value":96}," struct",{"type":13,"tag":81,"props":98,"children":100},{"style":99},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[101],{"type":18,"value":102}," VkVideoEncodeUsageInfoKHR {\n",{"type":13,"tag":81,"props":104,"children":106},{"class":83,"line":105},2,[107],{"type":13,"tag":81,"props":108,"children":109},{"style":99},[110],{"type":18,"value":111}," VkStructureType sType;\n",{"type":13,"tag":81,"props":113,"children":115},{"class":83,"line":114},3,[116,121,126],{"type":13,"tag":81,"props":117,"children":118},{"style":88},[119],{"type":18,"value":120}," const",{"type":13,"tag":81,"props":122,"children":123},{"style":88},[124],{"type":18,"value":125}," void*",{"type":13,"tag":81,"props":127,"children":128},{"style":99},[129],{"type":18,"value":130}," pNext;\n",{"type":13,"tag":81,"props":132,"children":134},{"class":83,"line":133},4,[135],{"type":13,"tag":81,"props":136,"children":137},{"style":99},[138],{"type":18,"value":139}," VkVideoEncodeUsageFlagsKHR videoUsageHints;\n",{"type":13,"tag":81,"props":141,"children":143},{"class":83,"line":142},5,[144],{"type":13,"tag":81,"props":145,"children":146},{"style":99},[147],{"type":18,"value":148}," VkVideoEncodeContentFlagsKHR videoContentHints;\n",{"type":13,"tag":81,"props":150,"children":152},{"class":83,"line":151},6,[153],{"type":13,"tag":81,"props":154,"children":155},{"style":99},[156],{"type":18,"value":157}," VkVideoEncodeTuningModeKHR tuningMode;\n",{"type":13,"tag":81,"props":159,"children":161},{"class":83,"line":160},7,[162],{"type":13,"tag":81,"props":163,"children":164},{"style":99},[165],{"type":18,"value":166},"} VkVideoEncodeUsageInfoKHR;\n",{"type":13,"tag":69,"props":168,"children":173},{"className":169,"code":170,"filename":171,"language":172,"meta":75,"style":75},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodeUsageInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n video_usage_hints: vk::VideoEncodeUsageFlagsKHR,\n video_content_hints: vk::VideoEncodeContentFlagsKHR,\n tuning_mode: vk::VideoEncodeTuningModeKHR,\n}\n","Rust","rs",[174],{"type":13,"tag":28,"props":175,"children":176},{"__ignoreMap":75},[177,200,233,255,284,313,342],{"type":13,"tag":81,"props":178,"children":179},{"class":83,"line":84},[180,185,189,195],{"type":13,"tag":81,"props":181,"children":182},{"style":88},[183],{"type":18,"value":184},"pub",{"type":13,"tag":81,"props":186,"children":187},{"style":88},[188],{"type":18,"value":96},{"type":13,"tag":81,"props":190,"children":192},{"style":191},"--shiki-default:#953800;--shiki-dark:#FFA657",[193],{"type":18,"value":194}," VideoEncodeUsageInfoKHR",{"type":13,"tag":81,"props":196,"children":197},{"style":99},[198],{"type":18,"value":199}," {\n",{"type":13,"tag":81,"props":201,"children":202},{"class":83,"line":105},[203,208,213,218,223,228],{"type":13,"tag":81,"props":204,"children":205},{"style":99},[206],{"type":18,"value":207}," s_type",{"type":13,"tag":81,"props":209,"children":210},{"style":88},[211],{"type":18,"value":212},":",{"type":13,"tag":81,"props":214,"children":215},{"style":191},[216],{"type":18,"value":217}," vk",{"type":13,"tag":81,"props":219,"children":220},{"style":88},[221],{"type":18,"value":222},"::",{"type":13,"tag":81,"props":224,"children":225},{"style":191},[226],{"type":18,"value":227},"StructureType",{"type":13,"tag":81,"props":229,"children":230},{"style":99},[231],{"type":18,"value":232},",\n",{"type":13,"tag":81,"props":234,"children":235},{"class":83,"line":114},[236,241,245,250],{"type":13,"tag":81,"props":237,"children":238},{"style":99},[239],{"type":18,"value":240}," p_next",{"type":13,"tag":81,"props":242,"children":243},{"style":88},[244],{"type":18,"value":212},{"type":13,"tag":81,"props":246,"children":247},{"style":88},[248],{"type":18,"value":249}," *const",{"type":13,"tag":81,"props":251,"children":252},{"style":99},[253],{"type":18,"value":254}," c_void,\n",{"type":13,"tag":81,"props":256,"children":257},{"class":83,"line":133},[258,263,267,271,275,280],{"type":13,"tag":81,"props":259,"children":260},{"style":99},[261],{"type":18,"value":262}," video_usage_hints",{"type":13,"tag":81,"props":264,"children":265},{"style":88},[266],{"type":18,"value":212},{"type":13,"tag":81,"props":268,"children":269},{"style":191},[270],{"type":18,"value":217},{"type":13,"tag":81,"props":272,"children":273},{"style":88},[274],{"type":18,"value":222},{"type":13,"tag":81,"props":276,"children":277},{"style":191},[278],{"type":18,"value":279},"VideoEncodeUsageFlagsKHR",{"type":13,"tag":81,"props":281,"children":282},{"style":99},[283],{"type":18,"value":232},{"type":13,"tag":81,"props":285,"children":286},{"class":83,"line":142},[287,292,296,300,304,309],{"type":13,"tag":81,"props":288,"children":289},{"style":99},[290],{"type":18,"value":291}," video_content_hints",{"type":13,"tag":81,"props":293,"children":294},{"style":88},[295],{"type":18,"value":212},{"type":13,"tag":81,"props":297,"children":298},{"style":191},[299],{"type":18,"value":217},{"type":13,"tag":81,"props":301,"children":302},{"style":88},[303],{"type":18,"value":222},{"type":13,"tag":81,"props":305,"children":306},{"style":191},[307],{"type":18,"value":308},"VideoEncodeContentFlagsKHR",{"type":13,"tag":81,"props":310,"children":311},{"style":99},[312],{"type":18,"value":232},{"type":13,"tag":81,"props":314,"children":315},{"class":83,"line":151},[316,321,325,329,333,338],{"type":13,"tag":81,"props":317,"children":318},{"style":99},[319],{"type":18,"value":320}," tuning_mode",{"type":13,"tag":81,"props":322,"children":323},{"style":88},[324],{"type":18,"value":212},{"type":13,"tag":81,"props":326,"children":327},{"style":191},[328],{"type":18,"value":217},{"type":13,"tag":81,"props":330,"children":331},{"style":88},[332],{"type":18,"value":222},{"type":13,"tag":81,"props":334,"children":335},{"style":191},[336],{"type":18,"value":337},"VideoEncodeTuningModeKHR",{"type":13,"tag":81,"props":339,"children":340},{"style":99},[341],{"type":18,"value":232},{"type":13,"tag":81,"props":343,"children":344},{"class":83,"line":160},[345],{"type":13,"tag":81,"props":346,"children":347},{"style":99},[348],{"type":18,"value":349},"}\n",{"type":13,"tag":351,"props":352,"children":353},"ul",{},[354,374,392,411,429],{"type":13,"tag":355,"props":356,"children":357},"li",{},[358,364,366,372],{"type":13,"tag":28,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":363},"sType",{"type":18,"value":365}," is a ",{"type":13,"tag":44,"props":367,"children":369},{"href":368},"/man/VkStructureType",[370],{"type":18,"value":371},"VkStructureType",{"type":18,"value":373}," value identifying this structure.",{"type":13,"tag":355,"props":375,"children":376},{},[377,382,384,390],{"type":13,"tag":28,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":40},{"type":18,"value":383}," is ",{"type":13,"tag":28,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":389},"NULL",{"type":18,"value":391}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":355,"props":393,"children":394},{},[395,401,403,409],{"type":13,"tag":28,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":400},"videoUsageHints",{"type":18,"value":402}," is a bitmask of\n",{"type":13,"tag":44,"props":404,"children":406},{"href":405},"/man/VkVideoEncodeUsageFlagBitsKHR",[407],{"type":18,"value":408},"VkVideoEncodeUsageFlagBitsKHR",{"type":18,"value":410}," specifying hints about the intended\nuse of the video encode profile.",{"type":13,"tag":355,"props":412,"children":413},{},[414,420,421,427],{"type":13,"tag":28,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"videoContentHints",{"type":18,"value":402},{"type":13,"tag":44,"props":422,"children":424},{"href":423},"/man/VkVideoEncodeContentFlagBitsKHR",[425],{"type":18,"value":426},"VkVideoEncodeContentFlagBitsKHR",{"type":18,"value":428}," specifying hints about the content\nto be encoded using the video encode profile.",{"type":13,"tag":355,"props":430,"children":431},{},[432,438,439,445],{"type":13,"tag":28,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"tuningMode",{"type":18,"value":365},{"type":13,"tag":44,"props":440,"children":442},{"href":441},"/man/VkVideoEncodeTuningModeKHR",[443],{"type":18,"value":444},"VkVideoEncodeTuningModeKHR",{"type":18,"value":446}," value specifying\nthe tuning mode to use when encoding with the video profile.",{"type":13,"tag":448,"props":449,"children":451},"validity-group",{"name":450},"Valid Usage (Implicit)",[452,479,503,525],{"type":13,"tag":453,"props":454,"children":456},"validity-field",{"name":455},"VUID-VkVideoEncodeUsageInfoKHR-sType-sType",[457],{"type":13,"tag":14,"props":458,"children":459},{},[460,465,467,471,473],{"type":13,"tag":28,"props":461,"children":463},{"className":462},[],[464],{"type":18,"value":363},{"type":18,"value":466}," ",{"type":13,"tag":21,"props":468,"children":470},{"type":469},"must",[],{"type":18,"value":472}," be ",{"type":13,"tag":28,"props":474,"children":476},{"className":475},[],[477],{"type":18,"value":478},"VK_STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR",{"type":13,"tag":453,"props":480,"children":482},{"name":481},"VUID-VkVideoEncodeUsageInfoKHR-videoUsageHints-parameter",[483],{"type":13,"tag":14,"props":484,"children":485},{},[486,491,492,495,497,501],{"type":13,"tag":28,"props":487,"children":489},{"className":488},[],[490],{"type":18,"value":400},{"type":18,"value":466},{"type":13,"tag":21,"props":493,"children":494},{"type":469},[],{"type":18,"value":496}," be a valid combination of ",{"type":13,"tag":44,"props":498,"children":499},{"href":405},[500],{"type":18,"value":408},{"type":18,"value":502}," values",{"type":13,"tag":453,"props":504,"children":506},{"name":505},"VUID-VkVideoEncodeUsageInfoKHR-videoContentHints-parameter",[507],{"type":13,"tag":14,"props":508,"children":509},{},[510,515,516,519,520,524],{"type":13,"tag":28,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":419},{"type":18,"value":466},{"type":13,"tag":21,"props":517,"children":518},{"type":469},[],{"type":18,"value":496},{"type":13,"tag":44,"props":521,"children":522},{"href":423},[523],{"type":18,"value":426},{"type":18,"value":502},{"type":13,"tag":453,"props":526,"children":528},{"name":527},"VUID-VkVideoEncodeUsageInfoKHR-tuningMode-parameter",[529],{"type":13,"tag":14,"props":530,"children":531},{},[532,534,539,541,547,549,554,555,558,560,564],{"type":18,"value":533},"If ",{"type":13,"tag":28,"props":535,"children":537},{"className":536},[],[538],{"type":18,"value":437},{"type":18,"value":540}," is not ",{"type":13,"tag":28,"props":542,"children":544},{"className":543},[],[545],{"type":18,"value":546},"0",{"type":18,"value":548},", ",{"type":13,"tag":28,"props":550,"children":552},{"className":551},[],[553],{"type":18,"value":437},{"type":18,"value":466},{"type":13,"tag":21,"props":556,"children":557},{"type":469},[],{"type":18,"value":559}," be a valid ",{"type":13,"tag":44,"props":561,"children":562},{"href":441},[563],{"type":18,"value":444},{"type":18,"value":565}," value",{"type":13,"tag":567,"props":568,"children":569},"style",{},[570],{"type":18,"value":571},"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":75,"searchDepth":105,"depth":105,"links":573},[],"markdown",1725732594913]