[{"data":1,"prerenderedAt":583},["ShallowReactive",2],{"Ht2w284zeS":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":582,"_id":4},"VkVideoReferenceSlotInfoKHR","Structure specifying information about a reference picture slot","VK_KHR_video_queue","structs",[],{"type":10,"children":11,"toc":580},"root",[12,28,303,406,574],{"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,141],{"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 VkVideoReferenceSlotInfoKHR {\n VkStructureType sType;\n const void* pNext;\n int32_t slotIndex;\n const VkVideoPictureResourceInfoKHR* pPictureResource;\n} VkVideoReferenceSlotInfoKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,132],{"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}," VkVideoReferenceSlotInfoKHR {\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,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," int32_t",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," slotIndex;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113,117,122,127],{"type":13,"tag":45,"props":114,"children":115},{"style":52},[116],{"type":18,"value":84},{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," VkVideoPictureResourceInfoKHR",{"type":13,"tag":45,"props":123,"children":124},{"style":52},[125],{"type":18,"value":126},"*",{"type":13,"tag":45,"props":128,"children":129},{"style":63},[130],{"type":18,"value":131}," pPictureResource;\n",{"type":13,"tag":45,"props":133,"children":135},{"class":47,"line":134},6,[136],{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140},"} VkVideoReferenceSlotInfoKHR;\n",{"type":13,"tag":33,"props":142,"children":147},{"className":143,"code":144,"filename":145,"language":146,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoReferenceSlotInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n slot_index: i32, // The reference slot index\n p_picture_resource: *const vk::VideoPictureResourceInfoKHR, // The reference picture resource\n}\n","Rust","rs",[148],{"type":13,"tag":21,"props":149,"children":150},{"__ignoreMap":39},[151,174,207,229,257,295],{"type":13,"tag":45,"props":152,"children":153},{"class":47,"line":48},[154,159,163,169],{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158},"pub",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":60},{"type":13,"tag":45,"props":164,"children":166},{"style":165},"--shiki-default:#953800;--shiki-dark:#FFA657",[167],{"type":18,"value":168}," VideoReferenceSlotInfoKHR",{"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":69},[177,182,187,192,197,202],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," s_type",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":186},":",{"type":13,"tag":45,"props":188,"children":189},{"style":165},[190],{"type":18,"value":191}," vk",{"type":13,"tag":45,"props":193,"children":194},{"style":52},[195],{"type":18,"value":196},"::",{"type":13,"tag":45,"props":198,"children":199},{"style":165},[200],{"type":18,"value":201},"StructureType",{"type":13,"tag":45,"props":203,"children":204},{"style":63},[205],{"type":18,"value":206},",\n",{"type":13,"tag":45,"props":208,"children":209},{"class":47,"line":78},[210,215,219,224],{"type":13,"tag":45,"props":211,"children":212},{"style":63},[213],{"type":18,"value":214}," p_next",{"type":13,"tag":45,"props":216,"children":217},{"style":52},[218],{"type":18,"value":186},{"type":13,"tag":45,"props":220,"children":221},{"style":52},[222],{"type":18,"value":223}," *const",{"type":13,"tag":45,"props":225,"children":226},{"style":63},[227],{"type":18,"value":228}," c_void,\n",{"type":13,"tag":45,"props":230,"children":231},{"class":47,"line":97},[232,237,241,246,251],{"type":13,"tag":45,"props":233,"children":234},{"style":63},[235],{"type":18,"value":236}," slot_index",{"type":13,"tag":45,"props":238,"children":239},{"style":52},[240],{"type":18,"value":186},{"type":13,"tag":45,"props":242,"children":243},{"style":165},[244],{"type":18,"value":245}," i32",{"type":13,"tag":45,"props":247,"children":248},{"style":63},[249],{"type":18,"value":250},", ",{"type":13,"tag":45,"props":252,"children":254},{"style":253},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[255],{"type":18,"value":256},"// The reference slot index\n",{"type":13,"tag":45,"props":258,"children":259},{"class":47,"line":111},[260,265,269,273,277,281,286,290],{"type":13,"tag":45,"props":261,"children":262},{"style":63},[263],{"type":18,"value":264}," p_picture_resource",{"type":13,"tag":45,"props":266,"children":267},{"style":52},[268],{"type":18,"value":186},{"type":13,"tag":45,"props":270,"children":271},{"style":52},[272],{"type":18,"value":223},{"type":13,"tag":45,"props":274,"children":275},{"style":165},[276],{"type":18,"value":191},{"type":13,"tag":45,"props":278,"children":279},{"style":52},[280],{"type":18,"value":196},{"type":13,"tag":45,"props":282,"children":283},{"style":165},[284],{"type":18,"value":285},"VideoPictureResourceInfoKHR",{"type":13,"tag":45,"props":287,"children":288},{"style":63},[289],{"type":18,"value":250},{"type":13,"tag":45,"props":291,"children":292},{"style":253},[293],{"type":18,"value":294},"// The reference picture resource\n",{"type":13,"tag":45,"props":296,"children":297},{"class":47,"line":134},[298],{"type":13,"tag":45,"props":299,"children":300},{"style":63},[301],{"type":18,"value":302},"}\n",{"type":13,"tag":304,"props":305,"children":306},"ul",{},[307,328,347,366],{"type":13,"tag":308,"props":309,"children":310},"li",{},[311,317,319,326],{"type":13,"tag":21,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"sType",{"type":18,"value":318}," is a ",{"type":13,"tag":320,"props":321,"children":323},"a",{"href":322},"/man/VkStructureType",[324],{"type":18,"value":325},"VkStructureType",{"type":18,"value":327}," value identifying this structure.",{"type":13,"tag":308,"props":329,"children":330},{},[331,337,339,345],{"type":13,"tag":21,"props":332,"children":334},{"className":333},[],[335],{"type":18,"value":336},"pNext",{"type":18,"value":338}," is ",{"type":13,"tag":21,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"NULL",{"type":18,"value":346}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":308,"props":348,"children":349},{},[350,356,358,364],{"type":13,"tag":21,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":355},"slotIndex",{"type":18,"value":357}," is the index of the ",{"type":13,"tag":320,"props":359,"children":361},{"href":360},"/chapters/video-coding#dpb-slot",[362],{"type":18,"value":363},"DPB slot",{"type":18,"value":365}," or a negative\ninteger value.",{"type":13,"tag":308,"props":367,"children":368},{},[369,375,376,381,383,389,391,397,399,404],{"type":13,"tag":21,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":374},"pPictureResource",{"type":18,"value":338},{"type":13,"tag":21,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":344},{"type":18,"value":382}," or a pointer to a\n",{"type":13,"tag":320,"props":384,"children":386},{"href":385},"/man/VkVideoPictureResourceInfoKHR",[387],{"type":18,"value":388},"VkVideoPictureResourceInfoKHR",{"type":18,"value":390}," structure describing the\n",{"type":13,"tag":320,"props":392,"children":394},{"href":393},"/chapters/video-coding#video-picture-resources",[395],{"type":18,"value":396},"video picture resource",{"type":18,"value":398}," associated with the\nDPB slot index specified by ",{"type":13,"tag":21,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":355},{"type":18,"value":405},".",{"type":13,"tag":407,"props":408,"children":410},"validity-group",{"name":409},"Valid Usage (Implicit)",[411,439,509,535],{"type":13,"tag":412,"props":413,"children":415},"validity-field",{"name":414},"VUID-VkVideoReferenceSlotInfoKHR-sType-sType",[416],{"type":13,"tag":14,"props":417,"children":418},{},[419,424,426,431,433],{"type":13,"tag":21,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":316},{"type":18,"value":425}," ",{"type":13,"tag":427,"props":428,"children":430},"normative",{"type":429},"must",[],{"type":18,"value":432}," be ",{"type":13,"tag":21,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":438},"VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR",{"type":13,"tag":412,"props":440,"children":442},{"name":441},"VUID-VkVideoReferenceSlotInfoKHR-pNext-pNext",[443],{"type":13,"tag":14,"props":444,"children":445},{},[446,448,453,455,460,462,465,467,472,474,480,481,487,488,494,495,501,503],{"type":18,"value":447},"Each ",{"type":13,"tag":21,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":336},{"type":18,"value":454}," member of any structure (including this one) in the ",{"type":13,"tag":21,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":336},{"type":18,"value":461}," chain ",{"type":13,"tag":427,"props":463,"children":464},{"type":429},[],{"type":18,"value":466}," be either ",{"type":13,"tag":21,"props":468,"children":470},{"className":469},[],[471],{"type":18,"value":344},{"type":18,"value":473}," or a pointer to a valid instance of ",{"type":13,"tag":320,"props":475,"children":477},{"href":476},"/man/VkVideoDecodeAV1DpbSlotInfoKHR",[478],{"type":18,"value":479},"VkVideoDecodeAV1DpbSlotInfoKHR",{"type":18,"value":250},{"type":13,"tag":320,"props":482,"children":484},{"href":483},"/man/VkVideoDecodeH264DpbSlotInfoKHR",[485],{"type":18,"value":486},"VkVideoDecodeH264DpbSlotInfoKHR",{"type":18,"value":250},{"type":13,"tag":320,"props":489,"children":491},{"href":490},"/man/VkVideoDecodeH265DpbSlotInfoKHR",[492],{"type":18,"value":493},"VkVideoDecodeH265DpbSlotInfoKHR",{"type":18,"value":250},{"type":13,"tag":320,"props":496,"children":498},{"href":497},"/man/VkVideoEncodeH264DpbSlotInfoKHR",[499],{"type":18,"value":500},"VkVideoEncodeH264DpbSlotInfoKHR",{"type":18,"value":502},", or ",{"type":13,"tag":320,"props":504,"children":506},{"href":505},"/man/VkVideoEncodeH265DpbSlotInfoKHR",[507],{"type":18,"value":508},"VkVideoEncodeH265DpbSlotInfoKHR",{"type":13,"tag":412,"props":510,"children":512},{"name":511},"VUID-VkVideoReferenceSlotInfoKHR-sType-unique",[513],{"type":13,"tag":14,"props":514,"children":515},{},[516,517,522,524,529,530,533],{"type":18,"value":19},{"type":13,"tag":21,"props":518,"children":520},{"className":519},[],[521],{"type":18,"value":316},{"type":18,"value":523}," value of each struct in the ",{"type":13,"tag":21,"props":525,"children":527},{"className":526},[],[528],{"type":18,"value":336},{"type":18,"value":461},{"type":13,"tag":427,"props":531,"children":532},{"type":429},[],{"type":18,"value":534}," be unique",{"type":13,"tag":412,"props":536,"children":538},{"name":537},"VUID-VkVideoReferenceSlotInfoKHR-pPictureResource-parameter",[539],{"type":13,"tag":14,"props":540,"children":541},{},[542,544,549,551,556,557,562,563,566,568,572],{"type":18,"value":543},"If ",{"type":13,"tag":21,"props":545,"children":547},{"className":546},[],[548],{"type":18,"value":374},{"type":18,"value":550}," is not ",{"type":13,"tag":21,"props":552,"children":554},{"className":553},[],[555],{"type":18,"value":344},{"type":18,"value":250},{"type":13,"tag":21,"props":558,"children":560},{"className":559},[],[561],{"type":18,"value":374},{"type":18,"value":425},{"type":13,"tag":427,"props":564,"children":565},{"type":429},[],{"type":18,"value":567}," be a valid pointer to a valid ",{"type":13,"tag":320,"props":569,"children":570},{"href":385},[571],{"type":18,"value":388},{"type":18,"value":573}," structure",{"type":13,"tag":575,"props":576,"children":577},"style",{},[578],{"type":18,"value":579},"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":581},[],"markdown",1729612489045]