[{"data":1,"prerenderedAt":689},["ShallowReactive",2],{"$fdyEdNIWh2-XDPsPz3GX-w9ZXIor0p3UXaBct6WinkW0":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":9,"xrefs":10,"body":11,"_type":688,"_id":4},"VkVideoEncodeIntraRefreshCapabilitiesKHR","Structure describing video encode intra refresh capabilities for a video profile","VK_KHR_video_encode_intra_refresh",[8],"VkVideoCapabilitiesKHR","structs",[],{"type":12,"children":13,"toc":686},"root",[14,69,81,429,648,680],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,29,31,38,40,45,47,52,54,60,62,67],{"type":20,"value":21},"text","When calling ",{"type":15,"tag":23,"props":24,"children":26},"a",{"href":25},"/man/vkGetPhysicalDeviceVideoCapabilitiesKHR",[27],{"type":20,"value":28},"vkGetPhysicalDeviceVideoCapabilitiesKHR",{"type":20,"value":30}," with\n",{"type":15,"tag":32,"props":33,"children":35},"code",{"className":34},[],[36],{"type":20,"value":37},"pVideoProfile→videoCodecOperation",{"type":20,"value":39}," specifying an encode operation, the\n",{"type":15,"tag":23,"props":41,"children":43},{"href":42},"/man/VkVideoEncodeIntraRefreshCapabilitiesKHR",[44],{"type":20,"value":4},{"type":20,"value":46}," structure ",{"type":15,"tag":48,"props":49,"children":51},"normative",{"type":50},"can",[],{"type":20,"value":53}," be included in\nthe ",{"type":15,"tag":32,"props":55,"children":57},{"className":56},[],[58],{"type":20,"value":59},"pNext",{"type":20,"value":61}," chain of the ",{"type":15,"tag":23,"props":63,"children":65},{"href":64},"/man/VkVideoCapabilitiesKHR",[66],{"type":20,"value":8},{"type":20,"value":68}," structure to\nretrieve capabilities specific to video encode intra refresh.",{"type":15,"tag":16,"props":70,"children":71},{},[72,74,79],{"type":20,"value":73},"The ",{"type":15,"tag":32,"props":75,"children":77},{"className":76},[],[78],{"type":20,"value":4},{"type":20,"value":80}," structure is defined as:",{"type":15,"tag":82,"props":83,"children":84},"code-group",{},[85,206],{"type":15,"tag":86,"props":87,"children":93},"pre",{"className":88,"code":89,"filename":90,"language":91,"meta":92,"style":92},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkVideoEncodeIntraRefreshCapabilitiesKHR {\n VkStructureType sType;\n void* pNext;\n VkVideoEncodeIntraRefreshModeFlagsKHR intraRefreshModes;\n uint32_t maxIntraRefreshCycleDuration;\n uint32_t maxIntraRefreshActiveReferencePictures;\n VkBool32 partitionIndependentIntraRefreshRegions;\n VkBool32 nonRectangularIntraRefreshRegions;\n} VkVideoEncodeIntraRefreshCapabilitiesKHR;\n","C","c","",[94],{"type":15,"tag":32,"props":95,"children":96},{"__ignoreMap":92},[97,120,129,143,152,166,179,188,197],{"type":15,"tag":98,"props":99,"children":102},"span",{"class":100,"line":101},"line",1,[103,109,114],{"type":15,"tag":98,"props":104,"children":106},{"style":105},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[107],{"type":20,"value":108},"typedef",{"type":15,"tag":98,"props":110,"children":111},{"style":105},[112],{"type":20,"value":113}," struct",{"type":15,"tag":98,"props":115,"children":117},{"style":116},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[118],{"type":20,"value":119}," VkVideoEncodeIntraRefreshCapabilitiesKHR {\n",{"type":15,"tag":98,"props":121,"children":123},{"class":100,"line":122},2,[124],{"type":15,"tag":98,"props":125,"children":126},{"style":116},[127],{"type":20,"value":128}," VkStructureType sType;\n",{"type":15,"tag":98,"props":130,"children":132},{"class":100,"line":131},3,[133,138],{"type":15,"tag":98,"props":134,"children":135},{"style":105},[136],{"type":20,"value":137}," void*",{"type":15,"tag":98,"props":139,"children":140},{"style":116},[141],{"type":20,"value":142}," pNext;\n",{"type":15,"tag":98,"props":144,"children":146},{"class":100,"line":145},4,[147],{"type":15,"tag":98,"props":148,"children":149},{"style":116},[150],{"type":20,"value":151}," VkVideoEncodeIntraRefreshModeFlagsKHR intraRefreshModes;\n",{"type":15,"tag":98,"props":153,"children":155},{"class":100,"line":154},5,[156,161],{"type":15,"tag":98,"props":157,"children":158},{"style":105},[159],{"type":20,"value":160}," uint32_t",{"type":15,"tag":98,"props":162,"children":163},{"style":116},[164],{"type":20,"value":165}," maxIntraRefreshCycleDuration;\n",{"type":15,"tag":98,"props":167,"children":169},{"class":100,"line":168},6,[170,174],{"type":15,"tag":98,"props":171,"children":172},{"style":105},[173],{"type":20,"value":160},{"type":15,"tag":98,"props":175,"children":176},{"style":116},[177],{"type":20,"value":178}," maxIntraRefreshActiveReferencePictures;\n",{"type":15,"tag":98,"props":180,"children":182},{"class":100,"line":181},7,[183],{"type":15,"tag":98,"props":184,"children":185},{"style":116},[186],{"type":20,"value":187}," VkBool32 partitionIndependentIntraRefreshRegions;\n",{"type":15,"tag":98,"props":189,"children":191},{"class":100,"line":190},8,[192],{"type":15,"tag":98,"props":193,"children":194},{"style":116},[195],{"type":20,"value":196}," VkBool32 nonRectangularIntraRefreshRegions;\n",{"type":15,"tag":98,"props":198,"children":200},{"class":100,"line":199},9,[201],{"type":15,"tag":98,"props":202,"children":203},{"style":116},[204],{"type":20,"value":205},"} VkVideoEncodeIntraRefreshCapabilitiesKHR;\n",{"type":15,"tag":86,"props":207,"children":212},{"className":208,"code":209,"filename":210,"language":211,"meta":92,"style":92},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodeIntraRefreshCapabilitiesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n intra_refresh_modes: vk::VideoEncodeIntraRefreshModeFlagsKHR,\n max_intra_refresh_cycle_duration: u32,\n max_intra_refresh_active_reference_pictures: u32,\n partition_independent_intra_refresh_regions: vk::Bool32,\n non_rectangular_intra_refresh_regions: vk::Bool32,\n}\n","Rust","rs",[213],{"type":15,"tag":32,"props":214,"children":215},{"__ignoreMap":92},[216,239,272,294,323,344,364,393,421],{"type":15,"tag":98,"props":217,"children":218},{"class":100,"line":101},[219,224,228,234],{"type":15,"tag":98,"props":220,"children":221},{"style":105},[222],{"type":20,"value":223},"pub",{"type":15,"tag":98,"props":225,"children":226},{"style":105},[227],{"type":20,"value":113},{"type":15,"tag":98,"props":229,"children":231},{"style":230},"--shiki-default:#953800;--shiki-dark:#FFA657",[232],{"type":20,"value":233}," VideoEncodeIntraRefreshCapabilitiesKHR",{"type":15,"tag":98,"props":235,"children":236},{"style":116},[237],{"type":20,"value":238}," {\n",{"type":15,"tag":98,"props":240,"children":241},{"class":100,"line":122},[242,247,252,257,262,267],{"type":15,"tag":98,"props":243,"children":244},{"style":116},[245],{"type":20,"value":246}," s_type",{"type":15,"tag":98,"props":248,"children":249},{"style":105},[250],{"type":20,"value":251},":",{"type":15,"tag":98,"props":253,"children":254},{"style":230},[255],{"type":20,"value":256}," vk",{"type":15,"tag":98,"props":258,"children":259},{"style":105},[260],{"type":20,"value":261},"::",{"type":15,"tag":98,"props":263,"children":264},{"style":230},[265],{"type":20,"value":266},"StructureType",{"type":15,"tag":98,"props":268,"children":269},{"style":116},[270],{"type":20,"value":271},",\n",{"type":15,"tag":98,"props":273,"children":274},{"class":100,"line":131},[275,280,284,289],{"type":15,"tag":98,"props":276,"children":277},{"style":116},[278],{"type":20,"value":279}," p_next",{"type":15,"tag":98,"props":281,"children":282},{"style":105},[283],{"type":20,"value":251},{"type":15,"tag":98,"props":285,"children":286},{"style":105},[287],{"type":20,"value":288}," *mut",{"type":15,"tag":98,"props":290,"children":291},{"style":116},[292],{"type":20,"value":293}," c_void,\n",{"type":15,"tag":98,"props":295,"children":296},{"class":100,"line":145},[297,302,306,310,314,319],{"type":15,"tag":98,"props":298,"children":299},{"style":116},[300],{"type":20,"value":301}," intra_refresh_modes",{"type":15,"tag":98,"props":303,"children":304},{"style":105},[305],{"type":20,"value":251},{"type":15,"tag":98,"props":307,"children":308},{"style":230},[309],{"type":20,"value":256},{"type":15,"tag":98,"props":311,"children":312},{"style":105},[313],{"type":20,"value":261},{"type":15,"tag":98,"props":315,"children":316},{"style":230},[317],{"type":20,"value":318},"VideoEncodeIntraRefreshModeFlagsKHR",{"type":15,"tag":98,"props":320,"children":321},{"style":116},[322],{"type":20,"value":271},{"type":15,"tag":98,"props":324,"children":325},{"class":100,"line":154},[326,331,335,340],{"type":15,"tag":98,"props":327,"children":328},{"style":116},[329],{"type":20,"value":330}," max_intra_refresh_cycle_duration",{"type":15,"tag":98,"props":332,"children":333},{"style":105},[334],{"type":20,"value":251},{"type":15,"tag":98,"props":336,"children":337},{"style":230},[338],{"type":20,"value":339}," u32",{"type":15,"tag":98,"props":341,"children":342},{"style":116},[343],{"type":20,"value":271},{"type":15,"tag":98,"props":345,"children":346},{"class":100,"line":168},[347,352,356,360],{"type":15,"tag":98,"props":348,"children":349},{"style":116},[350],{"type":20,"value":351}," max_intra_refresh_active_reference_pictures",{"type":15,"tag":98,"props":353,"children":354},{"style":105},[355],{"type":20,"value":251},{"type":15,"tag":98,"props":357,"children":358},{"style":230},[359],{"type":20,"value":339},{"type":15,"tag":98,"props":361,"children":362},{"style":116},[363],{"type":20,"value":271},{"type":15,"tag":98,"props":365,"children":366},{"class":100,"line":181},[367,372,376,380,384,389],{"type":15,"tag":98,"props":368,"children":369},{"style":116},[370],{"type":20,"value":371}," partition_independent_intra_refresh_regions",{"type":15,"tag":98,"props":373,"children":374},{"style":105},[375],{"type":20,"value":251},{"type":15,"tag":98,"props":377,"children":378},{"style":230},[379],{"type":20,"value":256},{"type":15,"tag":98,"props":381,"children":382},{"style":105},[383],{"type":20,"value":261},{"type":15,"tag":98,"props":385,"children":386},{"style":230},[387],{"type":20,"value":388},"Bool32",{"type":15,"tag":98,"props":390,"children":391},{"style":116},[392],{"type":20,"value":271},{"type":15,"tag":98,"props":394,"children":395},{"class":100,"line":190},[396,401,405,409,413,417],{"type":15,"tag":98,"props":397,"children":398},{"style":116},[399],{"type":20,"value":400}," non_rectangular_intra_refresh_regions",{"type":15,"tag":98,"props":402,"children":403},{"style":105},[404],{"type":20,"value":251},{"type":15,"tag":98,"props":406,"children":407},{"style":230},[408],{"type":20,"value":256},{"type":15,"tag":98,"props":410,"children":411},{"style":105},[412],{"type":20,"value":261},{"type":15,"tag":98,"props":414,"children":415},{"style":230},[416],{"type":20,"value":388},{"type":15,"tag":98,"props":418,"children":419},{"style":116},[420],{"type":20,"value":271},{"type":15,"tag":98,"props":422,"children":423},{"class":100,"line":199},[424],{"type":15,"tag":98,"props":425,"children":426},{"style":116},[427],{"type":20,"value":428},"}\n",{"type":15,"tag":430,"props":431,"children":432},"ul",{},[433,453,471,498,516,575,629],{"type":15,"tag":434,"props":435,"children":436},"li",{},[437,443,445,451],{"type":15,"tag":32,"props":438,"children":440},{"className":439},[],[441],{"type":20,"value":442},"sType",{"type":20,"value":444}," is a ",{"type":15,"tag":23,"props":446,"children":448},{"href":447},"/man/VkStructureType",[449],{"type":20,"value":450},"VkStructureType",{"type":20,"value":452}," value identifying this structure.",{"type":15,"tag":434,"props":454,"children":455},{},[456,461,463,469],{"type":15,"tag":32,"props":457,"children":459},{"className":458},[],[460],{"type":20,"value":59},{"type":20,"value":462}," is ",{"type":15,"tag":32,"props":464,"children":466},{"className":465},[],[467],{"type":20,"value":468},"NULL",{"type":20,"value":470}," or a pointer to a structure extending this\nstructure.",{"type":15,"tag":434,"props":472,"children":473},{},[474,480,482,488,490,496],{"type":15,"tag":32,"props":475,"children":477},{"className":476},[],[478],{"type":20,"value":479},"intraRefreshModes",{"type":20,"value":481}," is a bitmask of\n",{"type":15,"tag":23,"props":483,"children":485},{"href":484},"/man/VkVideoEncodeIntraRefreshModeFlagBitsKHR",[486],{"type":20,"value":487},"VkVideoEncodeIntraRefreshModeFlagBitsKHR",{"type":20,"value":489}," values indicating the set\nof supported ",{"type":15,"tag":23,"props":491,"children":493},{"href":492},"/chapters/video-coding#encode-intra-refresh-modes",[494],{"type":20,"value":495},"intra refresh modes",{"type":20,"value":497},".",{"type":15,"tag":434,"props":499,"children":500},{},[501,507,509,515],{"type":15,"tag":32,"props":502,"children":504},{"className":503},[],[505],{"type":20,"value":506},"maxIntraRefreshCycleDuration",{"type":20,"value":508}," specifies the maximum supported\n",{"type":15,"tag":23,"props":510,"children":512},{"href":511},"/chapters/video-coding#encode-intra-refresh-cycle-duration",[513],{"type":20,"value":514},"intra refresh cycle duration",{"type":20,"value":497},{"type":15,"tag":434,"props":517,"children":518},{},[519,525,527,533,535,541,543,547,549,553,554,560,562,568,569,574],{"type":15,"tag":32,"props":520,"children":522},{"className":521},[],[523],{"type":20,"value":524},"maxIntraRefreshActiveReferencePictures",{"type":20,"value":526}," is the maximum number of\n",{"type":15,"tag":23,"props":528,"children":530},{"href":529},"/chapters/video-coding#active-reference-pictures",[531],{"type":20,"value":532},"active reference pictures",{"type":20,"value":534}," when encoding\npictures with ",{"type":15,"tag":23,"props":536,"children":538},{"href":537},"/chapters/video-coding#encode-intra-refresh",[539],{"type":20,"value":540},"intra refresh",{"type":20,"value":542}," enabled.\nThis capability indicates additional restrictions beyond the maximum\nnumber of ",{"type":15,"tag":23,"props":544,"children":545},{"href":529},[546],{"type":20,"value":532},{"type":20,"value":548},"\nsupported by the video profile, as reported in\n",{"type":15,"tag":23,"props":550,"children":551},{"href":64},[552],{"type":20,"value":8},{"type":20,"value":261},{"type":15,"tag":32,"props":555,"children":557},{"className":556},[],[558],{"type":20,"value":559},"maxActiveReferencePictures",{"type":20,"value":561}," and the\nmaximum requested at video session creation time in\n",{"type":15,"tag":23,"props":563,"children":565},{"href":564},"/man/VkVideoSessionCreateInfoKHR",[566],{"type":20,"value":567},"VkVideoSessionCreateInfoKHR",{"type":20,"value":261},{"type":15,"tag":32,"props":570,"children":572},{"className":571},[],[573],{"type":20,"value":559},{"type":20,"value":497},{"type":15,"tag":434,"props":576,"children":577},{},[578,584,586,592,594,597,599,603,605,611,612],{"type":15,"tag":32,"props":579,"children":581},{"className":580},[],[582],{"type":20,"value":583},"partitionIndependentIntraRefreshRegions",{"type":20,"value":585}," specifies whether the\nimplementation supports intra refresh regions that are independent of\nthe picture partitioning used during encoding.\nIf it is ",{"type":15,"tag":32,"props":587,"children":589},{"className":588},[],[590],{"type":20,"value":591},"VK_TRUE",{"type":20,"value":593},", then pictures ",{"type":15,"tag":48,"props":595,"children":596},{"type":50},[],{"type":20,"value":598}," be encoded with multiple\npicture partitions, independent of the used intra refresh mode.\nOtherwise, pictures ",{"type":15,"tag":48,"props":600,"children":602},{"type":601},"cannot",[],{"type":20,"value":604}," be encoded with multiple picture partitions\nwith any intra refresh mode other than\n",{"type":15,"tag":32,"props":606,"children":608},{"className":607},[],[609],{"type":20,"value":610},"VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_PER_PICTURE_PARTITION_BIT_KHR",{"type":20,"value":497},{"type":15,"tag":613,"props":614,"children":615},"note",{},[616],{"type":15,"tag":16,"props":617,"children":618},{},[619,621,627],{"type":20,"value":620},"This capability is only indicative for ",{"type":15,"tag":23,"props":622,"children":624},{"href":623},"/chapters/video-coding#encode-av1-profile",[625],{"type":20,"value":626},"AV1 encode\nprofiles",{"type":20,"value":628}," and does not impose any restrictions on the application as\nimplementations may change the application requested picture partitioning\naccording to implementation-specific restrictions.",{"type":15,"tag":434,"props":630,"children":631},{},[632,638,640],{"type":15,"tag":32,"props":633,"children":635},{"className":634},[],[636],{"type":20,"value":637},"nonRectangularIntraRefreshRegions",{"type":20,"value":639}," specifies whether the\nimplementation supports non-rectangular intra refresh regions.",{"type":15,"tag":613,"props":641,"children":642},{},[643],{"type":15,"tag":16,"props":644,"children":645},{},[646],{"type":20,"value":647},"If this capability is not supported, then using per picture partition intra\nrefresh may impose additional restrictions on the number of picture\npartitions a picture can be encoded with.",{"type":15,"tag":649,"props":650,"children":652},"validity-group",{"name":651},"Valid Usage (Implicit)",[653],{"type":15,"tag":654,"props":655,"children":657},"validity-field",{"name":656},"VUID-VkVideoEncodeIntraRefreshCapabilitiesKHR-sType-sType",[658],{"type":15,"tag":16,"props":659,"children":660},{},[661,666,668,672,674],{"type":15,"tag":32,"props":662,"children":664},{"className":663},[],[665],{"type":20,"value":442},{"type":20,"value":667}," ",{"type":15,"tag":48,"props":669,"children":671},{"type":670},"must",[],{"type":20,"value":673}," be ",{"type":15,"tag":32,"props":675,"children":677},{"className":676},[],[678],{"type":20,"value":679},"VK_STRUCTURE_TYPE_VIDEO_ENCODE_INTRA_REFRESH_CAPABILITIES_KHR",{"type":15,"tag":681,"props":682,"children":683},"style",{},[684],{"type":20,"value":685},"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":92,"searchDepth":122,"depth":122,"links":687},[],"markdown",1773054784632]