[{"data":1,"prerenderedAt":545},["ShallowReactive",2],{"$fV_wc7pIVREXFmLeZIqgF3y7zxklL3Tps8xAHdEiBedc":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":544,"_id":4},"VkVideoEncodePerPartitionFeedbackFlagBitsKHR","Bits specifying queried per picture partition video encode feedback values","VK_KHR_video_encode_feedback2","enums",[],{"type":10,"children":11,"toc":542},"root",[12,45,362,455,460,493,498,517,536],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","Bits which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be set in\n",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"\u002Fman\u002FVkQueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR",[32],{"type":18,"value":33},"VkQueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"perPartitionEncodeFeedbackFlags",{"type":18,"value":44},"\nfor video encode feedback query pools are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,175],{"type":13,"tag":50,"props":51,"children":57},"pre",{"className":52,"code":53,"filename":54,"language":55,"meta":56,"style":56},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkVideoEncodePerPartitionFeedbackFlagBitsKHR {\n VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_STATUS_BIT_KHR = 0x00000001,\n VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR = 0x00000002,\n VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR = 0x00000004,\n} VkVideoEncodePerPartitionFeedbackFlagBitsKHR;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114,140,166],{"type":13,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,78],{"type":13,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":18,"value":72},"typedef",{"type":13,"tag":62,"props":74,"children":75},{"style":69},[76],{"type":18,"value":77}," enum",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkVideoEncodePerPartitionFeedbackFlagBitsKHR {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88,93,98,103,109],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_STATUS_BIT_KHR ",{"type":13,"tag":62,"props":94,"children":95},{"style":69},[96],{"type":18,"value":97},"=",{"type":13,"tag":62,"props":99,"children":100},{"style":69},[101],{"type":18,"value":102}," 0x",{"type":13,"tag":62,"props":104,"children":106},{"style":105},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[107],{"type":18,"value":108},"00000001",{"type":13,"tag":62,"props":110,"children":111},{"style":80},[112],{"type":18,"value":113},",\n",{"type":13,"tag":62,"props":115,"children":117},{"class":64,"line":116},3,[118,123,127,131,136],{"type":13,"tag":62,"props":119,"children":120},{"style":80},[121],{"type":18,"value":122}," VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR ",{"type":13,"tag":62,"props":124,"children":125},{"style":69},[126],{"type":18,"value":97},{"type":13,"tag":62,"props":128,"children":129},{"style":69},[130],{"type":18,"value":102},{"type":13,"tag":62,"props":132,"children":133},{"style":105},[134],{"type":18,"value":135},"00000002",{"type":13,"tag":62,"props":137,"children":138},{"style":80},[139],{"type":18,"value":113},{"type":13,"tag":62,"props":141,"children":143},{"class":64,"line":142},4,[144,149,153,157,162],{"type":13,"tag":62,"props":145,"children":146},{"style":80},[147],{"type":18,"value":148}," VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR ",{"type":13,"tag":62,"props":150,"children":151},{"style":69},[152],{"type":18,"value":97},{"type":13,"tag":62,"props":154,"children":155},{"style":69},[156],{"type":18,"value":102},{"type":13,"tag":62,"props":158,"children":159},{"style":105},[160],{"type":18,"value":161},"00000004",{"type":13,"tag":62,"props":163,"children":164},{"style":80},[165],{"type":18,"value":113},{"type":13,"tag":62,"props":167,"children":169},{"class":64,"line":168},5,[170],{"type":13,"tag":62,"props":171,"children":172},{"style":80},[173],{"type":18,"value":174},"} VkVideoEncodePerPartitionFeedbackFlagBitsKHR;\n",{"type":13,"tag":50,"props":176,"children":181},{"className":177,"code":178,"filename":179,"language":180,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodePerPartitionFeedbackFlagBitsKHR(u32);\nimpl VideoEncodePerPartitionFeedbackFlagBitsKHR {\n pub const STATUS: Self = 0x00000001;\n pub const BITSTREAM_BUFFER_OFFSET: Self = 0x00000002;\n pub const BITSTREAM_BYTES_WRITTEN: Self = 0x00000004;\n}\n","Rust","rs",[182],{"type":13,"tag":37,"props":183,"children":184},{"__ignoreMap":56},[185,219,236,279,316,353],{"type":13,"tag":62,"props":186,"children":187},{"class":64,"line":65},[188,193,198,204,209,214],{"type":13,"tag":62,"props":189,"children":190},{"style":69},[191],{"type":18,"value":192},"pub",{"type":13,"tag":62,"props":194,"children":195},{"style":69},[196],{"type":18,"value":197}," struct",{"type":13,"tag":62,"props":199,"children":201},{"style":200},"--shiki-default:#953800;--shiki-dark:#FFA657",[202],{"type":18,"value":203}," VideoEncodePerPartitionFeedbackFlagBitsKHR",{"type":13,"tag":62,"props":205,"children":206},{"style":80},[207],{"type":18,"value":208},"(",{"type":13,"tag":62,"props":210,"children":211},{"style":200},[212],{"type":18,"value":213},"u32",{"type":13,"tag":62,"props":215,"children":216},{"style":80},[217],{"type":18,"value":218},");\n",{"type":13,"tag":62,"props":220,"children":221},{"class":64,"line":86},[222,227,231],{"type":13,"tag":62,"props":223,"children":224},{"style":69},[225],{"type":18,"value":226},"impl",{"type":13,"tag":62,"props":228,"children":229},{"style":200},[230],{"type":18,"value":203},{"type":13,"tag":62,"props":232,"children":233},{"style":80},[234],{"type":18,"value":235}," {\n",{"type":13,"tag":62,"props":237,"children":238},{"class":64,"line":116},[239,244,249,254,259,264,269,274],{"type":13,"tag":62,"props":240,"children":241},{"style":69},[242],{"type":18,"value":243}," pub",{"type":13,"tag":62,"props":245,"children":246},{"style":69},[247],{"type":18,"value":248}," const",{"type":13,"tag":62,"props":250,"children":251},{"style":105},[252],{"type":18,"value":253}," STATUS",{"type":13,"tag":62,"props":255,"children":256},{"style":69},[257],{"type":18,"value":258},":",{"type":13,"tag":62,"props":260,"children":261},{"style":105},[262],{"type":18,"value":263}," Self",{"type":13,"tag":62,"props":265,"children":266},{"style":69},[267],{"type":18,"value":268}," =",{"type":13,"tag":62,"props":270,"children":271},{"style":105},[272],{"type":18,"value":273}," 0x00000001",{"type":13,"tag":62,"props":275,"children":276},{"style":80},[277],{"type":18,"value":278},";\n",{"type":13,"tag":62,"props":280,"children":281},{"class":64,"line":142},[282,286,290,295,299,303,307,312],{"type":13,"tag":62,"props":283,"children":284},{"style":69},[285],{"type":18,"value":243},{"type":13,"tag":62,"props":287,"children":288},{"style":69},[289],{"type":18,"value":248},{"type":13,"tag":62,"props":291,"children":292},{"style":105},[293],{"type":18,"value":294}," BITSTREAM_BUFFER_OFFSET",{"type":13,"tag":62,"props":296,"children":297},{"style":69},[298],{"type":18,"value":258},{"type":13,"tag":62,"props":300,"children":301},{"style":105},[302],{"type":18,"value":263},{"type":13,"tag":62,"props":304,"children":305},{"style":69},[306],{"type":18,"value":268},{"type":13,"tag":62,"props":308,"children":309},{"style":105},[310],{"type":18,"value":311}," 0x00000002",{"type":13,"tag":62,"props":313,"children":314},{"style":80},[315],{"type":18,"value":278},{"type":13,"tag":62,"props":317,"children":318},{"class":64,"line":168},[319,323,327,332,336,340,344,349],{"type":13,"tag":62,"props":320,"children":321},{"style":69},[322],{"type":18,"value":243},{"type":13,"tag":62,"props":324,"children":325},{"style":69},[326],{"type":18,"value":248},{"type":13,"tag":62,"props":328,"children":329},{"style":105},[330],{"type":18,"value":331}," BITSTREAM_BYTES_WRITTEN",{"type":13,"tag":62,"props":333,"children":334},{"style":69},[335],{"type":18,"value":258},{"type":13,"tag":62,"props":337,"children":338},{"style":105},[339],{"type":18,"value":263},{"type":13,"tag":62,"props":341,"children":342},{"style":69},[343],{"type":18,"value":268},{"type":13,"tag":62,"props":345,"children":346},{"style":105},[347],{"type":18,"value":348}," 0x00000004",{"type":13,"tag":62,"props":350,"children":351},{"style":80},[352],{"type":18,"value":278},{"type":13,"tag":62,"props":354,"children":356},{"class":64,"line":355},6,[357],{"type":13,"tag":62,"props":358,"children":359},{"style":80},[360],{"type":18,"value":361},"}\n",{"type":13,"tag":363,"props":364,"children":365},"ul",{},[366,394,433],{"type":13,"tag":367,"props":368,"children":369},"li",{},[370,376,378,384,386,392],{"type":13,"tag":37,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_STATUS_BIT_KHR",{"type":18,"value":377}," specifies\nthat queries managed by the pool will capture the result status of each\nencoded picture partition.\nThese result status values are reported as ",{"type":13,"tag":28,"props":379,"children":381},{"href":380},"\u002Fman\u002FVkQueryResultStatusKHR",[382],{"type":18,"value":383},"VkQueryResultStatusKHR",{"type":18,"value":385},"\nvalues, similar to ",{"type":13,"tag":28,"props":387,"children":389},{"href":388},"\u002Fchapters\u002Fqueries#queries-result-status-only",[390],{"type":18,"value":391},"result status queries",{"type":18,"value":393},"\nbut indicate the result status of the encoding of individual picture\npartitions instead of that of the whole video encode operation.",{"type":13,"tag":367,"props":395,"children":396},{},[397,403,405,411,412,418,420,424,425,431],{"type":13,"tag":37,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":402},"VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR",{"type":18,"value":404},"\nspecifies that queries managed by the pool will capture the byte offset\nof the bitstream data of the corresponding picture partition written to\nthe bitstream buffer specified in\n",{"type":13,"tag":28,"props":406,"children":408},{"href":407},"\u002Fman\u002FVkVideoEncodeInfoKHR",[409],{"type":18,"value":410},"VkVideoEncodeInfoKHR",{"type":18,"value":35},{"type":13,"tag":37,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":417},"dstBuffer",{"type":18,"value":419}," relative to the offset\nspecified in ",{"type":13,"tag":28,"props":421,"children":422},{"href":407},[423],{"type":18,"value":410},{"type":18,"value":35},{"type":13,"tag":37,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":430},"dstBufferOffset",{"type":18,"value":432},".",{"type":13,"tag":367,"props":434,"children":435},{},[436,442,444,448,449,454],{"type":13,"tag":37,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":441},"VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR",{"type":18,"value":443},"\nspecifies that queries managed by the pool will capture the number of\nbytes written by the video encode operation for the corresponding\npicture partition to the bitstream buffer specified in\n",{"type":13,"tag":28,"props":445,"children":446},{"href":407},[447],{"type":18,"value":410},{"type":18,"value":35},{"type":13,"tag":37,"props":450,"children":452},{"className":451},[],[453],{"type":18,"value":417},{"type":18,"value":432},{"type":13,"tag":14,"props":456,"children":457},{},[458],{"type":18,"value":459},"The bitstream offsets reported for subsequent picture partitions are always\nmonotonically increasing and the bitstream buffer ranges corresponding to\nindividual picture partitions do not overlap.",{"type":13,"tag":461,"props":462,"children":463},"note",{},[464],{"type":13,"tag":14,"props":465,"children":466},{},[467,469,475,477,483,485,491],{"type":18,"value":468},"The bitstream range corresponding to the entire frame, as reported through\nthe ",{"type":13,"tag":37,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":474},"VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR",{"type":18,"value":476}," and\n",{"type":13,"tag":37,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":482},"VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR",{"type":18,"value":484}," feedback\nvalues may contain additional data such as frame headers.\nIn addition, certain implementations or video compression standards may have\nadditional payloads in between subsequent picture partitions.\nFor example, AV1 bitstreams contain the ",{"type":13,"tag":37,"props":486,"children":488},{"className":487},[],[489],{"type":18,"value":490},"tile_size_minus_1",{"type":18,"value":492}," syntax\nelement in between subsequent tiles that are not part of the actual tile\ndata.\nTherefore the specification only guarantees monotonically increasing offsets\nand non-overlapping ranges for picture partitions but does not guarantee\nthat the picture partition ranges are tightly packed or that the union of\nthe picture partition ranges covers the entire range of the bitstream\noutput.",{"type":13,"tag":14,"props":494,"children":495},{},[496],{"type":18,"value":497},"When retrieving the results of video encode feedback queries with per\npicture partition video encode feedback values, the values corresponding to\neach enabled per picture partition video encode feedback are written for\neach encoded picture partition in the order of the bits defined above, in\npicture-partition-major order.",{"type":13,"tag":14,"props":499,"children":500},{},[501,503,509,511,515],{"type":18,"value":502},"If the video encode operation results in more encoded picture partitions\nthan the ",{"type":13,"tag":37,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":508},"maxPerPartitionFeedbackEntries",{"type":18,"value":510}," specified in the\n",{"type":13,"tag":28,"props":512,"children":513},{"href":30},[514],{"type":18,"value":33},{"type":18,"value":516}," structure the\nquery pool was created with, then the per picture partition feedback values\ncorresponding to additional picture partitions are not available for\nretrieval.",{"type":13,"tag":14,"props":518,"children":519},{},[520,522,526,528,534],{"type":18,"value":521},"If the per picture partition feedback status is negative, then all other per\npartition feedback values corresponding to that picture partition will be\nundefined.\nSpecifically, implementations ",{"type":13,"tag":21,"props":523,"children":525},{"type":524},"may",[],{"type":18,"value":527}," report a per picture partition feedback\nstatus of\n",{"type":13,"tag":37,"props":529,"children":531},{"className":530},[],[532],{"type":18,"value":533},"VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR",{"type":18,"value":535}," for the\npicture partition(s) whose encoded bitstream data no longer fit into the\ndestination video bitstream buffer range.",{"type":13,"tag":537,"props":538,"children":539},"style",{},[540],{"type":18,"value":541},"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":56,"searchDepth":86,"depth":86,"links":543},[],"markdown",1780828963025]