[{"data":1,"prerenderedAt":450},["ShallowReactive",2],{"j895XlWMWz":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":449,"_id":4},"VkVideoDecodeAV1SessionParametersCreateInfoKHR","Structure specifies AV1 decoder parameter set information","VK_KHR_video_decode_av1","structs",[],{"type":10,"children":11,"toc":447},"root",[12,68,80,299,368,385,441],{"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_DECODE_AV1_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 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,179],{"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 VkVideoDecodeAV1SessionParametersCreateInfoKHR {\n VkStructureType sType;\n const void* pNext;\n const StdVideoAV1SequenceHeader* pStdSequenceHeader;\n} VkVideoDecodeAV1SessionParametersCreateInfoKHR;\n","C","c","",[93],{"type":13,"tag":30,"props":94,"children":95},{"__ignoreMap":91},[96,119,128,147,170],{"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}," VkVideoDecodeAV1SessionParametersCreateInfoKHR {\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,155,160,165],{"type":13,"tag":97,"props":152,"children":153},{"style":104},[154],{"type":18,"value":136},{"type":13,"tag":97,"props":156,"children":157},{"style":115},[158],{"type":18,"value":159}," StdVideoAV1SequenceHeader",{"type":13,"tag":97,"props":161,"children":162},{"style":104},[163],{"type":18,"value":164},"*",{"type":13,"tag":97,"props":166,"children":167},{"style":115},[168],{"type":18,"value":169}," pStdSequenceHeader;\n",{"type":13,"tag":97,"props":171,"children":173},{"class":99,"line":172},5,[174],{"type":13,"tag":97,"props":175,"children":176},{"style":115},[177],{"type":18,"value":178},"} VkVideoDecodeAV1SessionParametersCreateInfoKHR;\n",{"type":13,"tag":85,"props":180,"children":185},{"className":181,"code":182,"filename":183,"language":184,"meta":91,"style":91},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoDecodeAV1SessionParametersCreateInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n p_std_sequence_header: *const StdVideoAV1SequenceHeader,\n}\n","Rust","rs",[186],{"type":13,"tag":30,"props":187,"children":188},{"__ignoreMap":91},[189,212,244,266,291],{"type":13,"tag":97,"props":190,"children":191},{"class":99,"line":100},[192,197,201,207],{"type":13,"tag":97,"props":193,"children":194},{"style":104},[195],{"type":18,"value":196},"pub",{"type":13,"tag":97,"props":198,"children":199},{"style":104},[200],{"type":18,"value":112},{"type":13,"tag":97,"props":202,"children":204},{"style":203},"--shiki-default:#953800;--shiki-dark:#FFA657",[205],{"type":18,"value":206}," VideoDecodeAV1SessionParametersCreateInfoKHR",{"type":13,"tag":97,"props":208,"children":209},{"style":115},[210],{"type":18,"value":211}," {\n",{"type":13,"tag":97,"props":213,"children":214},{"class":99,"line":121},[215,220,225,230,234,239],{"type":13,"tag":97,"props":216,"children":217},{"style":115},[218],{"type":18,"value":219}," s_type",{"type":13,"tag":97,"props":221,"children":222},{"style":104},[223],{"type":18,"value":224},":",{"type":13,"tag":97,"props":226,"children":227},{"style":203},[228],{"type":18,"value":229}," vk",{"type":13,"tag":97,"props":231,"children":232},{"style":104},[233],{"type":18,"value":45},{"type":13,"tag":97,"props":235,"children":236},{"style":203},[237],{"type":18,"value":238},"StructureType",{"type":13,"tag":97,"props":240,"children":241},{"style":115},[242],{"type":18,"value":243},",\n",{"type":13,"tag":97,"props":245,"children":246},{"class":99,"line":130},[247,252,256,261],{"type":13,"tag":97,"props":248,"children":249},{"style":115},[250],{"type":18,"value":251}," p_next",{"type":13,"tag":97,"props":253,"children":254},{"style":104},[255],{"type":18,"value":224},{"type":13,"tag":97,"props":257,"children":258},{"style":104},[259],{"type":18,"value":260}," *const",{"type":13,"tag":97,"props":262,"children":263},{"style":115},[264],{"type":18,"value":265}," c_void,\n",{"type":13,"tag":97,"props":267,"children":268},{"class":99,"line":149},[269,274,278,282,287],{"type":13,"tag":97,"props":270,"children":271},{"style":115},[272],{"type":18,"value":273}," p_std_sequence_header",{"type":13,"tag":97,"props":275,"children":276},{"style":104},[277],{"type":18,"value":224},{"type":13,"tag":97,"props":279,"children":280},{"style":104},[281],{"type":18,"value":260},{"type":13,"tag":97,"props":283,"children":285},{"style":284},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[286],{"type":18,"value":159},{"type":13,"tag":97,"props":288,"children":289},{"style":115},[290],{"type":18,"value":243},{"type":13,"tag":97,"props":292,"children":293},{"class":99,"line":172},[294],{"type":13,"tag":97,"props":295,"children":296},{"style":115},[297],{"type":18,"value":298},"}\n",{"type":13,"tag":300,"props":301,"children":302},"ul",{},[303,323,341],{"type":13,"tag":304,"props":305,"children":306},"li",{},[307,313,315,321],{"type":13,"tag":30,"props":308,"children":310},{"className":309},[],[311],{"type":18,"value":312},"sType",{"type":18,"value":314}," is a ",{"type":13,"tag":21,"props":316,"children":318},{"href":317},"/man/VkStructureType",[319],{"type":18,"value":320},"VkStructureType",{"type":18,"value":322}," value identifying this structure.",{"type":13,"tag":304,"props":324,"children":325},{},[326,331,333,339],{"type":13,"tag":30,"props":327,"children":329},{"className":328},[],[330],{"type":18,"value":51},{"type":18,"value":332}," is ",{"type":13,"tag":30,"props":334,"children":336},{"className":335},[],[337],{"type":18,"value":338},"NULL",{"type":18,"value":340}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":304,"props":342,"children":343},{},[344,350,352,358,360,366],{"type":13,"tag":30,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":349},"pStdSequenceHeader",{"type":18,"value":351}," is a pointer to a\n",{"type":13,"tag":30,"props":353,"children":355},{"className":354},[],[356],{"type":18,"value":357},"StdVideoAV1SequenceHeader",{"type":18,"value":359}," structure describing the\n",{"type":13,"tag":21,"props":361,"children":363},{"href":362},"/chapters/video-coding#decode-av1-sequence-header",[364],{"type":18,"value":365},"AV1 sequence header",{"type":18,"value":367}," entry to store in the\ncreated object.",{"type":13,"tag":369,"props":370,"children":371},"note",{},[372],{"type":13,"tag":14,"props":373,"children":374},{},[375,377,383],{"type":18,"value":376},"As AV1 video session parameters objects will only ever contain a single AV1\nsequence header, this has to be specified at object creation time and such\nvideo session parameters objects cannot be updated using the\n",{"type":13,"tag":21,"props":378,"children":380},{"href":379},"/man/vkUpdateVideoSessionParametersKHR",[381],{"type":18,"value":382},"vkUpdateVideoSessionParametersKHR",{"type":18,"value":384}," command.\nWhen a new AV1 sequence header is decoded from the input video bitstream the\napplication needs to create a new video session parameters object to store\nit.",{"type":13,"tag":386,"props":387,"children":389},"validity-group",{"name":388},"Valid Usage (Implicit)",[390,416],{"type":13,"tag":391,"props":392,"children":394},"validity-field",{"name":393},"VUID-VkVideoDecodeAV1SessionParametersCreateInfoKHR-sType-sType",[395],{"type":13,"tag":14,"props":396,"children":397},{},[398,403,405,408,410],{"type":13,"tag":30,"props":399,"children":401},{"className":400},[],[402],{"type":18,"value":312},{"type":18,"value":404}," ",{"type":13,"tag":55,"props":406,"children":407},{"type":57},[],{"type":18,"value":409}," be ",{"type":13,"tag":30,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":415},"VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR",{"type":13,"tag":391,"props":417,"children":419},{"name":418},"VUID-VkVideoDecodeAV1SessionParametersCreateInfoKHR-pStdSequenceHeader-parameter",[420],{"type":13,"tag":14,"props":421,"children":422},{},[423,428,429,432,434,439],{"type":13,"tag":30,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":349},{"type":18,"value":404},{"type":13,"tag":55,"props":430,"children":431},{"type":57},[],{"type":18,"value":433}," be a valid pointer to a valid ",{"type":13,"tag":30,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":357},{"type":18,"value":440}," value",{"type":13,"tag":442,"props":443,"children":444},"style",{},[445],{"type":18,"value":446},"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":448},[],"markdown",1729612485650]