[{"data":1,"prerenderedAt":590},["ShallowReactive",2],{"nzfEH7KXjA":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":589,"_id":4},"VkVideoEncodeH264NaluSliceInfoKHR","Structure specifies H.264 encode slice NALU parameters","VK_KHR_video_encode_h264","structs",[],{"type":10,"children":11,"toc":587},"root",[12,28,284,381,388,407,501,581],{"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/VkVideoEncodeH264NaluSliceInfoKHR",[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,142],{"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 VkVideoEncodeH264NaluSliceInfoKHR {\n VkStructureType sType;\n const void* pNext;\n int32_t constantQp;\n const StdVideoEncodeH264SliceHeader* pStdSliceHeader;\n} VkVideoEncodeH264NaluSliceInfoKHR;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,77,96,110,133],{"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}," VkVideoEncodeH264NaluSliceInfoKHR {\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,105],{"type":13,"tag":46,"props":101,"children":102},{"style":53},[103],{"type":18,"value":104}," int32_t",{"type":13,"tag":46,"props":106,"children":107},{"style":64},[108],{"type":18,"value":109}," constantQp;\n",{"type":13,"tag":46,"props":111,"children":113},{"class":48,"line":112},5,[114,118,123,128],{"type":13,"tag":46,"props":115,"children":116},{"style":53},[117],{"type":18,"value":85},{"type":13,"tag":46,"props":119,"children":120},{"style":64},[121],{"type":18,"value":122}," StdVideoEncodeH264SliceHeader",{"type":13,"tag":46,"props":124,"children":125},{"style":53},[126],{"type":18,"value":127},"*",{"type":13,"tag":46,"props":129,"children":130},{"style":64},[131],{"type":18,"value":132}," pStdSliceHeader;\n",{"type":13,"tag":46,"props":134,"children":136},{"class":48,"line":135},6,[137],{"type":13,"tag":46,"props":138,"children":139},{"style":64},[140],{"type":18,"value":141},"} VkVideoEncodeH264NaluSliceInfoKHR;\n",{"type":13,"tag":33,"props":143,"children":148},{"className":144,"code":145,"filename":146,"language":147,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodeH264NaluSliceInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n constant_qp: i32,\n p_std_slice_header: *const StdVideoEncodeH264SliceHeader,\n}\n","Rust","rs",[149],{"type":13,"tag":42,"props":150,"children":151},{"__ignoreMap":39},[152,175,208,230,251,276],{"type":13,"tag":46,"props":153,"children":154},{"class":48,"line":49},[155,160,164,170],{"type":13,"tag":46,"props":156,"children":157},{"style":53},[158],{"type":18,"value":159},"pub",{"type":13,"tag":46,"props":161,"children":162},{"style":53},[163],{"type":18,"value":61},{"type":13,"tag":46,"props":165,"children":167},{"style":166},"--shiki-default:#953800;--shiki-dark:#FFA657",[168],{"type":18,"value":169}," VideoEncodeH264NaluSliceInfoKHR",{"type":13,"tag":46,"props":171,"children":172},{"style":64},[173],{"type":18,"value":174}," {\n",{"type":13,"tag":46,"props":176,"children":177},{"class":48,"line":70},[178,183,188,193,198,203],{"type":13,"tag":46,"props":179,"children":180},{"style":64},[181],{"type":18,"value":182}," s_type",{"type":13,"tag":46,"props":184,"children":185},{"style":53},[186],{"type":18,"value":187},":",{"type":13,"tag":46,"props":189,"children":190},{"style":166},[191],{"type":18,"value":192}," vk",{"type":13,"tag":46,"props":194,"children":195},{"style":53},[196],{"type":18,"value":197},"::",{"type":13,"tag":46,"props":199,"children":200},{"style":166},[201],{"type":18,"value":202},"StructureType",{"type":13,"tag":46,"props":204,"children":205},{"style":64},[206],{"type":18,"value":207},",\n",{"type":13,"tag":46,"props":209,"children":210},{"class":48,"line":79},[211,216,220,225],{"type":13,"tag":46,"props":212,"children":213},{"style":64},[214],{"type":18,"value":215}," p_next",{"type":13,"tag":46,"props":217,"children":218},{"style":53},[219],{"type":18,"value":187},{"type":13,"tag":46,"props":221,"children":222},{"style":53},[223],{"type":18,"value":224}," *const",{"type":13,"tag":46,"props":226,"children":227},{"style":64},[228],{"type":18,"value":229}," c_void,\n",{"type":13,"tag":46,"props":231,"children":232},{"class":48,"line":98},[233,238,242,247],{"type":13,"tag":46,"props":234,"children":235},{"style":64},[236],{"type":18,"value":237}," constant_qp",{"type":13,"tag":46,"props":239,"children":240},{"style":53},[241],{"type":18,"value":187},{"type":13,"tag":46,"props":243,"children":244},{"style":166},[245],{"type":18,"value":246}," i32",{"type":13,"tag":46,"props":248,"children":249},{"style":64},[250],{"type":18,"value":207},{"type":13,"tag":46,"props":252,"children":253},{"class":48,"line":112},[254,259,263,267,272],{"type":13,"tag":46,"props":255,"children":256},{"style":64},[257],{"type":18,"value":258}," p_std_slice_header",{"type":13,"tag":46,"props":260,"children":261},{"style":53},[262],{"type":18,"value":187},{"type":13,"tag":46,"props":264,"children":265},{"style":53},[266],{"type":18,"value":224},{"type":13,"tag":46,"props":268,"children":270},{"style":269},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[271],{"type":18,"value":122},{"type":13,"tag":46,"props":273,"children":274},{"style":64},[275],{"type":18,"value":207},{"type":13,"tag":46,"props":277,"children":278},{"class":48,"line":135},[279],{"type":13,"tag":46,"props":280,"children":281},{"style":64},[282],{"type":18,"value":283},"}\n",{"type":13,"tag":285,"props":286,"children":287},"ul",{},[288,308,327,354],{"type":13,"tag":289,"props":290,"children":291},"li",{},[292,298,300,306],{"type":13,"tag":42,"props":293,"children":295},{"className":294},[],[296],{"type":18,"value":297},"sType",{"type":18,"value":299}," is a ",{"type":13,"tag":21,"props":301,"children":303},{"href":302},"/man/VkStructureType",[304],{"type":18,"value":305},"VkStructureType",{"type":18,"value":307}," value identifying this structure.",{"type":13,"tag":289,"props":309,"children":310},{},[311,317,319,325],{"type":13,"tag":42,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"pNext",{"type":18,"value":318}," is ",{"type":13,"tag":42,"props":320,"children":322},{"className":321},[],[323],{"type":18,"value":324},"NULL",{"type":18,"value":326}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":289,"props":328,"children":329},{},[330,336,338,344,346,352],{"type":13,"tag":42,"props":331,"children":333},{"className":332},[],[334],{"type":18,"value":335},"constantQp",{"type":18,"value":337}," is the QP to use for the slice if the current\n",{"type":13,"tag":21,"props":339,"children":341},{"href":340},"/chapters/video-coding#encode-rate-control-modes",[342],{"type":18,"value":343},"rate control mode",{"type":18,"value":345}," configured for the video\nsession is ",{"type":13,"tag":42,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":351},"VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR",{"type":18,"value":353},".",{"type":13,"tag":289,"props":355,"children":356},{},[357,363,365,371,373,379],{"type":13,"tag":42,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"pStdSliceHeader",{"type":18,"value":364}," is a pointer to a\n",{"type":13,"tag":42,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":370},"StdVideoEncodeH264SliceHeader",{"type":18,"value":372}," structure specifying\n",{"type":13,"tag":21,"props":374,"children":376},{"href":375},"/404#encode-h264-slice-header-params",[377],{"type":18,"value":378},"H.264 slice header parameters",{"type":18,"value":380}," for\nthe slice.",{"type":13,"tag":382,"props":383,"children":385},"h6",{"id":384},"std-slice-header-parameters",[386],{"type":18,"value":387},"Std Slice Header Parameters",{"type":13,"tag":14,"props":389,"children":390},{},[391,393,398,400,405],{"type":18,"value":392},"The members of the ",{"type":13,"tag":42,"props":394,"children":396},{"className":395},[],[397],{"type":18,"value":370},{"type":18,"value":399}," structure pointed to\nby ",{"type":13,"tag":42,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":362},{"type":18,"value":406}," are interpreted as follows:",{"type":13,"tag":285,"props":408,"children":409},{},[410,429,490],{"type":13,"tag":289,"props":411,"children":412},{},[413,419,421,427],{"type":13,"tag":42,"props":414,"children":416},{"className":415},[],[417],{"type":18,"value":418},"flags.reserved",{"type":18,"value":420}," and ",{"type":13,"tag":42,"props":422,"children":424},{"className":423},[],[425],{"type":18,"value":426},"reserved1",{"type":18,"value":428}," are used only for padding\npurposes and are otherwise ignored;",{"type":13,"tag":289,"props":430,"children":431},{},[432,434,440,442,447,449,455,457],{"type":18,"value":433},"if ",{"type":13,"tag":42,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":439},"pWeightTable",{"type":18,"value":441}," is not ",{"type":13,"tag":42,"props":443,"children":445},{"className":444},[],[446],{"type":18,"value":324},{"type":18,"value":448},", then it is a pointer to a\n",{"type":13,"tag":42,"props":450,"children":452},{"className":451},[],[453],{"type":18,"value":454},"StdVideoEncodeH264WeightTable",{"type":18,"value":456}," that is interpreted as follows:",{"type":13,"tag":285,"props":458,"children":459},{},[460,470],{"type":13,"tag":289,"props":461,"children":462},{},[463,468],{"type":13,"tag":42,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":418},{"type":18,"value":469}," is used only for padding purposes and is otherwise\nignored;",{"type":13,"tag":289,"props":471,"children":472},{},[473,475,480,482,488],{"type":18,"value":474},"all other members of ",{"type":13,"tag":42,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":454},{"type":18,"value":481}," are interpreted\nas defined in section 7.4.3.2 of the ",{"type":13,"tag":21,"props":483,"children":485},{"href":484},"/chapters/introduction#itu-t-h264",[486],{"type":18,"value":487},"ITU-T H.264\nSpecification",{"type":18,"value":489},";",{"type":13,"tag":289,"props":491,"children":492},{},[493,495,500],{"type":18,"value":494},"all other members are interpreted as defined in section 7.4.3 of the\n",{"type":13,"tag":21,"props":496,"children":497},{"href":484},[498],{"type":18,"value":499},"ITU-T H.264 Specification",{"type":18,"value":353},{"type":13,"tag":502,"props":503,"children":505},"validity-group",{"name":504},"Valid Usage (Implicit)",[506,534,556],{"type":13,"tag":507,"props":508,"children":510},"validity-field",{"name":509},"VUID-VkVideoEncodeH264NaluSliceInfoKHR-sType-sType",[511],{"type":13,"tag":14,"props":512,"children":513},{},[514,519,521,526,528],{"type":13,"tag":42,"props":515,"children":517},{"className":516},[],[518],{"type":18,"value":297},{"type":18,"value":520}," ",{"type":13,"tag":522,"props":523,"children":525},"normative",{"type":524},"must",[],{"type":18,"value":527}," be ",{"type":13,"tag":42,"props":529,"children":531},{"className":530},[],[532],{"type":18,"value":533},"VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_INFO_KHR",{"type":13,"tag":507,"props":535,"children":537},{"name":536},"VUID-VkVideoEncodeH264NaluSliceInfoKHR-pNext-pNext",[538],{"type":13,"tag":14,"props":539,"children":540},{},[541,546,547,550,551],{"type":13,"tag":42,"props":542,"children":544},{"className":543},[],[545],{"type":18,"value":316},{"type":18,"value":520},{"type":13,"tag":522,"props":548,"children":549},{"type":524},[],{"type":18,"value":527},{"type":13,"tag":42,"props":552,"children":554},{"className":553},[],[555],{"type":18,"value":324},{"type":13,"tag":507,"props":557,"children":559},{"name":558},"VUID-VkVideoEncodeH264NaluSliceInfoKHR-pStdSliceHeader-parameter",[560],{"type":13,"tag":14,"props":561,"children":562},{},[563,568,569,572,574,579],{"type":13,"tag":42,"props":564,"children":566},{"className":565},[],[567],{"type":18,"value":362},{"type":18,"value":520},{"type":13,"tag":522,"props":570,"children":571},{"type":524},[],{"type":18,"value":573}," be a valid pointer to a valid ",{"type":13,"tag":42,"props":575,"children":577},{"className":576},[],[578],{"type":18,"value":370},{"type":18,"value":580}," value",{"type":13,"tag":582,"props":583,"children":584},"style",{},[585],{"type":18,"value":586},"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":588},[],"markdown",1729612486781]