[{"data":1,"prerenderedAt":549},["ShallowReactive",2],{"gTPsUiHJGm":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":548,"_id":4},"VkVideoEncodeFeedbackFlagBitsKHR","Bits specifying queried video encode feedback values","VK_KHR_video_encode_queue","enums",[],{"type":10,"children":11,"toc":546},"root",[12,45,362,490,511,516,540],{"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},"/man/VkQueryPoolVideoEncodeFeedbackCreateInfoKHR",[32],{"type":18,"value":33},"VkQueryPoolVideoEncodeFeedbackCreateInfoKHR",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"encodeFeedbackFlags",{"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 VkVideoEncodeFeedbackFlagBitsKHR {\n VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR = 0x00000001,\n VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR = 0x00000002,\n VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_HAS_OVERRIDES_BIT_KHR = 0x00000004,\n} VkVideoEncodeFeedbackFlagBitsKHR;\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}," VkVideoEncodeFeedbackFlagBitsKHR {\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_FEEDBACK_BITSTREAM_BUFFER_OFFSET_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_FEEDBACK_BITSTREAM_BYTES_WRITTEN_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_FEEDBACK_BITSTREAM_HAS_OVERRIDES_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},"} VkVideoEncodeFeedbackFlagBitsKHR;\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 VideoEncodeFeedbackFlagBitsKHR(u32);\nimpl VideoEncodeFeedbackFlagBitsKHR {\n pub const BITSTREAM_BUFFER_OFFSET: Self = 0x00000001;\n pub const BITSTREAM_BYTES_WRITTEN: Self = 0x00000002;\n pub const BITSTREAM_HAS_OVERRIDES: 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}," VideoEncodeFeedbackFlagBitsKHR",{"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}," BITSTREAM_BUFFER_OFFSET",{"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_BYTES_WRITTEN",{"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_HAS_OVERRIDES",{"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,438,460],{"type":13,"tag":367,"props":368,"children":369},"li",{},[370,376,378,384,385,391,393,397,398,404,406,412,414,418,419,424,426,430,431,436],{"type":13,"tag":37,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR",{"type":18,"value":377}," specifies\nthat queries managed by the pool will capture the byte offset of the\nbitstream data written by the video encode operation to the bitstream\nbuffer specified in ",{"type":13,"tag":28,"props":379,"children":381},{"href":380},"/man/VkVideoEncodeInfoKHR",[382],{"type":18,"value":383},"VkVideoEncodeInfoKHR",{"type":18,"value":35},{"type":13,"tag":37,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":390},"dstBuffer",{"type":18,"value":392}," relative\nto the offset specified in\n",{"type":13,"tag":28,"props":394,"children":395},{"href":380},[396],{"type":18,"value":383},{"type":18,"value":35},{"type":13,"tag":37,"props":399,"children":401},{"className":400},[],[402],{"type":18,"value":403},"dstBufferOffset",{"type":18,"value":405},".\nFor the first video encode operation issued by any\n",{"type":13,"tag":28,"props":407,"children":409},{"href":408},"/chapters/video-coding#video-encode-commands",[410],{"type":18,"value":411},"video encode command",{"type":18,"value":413},", this value will always\nbe zero, meaning that bitstream data is always written to the buffer\nspecified in ",{"type":13,"tag":28,"props":415,"children":416},{"href":380},[417],{"type":18,"value":383},{"type":18,"value":35},{"type":13,"tag":37,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":390},{"type":18,"value":425}," starting from\nthe offset specified in\n",{"type":13,"tag":28,"props":427,"children":428},{"href":380},[429],{"type":18,"value":383},{"type":18,"value":35},{"type":13,"tag":37,"props":432,"children":434},{"className":433},[],[435],{"type":18,"value":403},{"type":18,"value":437},".",{"type":13,"tag":367,"props":439,"children":440},{},[441,447,449,453,454,459],{"type":13,"tag":37,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":446},"VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR",{"type":18,"value":448}," specifies\nthat queries managed by the pool will capture the number of bytes\nwritten by the video encode operation to the bitstream buffer specified\nin ",{"type":13,"tag":28,"props":450,"children":451},{"href":380},[452],{"type":18,"value":383},{"type":18,"value":35},{"type":13,"tag":37,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":390},{"type":18,"value":437},{"type":13,"tag":367,"props":461,"children":462},{},[463,469,471,475,476,481,483,489],{"type":13,"tag":37,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":468},"VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_HAS_OVERRIDES_BIT_KHR",{"type":18,"value":470}," specifies\nthat queries managed by the pool will capture a boolean value indicating\nthat the data written to the bitstream buffer specified in\n",{"type":13,"tag":28,"props":472,"children":473},{"href":380},[474],{"type":18,"value":383},{"type":18,"value":35},{"type":13,"tag":37,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":390},{"type":18,"value":482}," contains\n",{"type":13,"tag":28,"props":484,"children":486},{"href":485},"/chapters/video-coding#encode-overrides",[487],{"type":18,"value":488},"overridden parameters",{"type":18,"value":437},{"type":13,"tag":14,"props":491,"children":492},{},[493,495,501,503,509],{"type":18,"value":494},"When retrieving the results of video encode feedback queries, the values\ncorresponding to each enabled video encode feedback are written in the order\nof the bits defined above, followed by an optional value indicating\navailability or result status if ",{"type":13,"tag":37,"props":496,"children":498},{"className":497},[],[499],{"type":18,"value":500},"VK_QUERY_RESULT_WITH_AVAILABILITY_BIT",{"type":18,"value":502},"\nor ",{"type":13,"tag":37,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":508},"VK_QUERY_RESULT_WITH_STATUS_BIT_KHR",{"type":18,"value":510}," is specified, respectively.",{"type":13,"tag":14,"props":512,"children":513},{},[514],{"type":18,"value":515},"If the result status of a video encode feedback query is negative, then the\nresults of all enabled video encode feedback values will be undefined:.",{"type":13,"tag":517,"props":518,"children":519},"note",{},[520],{"type":13,"tag":14,"props":521,"children":522},{},[523,525,530,532,538],{"type":18,"value":524},"Thus it is recommended that applications always specify\n",{"type":13,"tag":37,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":508},{"type":18,"value":531}," when retrieving the results of\nvideo encode feedback queries and ignore such undefined: video encode\nfeedback values for any ",{"type":13,"tag":28,"props":533,"children":535},{"href":534},"/chapters/video-coding#encode-unsuccessful",[536],{"type":18,"value":537},"unsuccessfully",{"type":18,"value":539}," completed\nvideo encode operations.",{"type":13,"tag":541,"props":542,"children":543},"style",{},[544],{"type":18,"value":545},"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":547},[],"markdown",1725732592735]