[{"data":1,"prerenderedAt":561},["ShallowReactive",2],{"DkyNXyrcJF":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":560,"_id":4},"VkVideoEncodeUsageFlagBitsKHR","Video encode usage flags","VK_KHR_video_encode_queue","enums",[],{"type":10,"children":11,"toc":558},"root",[12,45,483,532,552],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","The following bits ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be specified in\n",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkVideoEncodeUsageInfoKHR",[32],{"type":18,"value":33},"VkVideoEncodeUsageInfoKHR",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"videoUsageHints",{"type":18,"value":44}," as a hint about the\nvideo encode use case:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,223],{"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 VkVideoEncodeUsageFlagBitsKHR {\n VK_VIDEO_ENCODE_USAGE_DEFAULT_KHR = 0,\n VK_VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHR = 0x00000001,\n VK_VIDEO_ENCODE_USAGE_STREAMING_BIT_KHR = 0x00000002,\n VK_VIDEO_ENCODE_USAGE_RECORDING_BIT_KHR = 0x00000004,\n VK_VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHR = 0x00000008,\n} VkVideoEncodeUsageFlagBitsKHR;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,109,136,162,188,214],{"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}," VkVideoEncodeUsageFlagBitsKHR {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88,93,98,104],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VK_VIDEO_ENCODE_USAGE_DEFAULT_KHR ",{"type":13,"tag":62,"props":94,"children":95},{"style":69},[96],{"type":18,"value":97},"=",{"type":13,"tag":62,"props":99,"children":101},{"style":100},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[102],{"type":18,"value":103}," 0",{"type":13,"tag":62,"props":105,"children":106},{"style":80},[107],{"type":18,"value":108},",\n",{"type":13,"tag":62,"props":110,"children":112},{"class":64,"line":111},3,[113,118,122,127,132],{"type":13,"tag":62,"props":114,"children":115},{"style":80},[116],{"type":18,"value":117}," VK_VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHR ",{"type":13,"tag":62,"props":119,"children":120},{"style":69},[121],{"type":18,"value":97},{"type":13,"tag":62,"props":123,"children":124},{"style":69},[125],{"type":18,"value":126}," 0x",{"type":13,"tag":62,"props":128,"children":129},{"style":100},[130],{"type":18,"value":131},"00000001",{"type":13,"tag":62,"props":133,"children":134},{"style":80},[135],{"type":18,"value":108},{"type":13,"tag":62,"props":137,"children":139},{"class":64,"line":138},4,[140,145,149,153,158],{"type":13,"tag":62,"props":141,"children":142},{"style":80},[143],{"type":18,"value":144}," VK_VIDEO_ENCODE_USAGE_STREAMING_BIT_KHR ",{"type":13,"tag":62,"props":146,"children":147},{"style":69},[148],{"type":18,"value":97},{"type":13,"tag":62,"props":150,"children":151},{"style":69},[152],{"type":18,"value":126},{"type":13,"tag":62,"props":154,"children":155},{"style":100},[156],{"type":18,"value":157},"00000002",{"type":13,"tag":62,"props":159,"children":160},{"style":80},[161],{"type":18,"value":108},{"type":13,"tag":62,"props":163,"children":165},{"class":64,"line":164},5,[166,171,175,179,184],{"type":13,"tag":62,"props":167,"children":168},{"style":80},[169],{"type":18,"value":170}," VK_VIDEO_ENCODE_USAGE_RECORDING_BIT_KHR ",{"type":13,"tag":62,"props":172,"children":173},{"style":69},[174],{"type":18,"value":97},{"type":13,"tag":62,"props":176,"children":177},{"style":69},[178],{"type":18,"value":126},{"type":13,"tag":62,"props":180,"children":181},{"style":100},[182],{"type":18,"value":183},"00000004",{"type":13,"tag":62,"props":185,"children":186},{"style":80},[187],{"type":18,"value":108},{"type":13,"tag":62,"props":189,"children":191},{"class":64,"line":190},6,[192,197,201,205,210],{"type":13,"tag":62,"props":193,"children":194},{"style":80},[195],{"type":18,"value":196}," VK_VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHR ",{"type":13,"tag":62,"props":198,"children":199},{"style":69},[200],{"type":18,"value":97},{"type":13,"tag":62,"props":202,"children":203},{"style":69},[204],{"type":18,"value":126},{"type":13,"tag":62,"props":206,"children":207},{"style":100},[208],{"type":18,"value":209},"00000008",{"type":13,"tag":62,"props":211,"children":212},{"style":80},[213],{"type":18,"value":108},{"type":13,"tag":62,"props":215,"children":217},{"class":64,"line":216},7,[218],{"type":13,"tag":62,"props":219,"children":220},{"style":80},[221],{"type":18,"value":222},"} VkVideoEncodeUsageFlagBitsKHR;\n",{"type":13,"tag":50,"props":224,"children":229},{"className":225,"code":226,"filename":227,"language":228,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodeUsageFlagBitsKHR(u32);\nimpl VideoEncodeUsageFlagBitsKHR {\n pub const DEFAULT: Self = 0;\n pub const TRANSCODING: Self = 0x00000001;\n pub const STREAMING: Self = 0x00000002;\n pub const RECORDING: Self = 0x00000004;\n pub const CONFERENCING: Self = 0x00000008;\n}\n","Rust","rs",[230],{"type":13,"tag":37,"props":231,"children":232},{"__ignoreMap":56},[233,267,284,326,363,400,437,474],{"type":13,"tag":62,"props":234,"children":235},{"class":64,"line":65},[236,241,246,252,257,262],{"type":13,"tag":62,"props":237,"children":238},{"style":69},[239],{"type":18,"value":240},"pub",{"type":13,"tag":62,"props":242,"children":243},{"style":69},[244],{"type":18,"value":245}," struct",{"type":13,"tag":62,"props":247,"children":249},{"style":248},"--shiki-default:#953800;--shiki-dark:#FFA657",[250],{"type":18,"value":251}," VideoEncodeUsageFlagBitsKHR",{"type":13,"tag":62,"props":253,"children":254},{"style":80},[255],{"type":18,"value":256},"(",{"type":13,"tag":62,"props":258,"children":259},{"style":248},[260],{"type":18,"value":261},"u32",{"type":13,"tag":62,"props":263,"children":264},{"style":80},[265],{"type":18,"value":266},");\n",{"type":13,"tag":62,"props":268,"children":269},{"class":64,"line":86},[270,275,279],{"type":13,"tag":62,"props":271,"children":272},{"style":69},[273],{"type":18,"value":274},"impl",{"type":13,"tag":62,"props":276,"children":277},{"style":248},[278],{"type":18,"value":251},{"type":13,"tag":62,"props":280,"children":281},{"style":80},[282],{"type":18,"value":283}," {\n",{"type":13,"tag":62,"props":285,"children":286},{"class":64,"line":111},[287,292,297,302,307,312,317,321],{"type":13,"tag":62,"props":288,"children":289},{"style":69},[290],{"type":18,"value":291}," pub",{"type":13,"tag":62,"props":293,"children":294},{"style":69},[295],{"type":18,"value":296}," const",{"type":13,"tag":62,"props":298,"children":299},{"style":100},[300],{"type":18,"value":301}," DEFAULT",{"type":13,"tag":62,"props":303,"children":304},{"style":69},[305],{"type":18,"value":306},":",{"type":13,"tag":62,"props":308,"children":309},{"style":100},[310],{"type":18,"value":311}," Self",{"type":13,"tag":62,"props":313,"children":314},{"style":69},[315],{"type":18,"value":316}," =",{"type":13,"tag":62,"props":318,"children":319},{"style":100},[320],{"type":18,"value":103},{"type":13,"tag":62,"props":322,"children":323},{"style":80},[324],{"type":18,"value":325},";\n",{"type":13,"tag":62,"props":327,"children":328},{"class":64,"line":138},[329,333,337,342,346,350,354,359],{"type":13,"tag":62,"props":330,"children":331},{"style":69},[332],{"type":18,"value":291},{"type":13,"tag":62,"props":334,"children":335},{"style":69},[336],{"type":18,"value":296},{"type":13,"tag":62,"props":338,"children":339},{"style":100},[340],{"type":18,"value":341}," TRANSCODING",{"type":13,"tag":62,"props":343,"children":344},{"style":69},[345],{"type":18,"value":306},{"type":13,"tag":62,"props":347,"children":348},{"style":100},[349],{"type":18,"value":311},{"type":13,"tag":62,"props":351,"children":352},{"style":69},[353],{"type":18,"value":316},{"type":13,"tag":62,"props":355,"children":356},{"style":100},[357],{"type":18,"value":358}," 0x00000001",{"type":13,"tag":62,"props":360,"children":361},{"style":80},[362],{"type":18,"value":325},{"type":13,"tag":62,"props":364,"children":365},{"class":64,"line":164},[366,370,374,379,383,387,391,396],{"type":13,"tag":62,"props":367,"children":368},{"style":69},[369],{"type":18,"value":291},{"type":13,"tag":62,"props":371,"children":372},{"style":69},[373],{"type":18,"value":296},{"type":13,"tag":62,"props":375,"children":376},{"style":100},[377],{"type":18,"value":378}," STREAMING",{"type":13,"tag":62,"props":380,"children":381},{"style":69},[382],{"type":18,"value":306},{"type":13,"tag":62,"props":384,"children":385},{"style":100},[386],{"type":18,"value":311},{"type":13,"tag":62,"props":388,"children":389},{"style":69},[390],{"type":18,"value":316},{"type":13,"tag":62,"props":392,"children":393},{"style":100},[394],{"type":18,"value":395}," 0x00000002",{"type":13,"tag":62,"props":397,"children":398},{"style":80},[399],{"type":18,"value":325},{"type":13,"tag":62,"props":401,"children":402},{"class":64,"line":190},[403,407,411,416,420,424,428,433],{"type":13,"tag":62,"props":404,"children":405},{"style":69},[406],{"type":18,"value":291},{"type":13,"tag":62,"props":408,"children":409},{"style":69},[410],{"type":18,"value":296},{"type":13,"tag":62,"props":412,"children":413},{"style":100},[414],{"type":18,"value":415}," RECORDING",{"type":13,"tag":62,"props":417,"children":418},{"style":69},[419],{"type":18,"value":306},{"type":13,"tag":62,"props":421,"children":422},{"style":100},[423],{"type":18,"value":311},{"type":13,"tag":62,"props":425,"children":426},{"style":69},[427],{"type":18,"value":316},{"type":13,"tag":62,"props":429,"children":430},{"style":100},[431],{"type":18,"value":432}," 0x00000004",{"type":13,"tag":62,"props":434,"children":435},{"style":80},[436],{"type":18,"value":325},{"type":13,"tag":62,"props":438,"children":439},{"class":64,"line":216},[440,444,448,453,457,461,465,470],{"type":13,"tag":62,"props":441,"children":442},{"style":69},[443],{"type":18,"value":291},{"type":13,"tag":62,"props":445,"children":446},{"style":69},[447],{"type":18,"value":296},{"type":13,"tag":62,"props":449,"children":450},{"style":100},[451],{"type":18,"value":452}," CONFERENCING",{"type":13,"tag":62,"props":454,"children":455},{"style":69},[456],{"type":18,"value":306},{"type":13,"tag":62,"props":458,"children":459},{"style":100},[460],{"type":18,"value":311},{"type":13,"tag":62,"props":462,"children":463},{"style":69},[464],{"type":18,"value":316},{"type":13,"tag":62,"props":466,"children":467},{"style":100},[468],{"type":18,"value":469}," 0x00000008",{"type":13,"tag":62,"props":471,"children":472},{"style":80},[473],{"type":18,"value":325},{"type":13,"tag":62,"props":475,"children":477},{"class":64,"line":476},8,[478],{"type":13,"tag":62,"props":479,"children":480},{"style":80},[481],{"type":18,"value":482},"}\n",{"type":13,"tag":484,"props":485,"children":486},"ul",{},[487,499,510,521],{"type":13,"tag":488,"props":489,"children":490},"li",{},[491,497],{"type":13,"tag":37,"props":492,"children":494},{"className":493},[],[495],{"type":18,"value":496},"VK_VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHR",{"type":18,"value":498}," specifies that video\nencoding is intended to be used in conjunction with video decoding to\ntranscode a video bitstream with the same and/or different codecs.",{"type":13,"tag":488,"props":500,"children":501},{},[502,508],{"type":13,"tag":37,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":507},"VK_VIDEO_ENCODE_USAGE_STREAMING_BIT_KHR",{"type":18,"value":509}," specifies that video\nencoding is intended to be used to produce a video bitstream that is\nexpected to be sent as a continuous flow over network.",{"type":13,"tag":488,"props":511,"children":512},{},[513,519],{"type":13,"tag":37,"props":514,"children":516},{"className":515},[],[517],{"type":18,"value":518},"VK_VIDEO_ENCODE_USAGE_RECORDING_BIT_KHR",{"type":18,"value":520}," specifies that video\nencoding is intended to be used for real-time recording for offline\nconsumption.",{"type":13,"tag":488,"props":522,"children":523},{},[524,530],{"type":13,"tag":37,"props":525,"children":527},{"className":526},[],[528],{"type":18,"value":529},"VK_VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHR",{"type":18,"value":531}," specifies that video\nencoding is intended to be used in a video conferencing scenario.",{"type":13,"tag":533,"props":534,"children":535},"note",{},[536],{"type":13,"tag":14,"props":537,"children":538},{},[539,541,544,546,550],{"type":18,"value":540},"There are no restrictions on the combination of bits that ",{"type":13,"tag":21,"props":542,"children":543},{"type":23},[],{"type":18,"value":545}," be specified\nby the application.\nHowever, applications ",{"type":13,"tag":21,"props":547,"children":549},{"type":548},"should",[],{"type":18,"value":551}," use reasonable combinations in order for the\nimplementation to be able to select the most appropriate mode of operation\nfor the particular use case.",{"type":13,"tag":553,"props":554,"children":555},"style",{},[556],{"type":18,"value":557},"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":559},[],"markdown",1725732594816]