[{"data":1,"prerenderedAt":797},["ShallowReactive",2],{"CGGbInUh3J":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":796,"_id":4},"VkVideoEncodeH264DpbSlotInfoKHR","Structure specifies H.264 encode DPB picture information","VK_KHR_video_encode_h264","structs",[],{"type":10,"children":11,"toc":794},"root",[12,28,249,319,380,387,430,495,501,531,598,604,623,730,788],{"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},"a",{"href":23},"/man/VkVideoEncodeH264DpbSlotInfoKHR",[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,128],{"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 VkVideoEncodeH264DpbSlotInfoKHR {\n VkStructureType sType;\n const void* pNext;\n const StdVideoEncodeH264ReferenceInfo* pStdReferenceInfo;\n} VkVideoEncodeH264DpbSlotInfoKHR;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,77,96,119],{"type":13,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,62],{"type":13,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":18,"value":56},"typedef",{"type":13,"tag":46,"props":58,"children":59},{"style":53},[60],{"type":18,"value":61}," struct",{"type":13,"tag":46,"props":63,"children":65},{"style":64},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[66],{"type":18,"value":67}," VkVideoEncodeH264DpbSlotInfoKHR {\n",{"type":13,"tag":46,"props":69,"children":71},{"class":48,"line":70},2,[72],{"type":13,"tag":46,"props":73,"children":74},{"style":64},[75],{"type":18,"value":76}," VkStructureType sType;\n",{"type":13,"tag":46,"props":78,"children":80},{"class":48,"line":79},3,[81,86,91],{"type":13,"tag":46,"props":82,"children":83},{"style":53},[84],{"type":18,"value":85}," const",{"type":13,"tag":46,"props":87,"children":88},{"style":53},[89],{"type":18,"value":90}," void*",{"type":13,"tag":46,"props":92,"children":93},{"style":64},[94],{"type":18,"value":95}," pNext;\n",{"type":13,"tag":46,"props":97,"children":99},{"class":48,"line":98},4,[100,104,109,114],{"type":13,"tag":46,"props":101,"children":102},{"style":53},[103],{"type":18,"value":85},{"type":13,"tag":46,"props":105,"children":106},{"style":64},[107],{"type":18,"value":108}," StdVideoEncodeH264ReferenceInfo",{"type":13,"tag":46,"props":110,"children":111},{"style":53},[112],{"type":18,"value":113},"*",{"type":13,"tag":46,"props":115,"children":116},{"style":64},[117],{"type":18,"value":118}," pStdReferenceInfo;\n",{"type":13,"tag":46,"props":120,"children":122},{"class":48,"line":121},5,[123],{"type":13,"tag":46,"props":124,"children":125},{"style":64},[126],{"type":18,"value":127},"} VkVideoEncodeH264DpbSlotInfoKHR;\n",{"type":13,"tag":33,"props":129,"children":134},{"className":130,"code":131,"filename":132,"language":133,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodeH264DpbSlotInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n p_std_reference_info: *const StdVideoEncodeH264ReferenceInfo,\n}\n","Rust","rs",[135],{"type":13,"tag":42,"props":136,"children":137},{"__ignoreMap":39},[138,161,194,216,241],{"type":13,"tag":46,"props":139,"children":140},{"class":48,"line":49},[141,146,150,156],{"type":13,"tag":46,"props":142,"children":143},{"style":53},[144],{"type":18,"value":145},"pub",{"type":13,"tag":46,"props":147,"children":148},{"style":53},[149],{"type":18,"value":61},{"type":13,"tag":46,"props":151,"children":153},{"style":152},"--shiki-default:#953800;--shiki-dark:#FFA657",[154],{"type":18,"value":155}," VideoEncodeH264DpbSlotInfoKHR",{"type":13,"tag":46,"props":157,"children":158},{"style":64},[159],{"type":18,"value":160}," {\n",{"type":13,"tag":46,"props":162,"children":163},{"class":48,"line":70},[164,169,174,179,184,189],{"type":13,"tag":46,"props":165,"children":166},{"style":64},[167],{"type":18,"value":168}," s_type",{"type":13,"tag":46,"props":170,"children":171},{"style":53},[172],{"type":18,"value":173},":",{"type":13,"tag":46,"props":175,"children":176},{"style":152},[177],{"type":18,"value":178}," vk",{"type":13,"tag":46,"props":180,"children":181},{"style":53},[182],{"type":18,"value":183},"::",{"type":13,"tag":46,"props":185,"children":186},{"style":152},[187],{"type":18,"value":188},"StructureType",{"type":13,"tag":46,"props":190,"children":191},{"style":64},[192],{"type":18,"value":193},",\n",{"type":13,"tag":46,"props":195,"children":196},{"class":48,"line":79},[197,202,206,211],{"type":13,"tag":46,"props":198,"children":199},{"style":64},[200],{"type":18,"value":201}," p_next",{"type":13,"tag":46,"props":203,"children":204},{"style":53},[205],{"type":18,"value":173},{"type":13,"tag":46,"props":207,"children":208},{"style":53},[209],{"type":18,"value":210}," *const",{"type":13,"tag":46,"props":212,"children":213},{"style":64},[214],{"type":18,"value":215}," c_void,\n",{"type":13,"tag":46,"props":217,"children":218},{"class":48,"line":98},[219,224,228,232,237],{"type":13,"tag":46,"props":220,"children":221},{"style":64},[222],{"type":18,"value":223}," p_std_reference_info",{"type":13,"tag":46,"props":225,"children":226},{"style":53},[227],{"type":18,"value":173},{"type":13,"tag":46,"props":229,"children":230},{"style":53},[231],{"type":18,"value":210},{"type":13,"tag":46,"props":233,"children":235},{"style":234},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[236],{"type":18,"value":108},{"type":13,"tag":46,"props":238,"children":239},{"style":64},[240],{"type":18,"value":193},{"type":13,"tag":46,"props":242,"children":243},{"class":48,"line":121},[244],{"type":13,"tag":46,"props":245,"children":246},{"style":64},[247],{"type":18,"value":248},"}\n",{"type":13,"tag":250,"props":251,"children":252},"ul",{},[253,273,292],{"type":13,"tag":254,"props":255,"children":256},"li",{},[257,263,265,271],{"type":13,"tag":42,"props":258,"children":260},{"className":259},[],[261],{"type":18,"value":262},"sType",{"type":18,"value":264}," is a ",{"type":13,"tag":21,"props":266,"children":268},{"href":267},"/man/VkStructureType",[269],{"type":18,"value":270},"VkStructureType",{"type":18,"value":272}," value identifying this structure.",{"type":13,"tag":254,"props":274,"children":275},{},[276,282,284,290],{"type":13,"tag":42,"props":277,"children":279},{"className":278},[],[280],{"type":18,"value":281},"pNext",{"type":18,"value":283}," is ",{"type":13,"tag":42,"props":285,"children":287},{"className":286},[],[288],{"type":18,"value":289},"NULL",{"type":18,"value":291}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":254,"props":293,"children":294},{},[295,301,303,309,311,317],{"type":13,"tag":42,"props":296,"children":298},{"className":297},[],[299],{"type":18,"value":300},"pStdReferenceInfo",{"type":18,"value":302}," is a pointer to a\n",{"type":13,"tag":42,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":308},"StdVideoEncodeH264ReferenceInfo",{"type":18,"value":310}," structure specifying\n",{"type":13,"tag":21,"props":312,"children":314},{"href":313},"/404#encode-h264-reference-info",[315],{"type":18,"value":316},"H.264 reference information",{"type":18,"value":318},".",{"type":13,"tag":14,"props":320,"children":321},{},[322,324,329,331,337,338,344,346,351,353,358,360,364,365,371,373,379],{"type":18,"value":323},"This structure is specified in the ",{"type":13,"tag":42,"props":325,"children":327},{"className":326},[],[328],{"type":18,"value":281},{"type":18,"value":330}," chain of\n",{"type":13,"tag":21,"props":332,"children":334},{"href":333},"/man/VkVideoEncodeInfoKHR",[335],{"type":18,"value":336},"VkVideoEncodeInfoKHR",{"type":18,"value":183},{"type":13,"tag":42,"props":339,"children":341},{"className":340},[],[342],{"type":18,"value":343},"pSetupReferenceSlot",{"type":18,"value":345},", if not ",{"type":13,"tag":42,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":289},{"type":18,"value":352},", and\nthe ",{"type":13,"tag":42,"props":354,"children":356},{"className":355},[],[357],{"type":18,"value":281},{"type":18,"value":359}," chain of the elements of\n",{"type":13,"tag":21,"props":361,"children":362},{"href":333},[363],{"type":18,"value":336},{"type":18,"value":183},{"type":13,"tag":42,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":370},"pReferenceSlots",{"type":18,"value":372}," to specify the\ncodec-specific reference picture information for an ",{"type":13,"tag":21,"props":374,"children":376},{"href":375},"/chapters/video-coding#encode-h264",[377],{"type":18,"value":378},"H.264\nencode operation",{"type":18,"value":318},{"type":13,"tag":381,"props":382,"children":384},"h6",{"id":383},"active-reference-picture-information",[385],{"type":18,"value":386},"Active Reference Picture Information",{"type":13,"tag":14,"props":388,"children":389},{},[390,392,397,398,402,403,408,410,416,418,422,423,428],{"type":18,"value":391},"When this structure is specified in the ",{"type":13,"tag":42,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":281},{"type":18,"value":359},{"type":13,"tag":21,"props":399,"children":400},{"href":333},[401],{"type":18,"value":336},{"type":18,"value":183},{"type":13,"tag":42,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":370},{"type":18,"value":409},", one element is added to\nthe list of ",{"type":13,"tag":21,"props":411,"children":413},{"href":412},"/404#encode-active-reference-picture-info",[414],{"type":18,"value":415},"active reference\npictures",{"type":18,"value":417}," used by the video encode operation for each element of\n",{"type":13,"tag":21,"props":419,"children":420},{"href":333},[421],{"type":18,"value":336},{"type":18,"value":183},{"type":13,"tag":42,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":370},{"type":18,"value":429}," as follows:",{"type":13,"tag":250,"props":431,"children":432},{},[433,446,478],{"type":13,"tag":254,"props":434,"children":435},{},[436,438,444],{"type":18,"value":437},"The image subregion used is determined according to the\n",{"type":13,"tag":21,"props":439,"children":441},{"href":440},"/chapters/video-coding#encode-h264-picture-data-access",[442],{"type":18,"value":443},"H.264 Encode Picture Data Access",{"type":18,"value":445},"\nsection.",{"type":13,"tag":254,"props":447,"children":448},{},[449,451,457,459,465,467,471,472,477],{"type":18,"value":450},"The reference picture is associated with the ",{"type":13,"tag":21,"props":452,"children":454},{"href":453},"/chapters/video-coding#dpb-slot",[455],{"type":18,"value":456},"DPB slot",{"type":18,"value":458}," index\nspecified in the ",{"type":13,"tag":42,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":464},"slotIndex",{"type":18,"value":466}," member of the corresponding element of\n",{"type":13,"tag":21,"props":468,"children":469},{"href":333},[470],{"type":18,"value":336},{"type":18,"value":183},{"type":13,"tag":42,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":370},{"type":18,"value":318},{"type":13,"tag":254,"props":479,"children":480},{},[481,483,487,489,494],{"type":18,"value":482},"The reference picture is associated with the\n",{"type":13,"tag":21,"props":484,"children":485},{"href":313},[486],{"type":18,"value":316},{"type":18,"value":488}," provided in\n",{"type":13,"tag":42,"props":490,"children":492},{"className":491},[],[493],{"type":18,"value":300},{"type":18,"value":318},{"type":13,"tag":381,"props":496,"children":498},{"id":497},"reconstructed-picture-information",[499],{"type":18,"value":500},"Reconstructed Picture Information",{"type":13,"tag":14,"props":502,"children":503},{},[504,505,510,511,515,516,521,523,529],{"type":18,"value":391},{"type":13,"tag":42,"props":506,"children":508},{"className":507},[],[509],{"type":18,"value":281},{"type":18,"value":330},{"type":13,"tag":21,"props":512,"children":513},{"href":333},[514],{"type":18,"value":336},{"type":18,"value":183},{"type":13,"tag":42,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":343},{"type":18,"value":522},", the information\nrelated to the ",{"type":13,"tag":21,"props":524,"children":526},{"href":525},"/404#encode-reconstructed-picture-info",[527],{"type":18,"value":528},"reconstructed picture",{"type":18,"value":530},"\nis defined as follows:",{"type":13,"tag":250,"props":532,"children":533},{},[534,543,582],{"type":13,"tag":254,"props":535,"children":536},{},[537,538,542],{"type":18,"value":437},{"type":13,"tag":21,"props":539,"children":540},{"href":440},[541],{"type":18,"value":443},{"type":18,"value":445},{"type":13,"tag":254,"props":544,"children":545},{},[546,548,554,556,562,564,568,570,574,575,581],{"type":18,"value":547},"If ",{"type":13,"tag":21,"props":549,"children":551},{"href":550},"/man/VkVideoEncodeH264PictureInfoKHR#encode-h264-ref-pic-setup",[552],{"type":18,"value":553},"reference picture setup",{"type":18,"value":555}," is requested,\nthen the reconstructed picture is used to ",{"type":13,"tag":21,"props":557,"children":559},{"href":558},"/chapters/video-coding#dpb-slot-states",[560],{"type":18,"value":561},"activate",{"type":18,"value":563},"\nthe ",{"type":13,"tag":21,"props":565,"children":566},{"href":453},[567],{"type":18,"value":456},{"type":18,"value":569}," with the index specified in\n",{"type":13,"tag":21,"props":571,"children":572},{"href":333},[573],{"type":18,"value":336},{"type":18,"value":183},{"type":13,"tag":42,"props":576,"children":578},{"className":577},[],[579],{"type":18,"value":580},"pSetupReferenceSlot→slotIndex",{"type":18,"value":318},{"type":13,"tag":254,"props":583,"children":584},{},[585,587,591,592,597],{"type":18,"value":586},"The reconstructed picture is associated with the\n",{"type":13,"tag":21,"props":588,"children":589},{"href":313},[590],{"type":18,"value":316},{"type":18,"value":488},{"type":13,"tag":42,"props":593,"children":595},{"className":594},[],[596],{"type":18,"value":300},{"type":18,"value":318},{"type":13,"tag":381,"props":599,"children":601},{"id":600},"std-reference-information",[602],{"type":18,"value":603},"Std Reference Information",{"type":13,"tag":14,"props":605,"children":606},{},[607,609,614,616,621],{"type":18,"value":608},"The members of the ",{"type":13,"tag":42,"props":610,"children":612},{"className":611},[],[613],{"type":18,"value":308},{"type":18,"value":615}," structure pointed to\nby ",{"type":13,"tag":42,"props":617,"children":619},{"className":618},[],[620],{"type":18,"value":300},{"type":18,"value":622}," are interpreted as follows:",{"type":13,"tag":250,"props":624,"children":625},{},[626,637,664,680,704,720],{"type":13,"tag":254,"props":627,"children":628},{},[629,635],{"type":13,"tag":42,"props":630,"children":632},{"className":631},[],[633],{"type":18,"value":634},"flags.reserved",{"type":18,"value":636}," is used only for padding purposes and is otherwise\nignored;",{"type":13,"tag":254,"props":638,"children":639},{},[640,646,648,654,656,662],{"type":13,"tag":42,"props":641,"children":643},{"className":642},[],[644],{"type":18,"value":645},"flags.used_for_long_term_reference",{"type":18,"value":647}," is used to indicate whether the\npicture is marked as ",{"type":13,"tag":42,"props":649,"children":651},{"className":650},[],[652],{"type":18,"value":653},"used for long-term reference",{"type":18,"value":655}," as defined in\nsection 8.2.5.1 of the ",{"type":13,"tag":21,"props":657,"children":659},{"href":658},"/chapters/introduction#itu-t-h264",[660],{"type":18,"value":661},"ITU-T H.264 Specification",{"type":18,"value":663},";",{"type":13,"tag":254,"props":665,"children":666},{},[667,673,675,679],{"type":13,"tag":42,"props":668,"children":670},{"className":669},[],[671],{"type":18,"value":672},"primary_pic_type",{"type":18,"value":674}," as defined in section 7.4.2 of the ",{"type":13,"tag":21,"props":676,"children":677},{"href":658},[678],{"type":18,"value":661},{"type":18,"value":663},{"type":13,"tag":254,"props":681,"children":682},{},[683,689,691,697,699,703],{"type":13,"tag":42,"props":684,"children":686},{"className":685},[],[687],{"type":18,"value":688},"long_term_pic_num",{"type":18,"value":690}," and ",{"type":13,"tag":42,"props":692,"children":694},{"className":693},[],[695],{"type":18,"value":696},"long_term_frame_idx",{"type":18,"value":698}," as defined in\nsection 7.4.3 of the ",{"type":13,"tag":21,"props":700,"children":701},{"href":658},[702],{"type":18,"value":661},{"type":18,"value":663},{"type":13,"tag":254,"props":705,"children":706},{},[707,713,715,719],{"type":13,"tag":42,"props":708,"children":710},{"className":709},[],[711],{"type":18,"value":712},"temporal_id",{"type":18,"value":714}," as defined in section G.7.4.1.1 of the ",{"type":13,"tag":21,"props":716,"children":717},{"href":658},[718],{"type":18,"value":661},{"type":18,"value":663},{"type":13,"tag":254,"props":721,"children":722},{},[723,725,729],{"type":18,"value":724},"all other members are interpreted as defined in section 8.2 of the\n",{"type":13,"tag":21,"props":726,"children":727},{"href":658},[728],{"type":18,"value":661},{"type":18,"value":318},{"type":13,"tag":731,"props":732,"children":734},"validity-group",{"name":733},"Valid Usage (Implicit)",[735,763],{"type":13,"tag":736,"props":737,"children":739},"validity-field",{"name":738},"VUID-VkVideoEncodeH264DpbSlotInfoKHR-sType-sType",[740],{"type":13,"tag":14,"props":741,"children":742},{},[743,748,750,755,757],{"type":13,"tag":42,"props":744,"children":746},{"className":745},[],[747],{"type":18,"value":262},{"type":18,"value":749}," ",{"type":13,"tag":751,"props":752,"children":754},"normative",{"type":753},"must",[],{"type":18,"value":756}," be ",{"type":13,"tag":42,"props":758,"children":760},{"className":759},[],[761],{"type":18,"value":762},"VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_KHR",{"type":13,"tag":736,"props":764,"children":766},{"name":765},"VUID-VkVideoEncodeH264DpbSlotInfoKHR-pStdReferenceInfo-parameter",[767],{"type":13,"tag":14,"props":768,"children":769},{},[770,775,776,779,781,786],{"type":13,"tag":42,"props":771,"children":773},{"className":772},[],[774],{"type":18,"value":300},{"type":18,"value":749},{"type":13,"tag":751,"props":777,"children":778},{"type":753},[],{"type":18,"value":780}," be a valid pointer to a valid ",{"type":13,"tag":42,"props":782,"children":784},{"className":783},[],[785],{"type":18,"value":308},{"type":18,"value":787}," value",{"type":13,"tag":789,"props":790,"children":791},"style",{},[792],{"type":18,"value":793},"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":70,"depth":70,"links":795},[],"markdown",1725732592960]