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