[{"data":1,"prerenderedAt":419},["ShallowReactive",2],{"yducGqhHQZ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":418,"_id":4},"VkVideoEncodeCapabilityFlagBitsKHR","Video encode capability flags","VK_KHR_video_encode_queue","enums",[],{"type":10,"children":11,"toc":416},"root",[12,45,299,410],{"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},"may",[],{"type":18,"value":26}," be set in ",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkVideoEncodeCapabilitiesKHR",[32],{"type":18,"value":33},"VkVideoEncodeCapabilitiesKHR",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"flags",{"type":18,"value":44},",\nindicating the encoding tools supported, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,149],{"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 VkVideoEncodeCapabilityFlagBitsKHR {\n VK_VIDEO_ENCODE_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_BIT_KHR = 0x00000001,\n VK_VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHR = 0x00000002,\n} VkVideoEncodeCapabilityFlagBitsKHR;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114,140],{"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}," VkVideoEncodeCapabilityFlagBitsKHR {\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_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_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_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_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],{"type":13,"tag":62,"props":145,"children":146},{"style":80},[147],{"type":18,"value":148},"} VkVideoEncodeCapabilityFlagBitsKHR;\n",{"type":13,"tag":50,"props":150,"children":155},{"className":151,"code":152,"filename":153,"language":154,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodeCapabilityFlagBitsKHR(u32);\nimpl VideoEncodeCapabilityFlagBitsKHR {\n pub const PRECEDING_EXTERNALLY_ENCODED_BYTES: Self = 0x00000001;\n pub const INSUFFICIENTSTREAM_BUFFER_RANGE_DETECTION: Self = 0x00000002;\n}\n","Rust","rs",[156],{"type":13,"tag":37,"props":157,"children":158},{"__ignoreMap":56},[159,193,210,253,290],{"type":13,"tag":62,"props":160,"children":161},{"class":64,"line":65},[162,167,172,178,183,188],{"type":13,"tag":62,"props":163,"children":164},{"style":69},[165],{"type":18,"value":166},"pub",{"type":13,"tag":62,"props":168,"children":169},{"style":69},[170],{"type":18,"value":171}," struct",{"type":13,"tag":62,"props":173,"children":175},{"style":174},"--shiki-default:#953800;--shiki-dark:#FFA657",[176],{"type":18,"value":177}," VideoEncodeCapabilityFlagBitsKHR",{"type":13,"tag":62,"props":179,"children":180},{"style":80},[181],{"type":18,"value":182},"(",{"type":13,"tag":62,"props":184,"children":185},{"style":174},[186],{"type":18,"value":187},"u32",{"type":13,"tag":62,"props":189,"children":190},{"style":80},[191],{"type":18,"value":192},");\n",{"type":13,"tag":62,"props":194,"children":195},{"class":64,"line":86},[196,201,205],{"type":13,"tag":62,"props":197,"children":198},{"style":69},[199],{"type":18,"value":200},"impl",{"type":13,"tag":62,"props":202,"children":203},{"style":174},[204],{"type":18,"value":177},{"type":13,"tag":62,"props":206,"children":207},{"style":80},[208],{"type":18,"value":209}," {\n",{"type":13,"tag":62,"props":211,"children":212},{"class":64,"line":116},[213,218,223,228,233,238,243,248],{"type":13,"tag":62,"props":214,"children":215},{"style":69},[216],{"type":18,"value":217}," pub",{"type":13,"tag":62,"props":219,"children":220},{"style":69},[221],{"type":18,"value":222}," const",{"type":13,"tag":62,"props":224,"children":225},{"style":105},[226],{"type":18,"value":227}," PRECEDING_EXTERNALLY_ENCODED_BYTES",{"type":13,"tag":62,"props":229,"children":230},{"style":69},[231],{"type":18,"value":232},":",{"type":13,"tag":62,"props":234,"children":235},{"style":105},[236],{"type":18,"value":237}," Self",{"type":13,"tag":62,"props":239,"children":240},{"style":69},[241],{"type":18,"value":242}," =",{"type":13,"tag":62,"props":244,"children":245},{"style":105},[246],{"type":18,"value":247}," 0x00000001",{"type":13,"tag":62,"props":249,"children":250},{"style":80},[251],{"type":18,"value":252},";\n",{"type":13,"tag":62,"props":254,"children":255},{"class":64,"line":142},[256,260,264,269,273,277,281,286],{"type":13,"tag":62,"props":257,"children":258},{"style":69},[259],{"type":18,"value":217},{"type":13,"tag":62,"props":261,"children":262},{"style":69},[263],{"type":18,"value":222},{"type":13,"tag":62,"props":265,"children":266},{"style":105},[267],{"type":18,"value":268}," INSUFFICIENTSTREAM_BUFFER_RANGE_DETECTION",{"type":13,"tag":62,"props":270,"children":271},{"style":69},[272],{"type":18,"value":232},{"type":13,"tag":62,"props":274,"children":275},{"style":105},[276],{"type":18,"value":237},{"type":13,"tag":62,"props":278,"children":279},{"style":69},[280],{"type":18,"value":242},{"type":13,"tag":62,"props":282,"children":283},{"style":105},[284],{"type":18,"value":285}," 0x00000002",{"type":13,"tag":62,"props":287,"children":288},{"style":80},[289],{"type":18,"value":252},{"type":13,"tag":62,"props":291,"children":293},{"class":64,"line":292},5,[294],{"type":13,"tag":62,"props":295,"children":296},{"style":80},[297],{"type":18,"value":298},"}\n",{"type":13,"tag":300,"props":301,"children":302},"ul",{},[303,330],{"type":13,"tag":304,"props":305,"children":306},"li",{},[307,313,315,321,322,328],{"type":13,"tag":37,"props":308,"children":310},{"className":309},[],[311],{"type":18,"value":312},"VK_VIDEO_ENCODE_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_BIT_KHR",{"type":18,"value":314},"\nindicates that the implementation supports the use of\n",{"type":13,"tag":28,"props":316,"children":318},{"href":317},"/man/VkVideoEncodeInfoKHR",[319],{"type":18,"value":320},"VkVideoEncodeInfoKHR",{"type":18,"value":35},{"type":13,"tag":37,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"precedingExternallyEncodedBytes",{"type":18,"value":329},".",{"type":13,"tag":304,"props":331,"children":332},{},[333,339,341,347,351,357,358],{"type":13,"tag":37,"props":334,"children":336},{"className":335},[],[337],{"type":18,"value":338},"VK_VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHR",{"type":18,"value":340},"\nindicates that the implementation is able to detect and report when the\ndestination video bitstream buffer range provided by the application is\nnot sufficiently large to fit the encoded bitstream data produced by a\nvideo encode operation by reporting the\n",{"type":13,"tag":37,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":346},"VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR",{"type":13,"tag":348,"props":349,"children":350},"br",{},[],{"type":13,"tag":28,"props":352,"children":354},{"href":353},"/man/VkQueryResultStatusKHR#query-result-status-codes",[355],{"type":18,"value":356},"query result status code",{"type":18,"value":329},{"type":13,"tag":359,"props":360,"children":361},"note",{},[362],{"type":13,"tag":14,"props":363,"children":364},{},[365,367,370,372,377,379,382,384,389,391,395,397,402,404,408],{"type":18,"value":366},"Some implementations ",{"type":13,"tag":21,"props":368,"children":369},{"type":23},[],{"type":18,"value":371}," not be able to reliably detect insufficient\nbitstream buffer range conditions in all situations.\nSuch implementations will not report support for the\n",{"type":13,"tag":37,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":338},{"type":18,"value":378},"\nencode capability flag for the video profile, but ",{"type":13,"tag":21,"props":380,"children":381},{"type":23},[],{"type":18,"value":383}," still report the\n",{"type":13,"tag":37,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":346},{"type":18,"value":390}," query\nresult status code in certain cases.\nApplications ",{"type":13,"tag":21,"props":392,"children":394},{"type":393},"should",[],{"type":18,"value":396}," always check for the specific query result status code\n",{"type":13,"tag":37,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":346},{"type":18,"value":403}," even\nwhen this encode capability flag is not supported by the implementation for\nthe video profile in question.\nHowever, applications ",{"type":13,"tag":21,"props":405,"children":407},{"type":406},"must",[],{"type":18,"value":409}," not assume that a different negative query\nresult status code indicating an unsuccessful completion of a video encode\noperation is not the result of an insufficient bitstream buffer condition\nunless this encode capability flag is supported.",{"type":13,"tag":411,"props":412,"children":413},"style",{},[414],{"type":18,"value":415},"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":417},[],"markdown",1729612486397]