[{"data":1,"prerenderedAt":533},["ShallowReactive",2],{"mKhDe8V7MN":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":9,"video_coding_scope":10,"supported_queue_types":11,"tasks":14,"type":17,"xrefs":18,"body":19,"_type":532,"_id":4},"vkCmdEndVideoCodingKHR","End video coding scope","VK_KHR_video_queue",[8],"primary","outside","inside",[12,13],"decode","encode",[15,16],"action","state","protos",[],{"type":20,"children":21,"toc":530},"root",[22,30,226,261,290,320,478,524],{"type":23,"tag":24,"props":25,"children":26},"element","p",{},[27],{"type":28,"value":29},"text","To end a video coding scope, call:",{"type":23,"tag":31,"props":32,"children":33},"code-group",{},[34,120],{"type":23,"tag":35,"props":36,"children":42},"pre",{"className":37,"code":38,"filename":39,"language":40,"meta":41,"style":41},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdEndVideoCodingKHR(\n VkCommandBuffer commandBuffer,\n const VkVideoEndCodingInfoKHR* pEndCodingInfo);\n","C","c","",[43],{"type":23,"tag":44,"props":45,"children":46},"code",{"__ignoreMap":41},[47,71,91],{"type":23,"tag":48,"props":49,"children":52},"span",{"class":50,"line":51},"line",1,[53,59,65],{"type":23,"tag":48,"props":54,"children":56},{"style":55},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[57],{"type":28,"value":58},"void",{"type":23,"tag":48,"props":60,"children":62},{"style":61},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[63],{"type":28,"value":64}," vkCmdEndVideoCodingKHR",{"type":23,"tag":48,"props":66,"children":68},{"style":67},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[69],{"type":28,"value":70},"(\n",{"type":23,"tag":48,"props":72,"children":74},{"class":50,"line":73},2,[75,80,86],{"type":23,"tag":48,"props":76,"children":77},{"style":67},[78],{"type":28,"value":79}," VkCommandBuffer ",{"type":23,"tag":48,"props":81,"children":83},{"style":82},"--shiki-default:#953800;--shiki-dark:#FFA657",[84],{"type":28,"value":85},"commandBuffer",{"type":23,"tag":48,"props":87,"children":88},{"style":67},[89],{"type":28,"value":90},",\n",{"type":23,"tag":48,"props":92,"children":94},{"class":50,"line":93},3,[95,100,105,110,115],{"type":23,"tag":48,"props":96,"children":97},{"style":55},[98],{"type":28,"value":99}," const",{"type":23,"tag":48,"props":101,"children":102},{"style":67},[103],{"type":28,"value":104}," VkVideoEndCodingInfoKHR",{"type":23,"tag":48,"props":106,"children":107},{"style":55},[108],{"type":28,"value":109},"*",{"type":23,"tag":48,"props":111,"children":112},{"style":82},[113],{"type":28,"value":114}," pEndCodingInfo",{"type":23,"tag":48,"props":116,"children":117},{"style":67},[118],{"type":28,"value":119},");\n",{"type":23,"tag":35,"props":121,"children":126},{"className":122,"code":123,"filename":124,"language":125,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_end_video_coding_khr(\n command_buffer: vk::CommandBuffer,\n p_end_coding_info: *const vk::VideoEndCodingInfoKHR,\n);\n","Rust","rs",[127],{"type":23,"tag":44,"props":128,"children":129},{"__ignoreMap":41},[130,152,184,218],{"type":23,"tag":48,"props":131,"children":132},{"class":50,"line":51},[133,138,143,148],{"type":23,"tag":48,"props":134,"children":135},{"style":55},[136],{"type":28,"value":137},"pub",{"type":23,"tag":48,"props":139,"children":140},{"style":55},[141],{"type":28,"value":142}," fn",{"type":23,"tag":48,"props":144,"children":145},{"style":61},[146],{"type":28,"value":147}," cmd_end_video_coding_khr",{"type":23,"tag":48,"props":149,"children":150},{"style":67},[151],{"type":28,"value":70},{"type":23,"tag":48,"props":153,"children":154},{"class":50,"line":73},[155,160,165,170,175,180],{"type":23,"tag":48,"props":156,"children":157},{"style":67},[158],{"type":28,"value":159}," command_buffer",{"type":23,"tag":48,"props":161,"children":162},{"style":55},[163],{"type":28,"value":164},":",{"type":23,"tag":48,"props":166,"children":167},{"style":82},[168],{"type":28,"value":169}," vk",{"type":23,"tag":48,"props":171,"children":172},{"style":55},[173],{"type":28,"value":174},"::",{"type":23,"tag":48,"props":176,"children":177},{"style":82},[178],{"type":28,"value":179},"CommandBuffer",{"type":23,"tag":48,"props":181,"children":182},{"style":67},[183],{"type":28,"value":90},{"type":23,"tag":48,"props":185,"children":186},{"class":50,"line":93},[187,192,196,201,205,209,214],{"type":23,"tag":48,"props":188,"children":189},{"style":67},[190],{"type":28,"value":191}," p_end_coding_info",{"type":23,"tag":48,"props":193,"children":194},{"style":55},[195],{"type":28,"value":164},{"type":23,"tag":48,"props":197,"children":198},{"style":55},[199],{"type":28,"value":200}," *const",{"type":23,"tag":48,"props":202,"children":203},{"style":82},[204],{"type":28,"value":169},{"type":23,"tag":48,"props":206,"children":207},{"style":55},[208],{"type":28,"value":174},{"type":23,"tag":48,"props":210,"children":211},{"style":82},[212],{"type":28,"value":213},"VideoEndCodingInfoKHR",{"type":23,"tag":48,"props":215,"children":216},{"style":67},[217],{"type":28,"value":90},{"type":23,"tag":48,"props":219,"children":221},{"class":50,"line":220},4,[222],{"type":23,"tag":48,"props":223,"children":224},{"style":67},[225],{"type":28,"value":119},{"type":23,"tag":227,"props":228,"children":229},"ul",{},[230,241],{"type":23,"tag":231,"props":232,"children":233},"li",{},[234,239],{"type":23,"tag":44,"props":235,"children":237},{"className":236},[],[238],{"type":28,"value":85},{"type":28,"value":240}," is the command buffer in which to record the\ncommand.",{"type":23,"tag":231,"props":242,"children":243},{},[244,250,252,259],{"type":23,"tag":44,"props":245,"children":247},{"className":246},[],[248],{"type":28,"value":249},"pEndCodingInfo",{"type":28,"value":251}," is a pointer to a ",{"type":23,"tag":253,"props":254,"children":256},"a",{"href":255},"/man/VkVideoEndCodingInfoKHR",[257],{"type":28,"value":258},"VkVideoEndCodingInfoKHR",{"type":28,"value":260},"\nstructure specifying the parameters for ending the video coding scope.",{"type":23,"tag":24,"props":262,"children":263},{},[264,266,272,274,280,282,288],{"type":28,"value":265},"After ending a video coding scope, the video session object, the optional\nvideo session parameters object, and all\n",{"type":23,"tag":253,"props":267,"children":269},{"href":268},"/man/vkCmdBeginVideoCodingKHR#bound-reference-picture-resources",[270],{"type":28,"value":271},"reference picture resources",{"type":28,"value":273},"\npreviously bound by the corresponding ",{"type":23,"tag":253,"props":275,"children":277},{"href":276},"/man/vkCmdBeginVideoCodingKHR",[278],{"type":28,"value":279},"vkCmdBeginVideoCodingKHR",{"type":28,"value":281}," command\nare ",{"type":23,"tag":283,"props":284,"children":285},"em",{},[286],{"type":28,"value":287},"unbound",{"type":28,"value":289},".",{"type":23,"tag":291,"props":292,"children":294},"validity-group",{"name":293},"Valid Usage",[295],{"type":23,"tag":296,"props":297,"children":299},"validity-field",{"name":298},"VUID-vkCmdEndVideoCodingKHR-None-07251",[300],{"type":23,"tag":24,"props":301,"children":302},{},[303,305,310,312,318],{"type":28,"value":304},"There ",{"type":23,"tag":306,"props":307,"children":309},"normative",{"type":308},"must",[],{"type":28,"value":311}," be no ",{"type":23,"tag":253,"props":313,"children":315},{"href":314},"/man/vkCmdBeginQuery#queries-operation-active",[316],{"type":28,"value":317},"active",{"type":28,"value":319}," queries",{"type":23,"tag":291,"props":321,"children":323},{"name":322},"Valid Usage (Implicit)",[324,351,375,399,428,442,455],{"type":23,"tag":296,"props":325,"children":327},{"name":326},"VUID-vkCmdEndVideoCodingKHR-commandBuffer-parameter",[328],{"type":23,"tag":24,"props":329,"children":330},{},[331,336,338,341,343,349],{"type":23,"tag":44,"props":332,"children":334},{"className":333},[],[335],{"type":28,"value":85},{"type":28,"value":337}," ",{"type":23,"tag":306,"props":339,"children":340},{"type":308},[],{"type":28,"value":342}," be a valid ",{"type":23,"tag":253,"props":344,"children":346},{"href":345},"/man/VkCommandBuffer",[347],{"type":28,"value":348},"VkCommandBuffer",{"type":28,"value":350}," handle",{"type":23,"tag":296,"props":352,"children":354},{"name":353},"VUID-vkCmdEndVideoCodingKHR-pEndCodingInfo-parameter",[355],{"type":23,"tag":24,"props":356,"children":357},{},[358,363,364,367,369,373],{"type":23,"tag":44,"props":359,"children":361},{"className":360},[],[362],{"type":28,"value":249},{"type":28,"value":337},{"type":23,"tag":306,"props":365,"children":366},{"type":308},[],{"type":28,"value":368}," be a valid pointer to a valid ",{"type":23,"tag":253,"props":370,"children":371},{"href":255},[372],{"type":28,"value":258},{"type":28,"value":374}," structure",{"type":23,"tag":296,"props":376,"children":378},{"name":377},"VUID-vkCmdEndVideoCodingKHR-commandBuffer-recording",[379],{"type":23,"tag":24,"props":380,"children":381},{},[382,387,388,391,393],{"type":23,"tag":44,"props":383,"children":385},{"className":384},[],[386],{"type":28,"value":85},{"type":28,"value":337},{"type":23,"tag":306,"props":389,"children":390},{"type":308},[],{"type":28,"value":392}," be in the ",{"type":23,"tag":253,"props":394,"children":396},{"href":395},"/chapters/commandbuffers#commandbuffers-lifecycle",[397],{"type":28,"value":398},"recording state",{"type":23,"tag":296,"props":400,"children":402},{"name":401},"VUID-vkCmdEndVideoCodingKHR-commandBuffer-cmdpool",[403],{"type":23,"tag":24,"props":404,"children":405},{},[406,408,414,416,421,423,426],{"type":28,"value":407},"The ",{"type":23,"tag":44,"props":409,"children":411},{"className":410},[],[412],{"type":28,"value":413},"VkCommandPool",{"type":28,"value":415}," that ",{"type":23,"tag":44,"props":417,"children":419},{"className":418},[],[420],{"type":28,"value":85},{"type":28,"value":422}," was allocated from ",{"type":23,"tag":306,"props":424,"children":425},{"type":308},[],{"type":28,"value":427}," support decode, or encode operations",{"type":23,"tag":296,"props":429,"children":431},{"name":430},"VUID-vkCmdEndVideoCodingKHR-renderpass",[432],{"type":23,"tag":24,"props":433,"children":434},{},[435,437,440],{"type":28,"value":436},"This command ",{"type":23,"tag":306,"props":438,"children":439},{"type":308},[],{"type":28,"value":441}," only be called outside of a render pass instance",{"type":23,"tag":296,"props":443,"children":445},{"name":444},"VUID-vkCmdEndVideoCodingKHR-videocoding",[446],{"type":23,"tag":24,"props":447,"children":448},{},[449,450,453],{"type":28,"value":436},{"type":23,"tag":306,"props":451,"children":452},{"type":308},[],{"type":28,"value":454}," only be called inside of a video coding scope",{"type":23,"tag":296,"props":456,"children":458},{"name":457},"VUID-vkCmdEndVideoCodingKHR-bufferlevel",[459],{"type":23,"tag":24,"props":460,"children":461},{},[462,467,468,471,473],{"type":23,"tag":44,"props":463,"children":465},{"className":464},[],[466],{"type":28,"value":85},{"type":28,"value":337},{"type":23,"tag":306,"props":469,"children":470},{"type":308},[],{"type":28,"value":472}," be a primary ",{"type":23,"tag":44,"props":474,"children":476},{"className":475},[],[477],{"type":28,"value":348},{"type":23,"tag":479,"props":480,"children":482},"validity-box",{"name":481},"Host Synchronization",[483],{"type":23,"tag":227,"props":484,"children":485},{},[486,502],{"type":23,"tag":231,"props":487,"children":488},{},[489,491,496,497,500],{"type":28,"value":490},"Host access to ",{"type":23,"tag":44,"props":492,"children":494},{"className":493},[],[495],{"type":28,"value":85},{"type":28,"value":337},{"type":23,"tag":306,"props":498,"children":499},{"type":308},[],{"type":28,"value":501}," be externally synchronized",{"type":23,"tag":231,"props":503,"children":504},{},[505,507,512,513,518,519,522],{"type":28,"value":506},"Host access to the ",{"type":23,"tag":44,"props":508,"children":510},{"className":509},[],[511],{"type":28,"value":413},{"type":28,"value":415},{"type":23,"tag":44,"props":514,"children":516},{"className":515},[],[517],{"type":28,"value":85},{"type":28,"value":422},{"type":23,"tag":306,"props":520,"children":521},{"type":308},[],{"type":28,"value":523}," be externally synchronized\n::",{"type":23,"tag":525,"props":526,"children":527},"style",{},[528],{"type":28,"value":529},"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":41,"searchDepth":73,"depth":73,"links":531},[],"markdown",1725732605790]