[{"data":1,"prerenderedAt":856},["ShallowReactive",2],{"pO9TVHqXE2":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":855,"_id":4},"VkVideoEncodeH264SessionParametersAddInfoKHR","Structure specifies H.264 encoder parameter set information","VK_KHR_video_encode_h264","structs",[],{"type":10,"children":11,"toc":853},"root",[12,28,369,498,510,612,705,847],{"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,176],{"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 VkVideoEncodeH264SessionParametersAddInfoKHR {\n VkStructureType sType;\n const void* pNext;\n uint32_t stdSPSCount;\n const StdVideoH264SequenceParameterSet* pStdSPSs;\n uint32_t stdPPSCount;\n const StdVideoH264PictureParameterSet* pStdPPSs;\n} VkVideoEncodeH264SessionParametersAddInfoKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,132,145,167],{"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}," VkVideoEncodeH264SessionParametersAddInfoKHR {\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}," uint32_t",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," stdSPSCount;\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}," StdVideoH264SequenceParameterSet",{"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}," pStdSPSs;\n",{"type":13,"tag":45,"props":133,"children":135},{"class":47,"line":134},6,[136,140],{"type":13,"tag":45,"props":137,"children":138},{"style":52},[139],{"type":18,"value":103},{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144}," stdPPSCount;\n",{"type":13,"tag":45,"props":146,"children":148},{"class":47,"line":147},7,[149,153,158,162],{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":84},{"type":13,"tag":45,"props":154,"children":155},{"style":63},[156],{"type":18,"value":157}," StdVideoH264PictureParameterSet",{"type":13,"tag":45,"props":159,"children":160},{"style":52},[161],{"type":18,"value":126},{"type":13,"tag":45,"props":163,"children":164},{"style":63},[165],{"type":18,"value":166}," pStdPPSs;\n",{"type":13,"tag":45,"props":168,"children":170},{"class":47,"line":169},8,[171],{"type":13,"tag":45,"props":172,"children":173},{"style":63},[174],{"type":18,"value":175},"} VkVideoEncodeH264SessionParametersAddInfoKHR;\n",{"type":13,"tag":33,"props":177,"children":182},{"className":178,"code":179,"filename":180,"language":181,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodeH264SessionParametersAddInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n std_sps_count: u32,\n p_std_sp_ss: *const StdVideoH264SequenceParameterSet,\n std_pps_count: u32,\n p_std_pp_ss: *const StdVideoH264PictureParameterSet, // List of Picture Parameters associated with the spsStd, above\n}\n","Rust","rs",[183],{"type":13,"tag":21,"props":184,"children":185},{"__ignoreMap":39},[186,209,242,264,285,310,330,361],{"type":13,"tag":45,"props":187,"children":188},{"class":47,"line":48},[189,194,198,204],{"type":13,"tag":45,"props":190,"children":191},{"style":52},[192],{"type":18,"value":193},"pub",{"type":13,"tag":45,"props":195,"children":196},{"style":52},[197],{"type":18,"value":60},{"type":13,"tag":45,"props":199,"children":201},{"style":200},"--shiki-default:#953800;--shiki-dark:#FFA657",[202],{"type":18,"value":203}," VideoEncodeH264SessionParametersAddInfoKHR",{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," {\n",{"type":13,"tag":45,"props":210,"children":211},{"class":47,"line":69},[212,217,222,227,232,237],{"type":13,"tag":45,"props":213,"children":214},{"style":63},[215],{"type":18,"value":216}," s_type",{"type":13,"tag":45,"props":218,"children":219},{"style":52},[220],{"type":18,"value":221},":",{"type":13,"tag":45,"props":223,"children":224},{"style":200},[225],{"type":18,"value":226}," vk",{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":231},"::",{"type":13,"tag":45,"props":233,"children":234},{"style":200},[235],{"type":18,"value":236},"StructureType",{"type":13,"tag":45,"props":238,"children":239},{"style":63},[240],{"type":18,"value":241},",\n",{"type":13,"tag":45,"props":243,"children":244},{"class":47,"line":78},[245,250,254,259],{"type":13,"tag":45,"props":246,"children":247},{"style":63},[248],{"type":18,"value":249}," p_next",{"type":13,"tag":45,"props":251,"children":252},{"style":52},[253],{"type":18,"value":221},{"type":13,"tag":45,"props":255,"children":256},{"style":52},[257],{"type":18,"value":258}," *const",{"type":13,"tag":45,"props":260,"children":261},{"style":63},[262],{"type":18,"value":263}," c_void,\n",{"type":13,"tag":45,"props":265,"children":266},{"class":47,"line":97},[267,272,276,281],{"type":13,"tag":45,"props":268,"children":269},{"style":63},[270],{"type":18,"value":271}," std_sps_count",{"type":13,"tag":45,"props":273,"children":274},{"style":52},[275],{"type":18,"value":221},{"type":13,"tag":45,"props":277,"children":278},{"style":200},[279],{"type":18,"value":280}," u32",{"type":13,"tag":45,"props":282,"children":283},{"style":63},[284],{"type":18,"value":241},{"type":13,"tag":45,"props":286,"children":287},{"class":47,"line":111},[288,293,297,301,306],{"type":13,"tag":45,"props":289,"children":290},{"style":63},[291],{"type":18,"value":292}," p_std_sp_ss",{"type":13,"tag":45,"props":294,"children":295},{"style":52},[296],{"type":18,"value":221},{"type":13,"tag":45,"props":298,"children":299},{"style":52},[300],{"type":18,"value":258},{"type":13,"tag":45,"props":302,"children":304},{"style":303},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[305],{"type":18,"value":121},{"type":13,"tag":45,"props":307,"children":308},{"style":63},[309],{"type":18,"value":241},{"type":13,"tag":45,"props":311,"children":312},{"class":47,"line":134},[313,318,322,326],{"type":13,"tag":45,"props":314,"children":315},{"style":63},[316],{"type":18,"value":317}," std_pps_count",{"type":13,"tag":45,"props":319,"children":320},{"style":52},[321],{"type":18,"value":221},{"type":13,"tag":45,"props":323,"children":324},{"style":200},[325],{"type":18,"value":280},{"type":13,"tag":45,"props":327,"children":328},{"style":63},[329],{"type":18,"value":241},{"type":13,"tag":45,"props":331,"children":332},{"class":47,"line":147},[333,338,342,346,350,355],{"type":13,"tag":45,"props":334,"children":335},{"style":63},[336],{"type":18,"value":337}," p_std_pp_ss",{"type":13,"tag":45,"props":339,"children":340},{"style":52},[341],{"type":18,"value":221},{"type":13,"tag":45,"props":343,"children":344},{"style":52},[345],{"type":18,"value":258},{"type":13,"tag":45,"props":347,"children":348},{"style":303},[349],{"type":18,"value":157},{"type":13,"tag":45,"props":351,"children":352},{"style":63},[353],{"type":18,"value":354},", ",{"type":13,"tag":45,"props":356,"children":358},{"style":357},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[359],{"type":18,"value":360},"// List of Picture Parameters associated with the spsStd, above\n",{"type":13,"tag":45,"props":362,"children":363},{"class":47,"line":169},[364],{"type":13,"tag":45,"props":365,"children":366},{"style":63},[367],{"type":18,"value":368},"}\n",{"type":13,"tag":370,"props":371,"children":372},"ul",{},[373,394,413,432,458,475],{"type":13,"tag":374,"props":375,"children":376},"li",{},[377,383,385,392],{"type":13,"tag":21,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":382},"sType",{"type":18,"value":384}," is a ",{"type":13,"tag":386,"props":387,"children":389},"a",{"href":388},"/man/VkStructureType",[390],{"type":18,"value":391},"VkStructureType",{"type":18,"value":393}," value identifying this structure.",{"type":13,"tag":374,"props":395,"children":396},{},[397,403,405,411],{"type":13,"tag":21,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":402},"pNext",{"type":18,"value":404}," is ",{"type":13,"tag":21,"props":406,"children":408},{"className":407},[],[409],{"type":18,"value":410},"NULL",{"type":18,"value":412}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":374,"props":414,"children":415},{},[416,422,424,430],{"type":13,"tag":21,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":421},"stdSPSCount",{"type":18,"value":423}," is the number of elements in the ",{"type":13,"tag":21,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":429},"pStdSPSs",{"type":18,"value":431}," array.",{"type":13,"tag":374,"props":433,"children":434},{},[435,440,442,448,450,456],{"type":13,"tag":21,"props":436,"children":438},{"className":437},[],[439],{"type":18,"value":429},{"type":18,"value":441}," is a pointer to an array of\n",{"type":13,"tag":21,"props":443,"children":445},{"className":444},[],[446],{"type":18,"value":447},"StdVideoH264SequenceParameterSet",{"type":18,"value":449}," structures describing the\n",{"type":13,"tag":386,"props":451,"children":453},{"href":452},"/chapters/video-coding#encode-h264-sps",[454],{"type":18,"value":455},"H.264 SPS",{"type":18,"value":457}," entries to add.",{"type":13,"tag":374,"props":459,"children":460},{},[461,467,468,474],{"type":13,"tag":21,"props":462,"children":464},{"className":463},[],[465],{"type":18,"value":466},"stdPPSCount",{"type":18,"value":423},{"type":13,"tag":21,"props":469,"children":471},{"className":470},[],[472],{"type":18,"value":473},"pStdPPSs",{"type":18,"value":431},{"type":13,"tag":374,"props":476,"children":477},{},[478,483,484,490,491,497],{"type":13,"tag":21,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":473},{"type":18,"value":441},{"type":13,"tag":21,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":489},"StdVideoH264PictureParameterSet",{"type":18,"value":449},{"type":13,"tag":386,"props":492,"children":494},{"href":493},"/chapters/video-coding#encode-h264-pps",[495],{"type":18,"value":496},"H.264 PPS",{"type":18,"value":457},{"type":13,"tag":14,"props":499,"children":500},{},[501,503,508],{"type":18,"value":502},"This structure ",{"type":13,"tag":504,"props":505,"children":507},"normative",{"type":506},"can",[],{"type":18,"value":509}," be specified in the following places:",{"type":13,"tag":370,"props":511,"children":512},{},[513,573],{"type":13,"tag":374,"props":514,"children":515},{},[516,518,524,526,532,534,539,541,547,549,555,557,563,565,571],{"type":18,"value":517},"In the ",{"type":13,"tag":21,"props":519,"children":521},{"className":520},[],[522],{"type":18,"value":523},"pParametersAddInfo",{"type":18,"value":525}," member of the\n",{"type":13,"tag":386,"props":527,"children":529},{"href":528},"/man/VkVideoEncodeH264SessionParametersCreateInfoKHR",[530],{"type":18,"value":531},"VkVideoEncodeH264SessionParametersCreateInfoKHR",{"type":18,"value":533}," structure\nspecified in the ",{"type":13,"tag":21,"props":535,"children":537},{"className":536},[],[538],{"type":18,"value":402},{"type":18,"value":540}," chain of\n",{"type":13,"tag":386,"props":542,"children":544},{"href":543},"/man/VkVideoSessionParametersCreateInfoKHR",[545],{"type":18,"value":546},"VkVideoSessionParametersCreateInfoKHR",{"type":18,"value":548}," used to create a\n",{"type":13,"tag":386,"props":550,"children":552},{"href":551},"/chapters/video-coding#video-session-parameters",[553],{"type":18,"value":554},"video session parameters",{"type":18,"value":556}," object.\nIn this case, if the video codec operation the video session parameters\nobject is created with is\n",{"type":13,"tag":21,"props":558,"children":560},{"className":559},[],[561],{"type":18,"value":562},"VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR",{"type":18,"value":564},", then it defines the\nset of initial parameters to add to the created object (see\n",{"type":13,"tag":386,"props":566,"children":568},{"href":567},"/chapters/video-coding#creating-video-session-parameters",[569],{"type":18,"value":570},"Creating Video Session\nParameters",{"type":18,"value":572},").",{"type":13,"tag":374,"props":574,"children":575},{},[576,577,582,584,590,592,596,598,603,605,611],{"type":18,"value":517},{"type":13,"tag":21,"props":578,"children":580},{"className":579},[],[581],{"type":18,"value":402},{"type":18,"value":583}," chain of ",{"type":13,"tag":386,"props":585,"children":587},{"href":586},"/man/VkVideoSessionParametersUpdateInfoKHR",[588],{"type":18,"value":589},"VkVideoSessionParametersUpdateInfoKHR",{"type":18,"value":591},".\nIn this case, if the video codec operation the\n",{"type":13,"tag":386,"props":593,"children":594},{"href":551},[595],{"type":18,"value":554},{"type":18,"value":597}," object to be\nupdated was created with is\n",{"type":13,"tag":21,"props":599,"children":601},{"className":600},[],[602],{"type":18,"value":562},{"type":18,"value":604},", then it defines the\nset of parameters to add to it (see\n",{"type":13,"tag":386,"props":606,"children":608},{"href":607},"/chapters/video-coding#video-session-parameters-update",[609],{"type":18,"value":610},"Updating Video Session Parameters",{"type":18,"value":572},{"type":13,"tag":613,"props":614,"children":616},"validity-group",{"name":615},"Valid Usage",[617,659],{"type":13,"tag":618,"props":619,"children":621},"validity-field",{"name":620},"VUID-VkVideoEncodeH264SessionParametersAddInfoKHR-None-04837",[622],{"type":13,"tag":14,"props":623,"children":624},{},[625,626,632,634,639,641,646,648,652,654],{"type":18,"value":19},{"type":13,"tag":21,"props":627,"children":629},{"className":628},[],[630],{"type":18,"value":631},"seq_parameter_set_id",{"type":18,"value":633}," member of each\n",{"type":13,"tag":21,"props":635,"children":637},{"className":636},[],[638],{"type":18,"value":447},{"type":18,"value":640}," structure specified in the\nelements of ",{"type":13,"tag":21,"props":642,"children":644},{"className":643},[],[645],{"type":18,"value":429},{"type":18,"value":647}," ",{"type":13,"tag":504,"props":649,"children":651},{"type":650},"must",[],{"type":18,"value":653}," be unique within ",{"type":13,"tag":21,"props":655,"children":657},{"className":656},[],[658],{"type":18,"value":429},{"type":13,"tag":618,"props":660,"children":662},{"name":661},"VUID-VkVideoEncodeH264SessionParametersAddInfoKHR-None-04838",[663],{"type":13,"tag":14,"props":664,"children":665},{},[666,668,673,675,681,683,688,690,695,696,699,700],{"type":18,"value":667},"The pair constructed from the ",{"type":13,"tag":21,"props":669,"children":671},{"className":670},[],[672],{"type":18,"value":631},{"type":18,"value":674}," and\n",{"type":13,"tag":21,"props":676,"children":678},{"className":677},[],[679],{"type":18,"value":680},"pic_parameter_set_id",{"type":18,"value":682}," members of each\n",{"type":13,"tag":21,"props":684,"children":686},{"className":685},[],[687],{"type":18,"value":489},{"type":18,"value":689}," structure specified in the elements\nof ",{"type":13,"tag":21,"props":691,"children":693},{"className":692},[],[694],{"type":18,"value":473},{"type":18,"value":647},{"type":13,"tag":504,"props":697,"children":698},{"type":650},[],{"type":18,"value":653},{"type":13,"tag":21,"props":701,"children":703},{"className":702},[],[704],{"type":18,"value":473},{"type":13,"tag":613,"props":706,"children":708},{"name":707},"Valid Usage (Implicit)",[709,733,793],{"type":13,"tag":618,"props":710,"children":712},{"name":711},"VUID-VkVideoEncodeH264SessionParametersAddInfoKHR-sType-sType",[713],{"type":13,"tag":14,"props":714,"children":715},{},[716,721,722,725,727],{"type":13,"tag":21,"props":717,"children":719},{"className":718},[],[720],{"type":18,"value":382},{"type":18,"value":647},{"type":13,"tag":504,"props":723,"children":724},{"type":650},[],{"type":18,"value":726}," be ",{"type":13,"tag":21,"props":728,"children":730},{"className":729},[],[731],{"type":18,"value":732},"VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR",{"type":13,"tag":618,"props":734,"children":736},{"name":735},"VUID-VkVideoEncodeH264SessionParametersAddInfoKHR-pStdSPSs-parameter",[737],{"type":13,"tag":14,"props":738,"children":739},{},[740,742,747,749,755,757,762,763,768,769,774,775,778,780,785,786,791],{"type":18,"value":741},"If ",{"type":13,"tag":21,"props":743,"children":745},{"className":744},[],[746],{"type":18,"value":421},{"type":18,"value":748}," is not ",{"type":13,"tag":21,"props":750,"children":752},{"className":751},[],[753],{"type":18,"value":754},"0",{"type":18,"value":756},", and ",{"type":13,"tag":21,"props":758,"children":760},{"className":759},[],[761],{"type":18,"value":429},{"type":18,"value":748},{"type":13,"tag":21,"props":764,"children":766},{"className":765},[],[767],{"type":18,"value":410},{"type":18,"value":354},{"type":13,"tag":21,"props":770,"children":772},{"className":771},[],[773],{"type":18,"value":429},{"type":18,"value":647},{"type":13,"tag":504,"props":776,"children":777},{"type":650},[],{"type":18,"value":779}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":781,"children":783},{"className":782},[],[784],{"type":18,"value":421},{"type":18,"value":647},{"type":13,"tag":21,"props":787,"children":789},{"className":788},[],[790],{"type":18,"value":447},{"type":18,"value":792}," values",{"type":13,"tag":618,"props":794,"children":796},{"name":795},"VUID-VkVideoEncodeH264SessionParametersAddInfoKHR-pStdPPSs-parameter",[797],{"type":13,"tag":14,"props":798,"children":799},{},[800,801,806,807,812,813,818,819,824,825,830,831,834,835,840,841,846],{"type":18,"value":741},{"type":13,"tag":21,"props":802,"children":804},{"className":803},[],[805],{"type":18,"value":466},{"type":18,"value":748},{"type":13,"tag":21,"props":808,"children":810},{"className":809},[],[811],{"type":18,"value":754},{"type":18,"value":756},{"type":13,"tag":21,"props":814,"children":816},{"className":815},[],[817],{"type":18,"value":473},{"type":18,"value":748},{"type":13,"tag":21,"props":820,"children":822},{"className":821},[],[823],{"type":18,"value":410},{"type":18,"value":354},{"type":13,"tag":21,"props":826,"children":828},{"className":827},[],[829],{"type":18,"value":473},{"type":18,"value":647},{"type":13,"tag":504,"props":832,"children":833},{"type":650},[],{"type":18,"value":779},{"type":13,"tag":21,"props":836,"children":838},{"className":837},[],[839],{"type":18,"value":466},{"type":18,"value":647},{"type":13,"tag":21,"props":842,"children":844},{"className":843},[],[845],{"type":18,"value":489},{"type":18,"value":792},{"type":13,"tag":848,"props":849,"children":850},"style",{},[851],{"type":18,"value":852},"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":854},[],"markdown",1729612487156]