[{"data":1,"prerenderedAt":651},["ShallowReactive",2],{"0NEiPYF5JJ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":650,"_id":4},"VkOpticalFlowSessionCreateFlagBitsNV","Bits specifying flags for optical flow session","VK_NV_optical_flow","enums",[],{"type":10,"children":11,"toc":648},"root",[12,45,488,642],{"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/VkOpticalFlowSessionCreateInfoNV",[32],{"type":18,"value":33},"VkOpticalFlowSessionCreateInfoNV",{"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},", controlling optical\nflow session operations, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,227],{"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 VkOpticalFlowSessionCreateFlagBitsNV {\n VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_HINT_BIT_NV = 0x00000001,\n VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_COST_BIT_NV = 0x00000002,\n VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_GLOBAL_FLOW_BIT_NV = 0x00000004,\n VK_OPTICAL_FLOW_SESSION_CREATE_ALLOW_REGIONS_BIT_NV = 0x00000008,\n VK_OPTICAL_FLOW_SESSION_CREATE_BOTH_DIRECTIONS_BIT_NV = 0x00000010,\n} VkOpticalFlowSessionCreateFlagBitsNV;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114,140,166,192,218],{"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}," VkOpticalFlowSessionCreateFlagBitsNV {\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_OPTICAL_FLOW_SESSION_CREATE_ENABLE_HINT_BIT_NV ",{"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_OPTICAL_FLOW_SESSION_CREATE_ENABLE_COST_BIT_NV ",{"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_OPTICAL_FLOW_SESSION_CREATE_ENABLE_GLOBAL_FLOW_BIT_NV ",{"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,175,179,183,188],{"type":13,"tag":62,"props":171,"children":172},{"style":80},[173],{"type":18,"value":174}," VK_OPTICAL_FLOW_SESSION_CREATE_ALLOW_REGIONS_BIT_NV ",{"type":13,"tag":62,"props":176,"children":177},{"style":69},[178],{"type":18,"value":97},{"type":13,"tag":62,"props":180,"children":181},{"style":69},[182],{"type":18,"value":102},{"type":13,"tag":62,"props":184,"children":185},{"style":105},[186],{"type":18,"value":187},"00000008",{"type":13,"tag":62,"props":189,"children":190},{"style":80},[191],{"type":18,"value":113},{"type":13,"tag":62,"props":193,"children":195},{"class":64,"line":194},6,[196,201,205,209,214],{"type":13,"tag":62,"props":197,"children":198},{"style":80},[199],{"type":18,"value":200}," VK_OPTICAL_FLOW_SESSION_CREATE_BOTH_DIRECTIONS_BIT_NV ",{"type":13,"tag":62,"props":202,"children":203},{"style":69},[204],{"type":18,"value":97},{"type":13,"tag":62,"props":206,"children":207},{"style":69},[208],{"type":18,"value":102},{"type":13,"tag":62,"props":210,"children":211},{"style":105},[212],{"type":18,"value":213},"00000010",{"type":13,"tag":62,"props":215,"children":216},{"style":80},[217],{"type":18,"value":113},{"type":13,"tag":62,"props":219,"children":221},{"class":64,"line":220},7,[222],{"type":13,"tag":62,"props":223,"children":224},{"style":80},[225],{"type":18,"value":226},"} VkOpticalFlowSessionCreateFlagBitsNV;\n",{"type":13,"tag":50,"props":228,"children":233},{"className":229,"code":230,"filename":231,"language":232,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct OpticalFlowSessionCreateFlagBitsNV(u32);\nimpl OpticalFlowSessionCreateFlagBitsNV {\n pub const ENABLE_HINT: Self = 0x00000001;\n pub const ENABLE_COST: Self = 0x00000002;\n pub const ENABLE_GLOBAL_FLOW: Self = 0x00000004;\n pub const ALLOW_REGIONS: Self = 0x00000008;\n pub const BOTH_DIRECTIONS: Self = 0x00000010;\n}\n","Rust","rs",[234],{"type":13,"tag":37,"props":235,"children":236},{"__ignoreMap":56},[237,271,288,331,368,405,442,479],{"type":13,"tag":62,"props":238,"children":239},{"class":64,"line":65},[240,245,250,256,261,266],{"type":13,"tag":62,"props":241,"children":242},{"style":69},[243],{"type":18,"value":244},"pub",{"type":13,"tag":62,"props":246,"children":247},{"style":69},[248],{"type":18,"value":249}," struct",{"type":13,"tag":62,"props":251,"children":253},{"style":252},"--shiki-default:#953800;--shiki-dark:#FFA657",[254],{"type":18,"value":255}," OpticalFlowSessionCreateFlagBitsNV",{"type":13,"tag":62,"props":257,"children":258},{"style":80},[259],{"type":18,"value":260},"(",{"type":13,"tag":62,"props":262,"children":263},{"style":252},[264],{"type":18,"value":265},"u32",{"type":13,"tag":62,"props":267,"children":268},{"style":80},[269],{"type":18,"value":270},");\n",{"type":13,"tag":62,"props":272,"children":273},{"class":64,"line":86},[274,279,283],{"type":13,"tag":62,"props":275,"children":276},{"style":69},[277],{"type":18,"value":278},"impl",{"type":13,"tag":62,"props":280,"children":281},{"style":252},[282],{"type":18,"value":255},{"type":13,"tag":62,"props":284,"children":285},{"style":80},[286],{"type":18,"value":287}," {\n",{"type":13,"tag":62,"props":289,"children":290},{"class":64,"line":116},[291,296,301,306,311,316,321,326],{"type":13,"tag":62,"props":292,"children":293},{"style":69},[294],{"type":18,"value":295}," pub",{"type":13,"tag":62,"props":297,"children":298},{"style":69},[299],{"type":18,"value":300}," const",{"type":13,"tag":62,"props":302,"children":303},{"style":105},[304],{"type":18,"value":305}," ENABLE_HINT",{"type":13,"tag":62,"props":307,"children":308},{"style":69},[309],{"type":18,"value":310},":",{"type":13,"tag":62,"props":312,"children":313},{"style":105},[314],{"type":18,"value":315}," Self",{"type":13,"tag":62,"props":317,"children":318},{"style":69},[319],{"type":18,"value":320}," =",{"type":13,"tag":62,"props":322,"children":323},{"style":105},[324],{"type":18,"value":325}," 0x00000001",{"type":13,"tag":62,"props":327,"children":328},{"style":80},[329],{"type":18,"value":330},";\n",{"type":13,"tag":62,"props":332,"children":333},{"class":64,"line":142},[334,338,342,347,351,355,359,364],{"type":13,"tag":62,"props":335,"children":336},{"style":69},[337],{"type":18,"value":295},{"type":13,"tag":62,"props":339,"children":340},{"style":69},[341],{"type":18,"value":300},{"type":13,"tag":62,"props":343,"children":344},{"style":105},[345],{"type":18,"value":346}," ENABLE_COST",{"type":13,"tag":62,"props":348,"children":349},{"style":69},[350],{"type":18,"value":310},{"type":13,"tag":62,"props":352,"children":353},{"style":105},[354],{"type":18,"value":315},{"type":13,"tag":62,"props":356,"children":357},{"style":69},[358],{"type":18,"value":320},{"type":13,"tag":62,"props":360,"children":361},{"style":105},[362],{"type":18,"value":363}," 0x00000002",{"type":13,"tag":62,"props":365,"children":366},{"style":80},[367],{"type":18,"value":330},{"type":13,"tag":62,"props":369,"children":370},{"class":64,"line":168},[371,375,379,384,388,392,396,401],{"type":13,"tag":62,"props":372,"children":373},{"style":69},[374],{"type":18,"value":295},{"type":13,"tag":62,"props":376,"children":377},{"style":69},[378],{"type":18,"value":300},{"type":13,"tag":62,"props":380,"children":381},{"style":105},[382],{"type":18,"value":383}," ENABLE_GLOBAL_FLOW",{"type":13,"tag":62,"props":385,"children":386},{"style":69},[387],{"type":18,"value":310},{"type":13,"tag":62,"props":389,"children":390},{"style":105},[391],{"type":18,"value":315},{"type":13,"tag":62,"props":393,"children":394},{"style":69},[395],{"type":18,"value":320},{"type":13,"tag":62,"props":397,"children":398},{"style":105},[399],{"type":18,"value":400}," 0x00000004",{"type":13,"tag":62,"props":402,"children":403},{"style":80},[404],{"type":18,"value":330},{"type":13,"tag":62,"props":406,"children":407},{"class":64,"line":194},[408,412,416,421,425,429,433,438],{"type":13,"tag":62,"props":409,"children":410},{"style":69},[411],{"type":18,"value":295},{"type":13,"tag":62,"props":413,"children":414},{"style":69},[415],{"type":18,"value":300},{"type":13,"tag":62,"props":417,"children":418},{"style":105},[419],{"type":18,"value":420}," ALLOW_REGIONS",{"type":13,"tag":62,"props":422,"children":423},{"style":69},[424],{"type":18,"value":310},{"type":13,"tag":62,"props":426,"children":427},{"style":105},[428],{"type":18,"value":315},{"type":13,"tag":62,"props":430,"children":431},{"style":69},[432],{"type":18,"value":320},{"type":13,"tag":62,"props":434,"children":435},{"style":105},[436],{"type":18,"value":437}," 0x00000008",{"type":13,"tag":62,"props":439,"children":440},{"style":80},[441],{"type":18,"value":330},{"type":13,"tag":62,"props":443,"children":444},{"class":64,"line":220},[445,449,453,458,462,466,470,475],{"type":13,"tag":62,"props":446,"children":447},{"style":69},[448],{"type":18,"value":295},{"type":13,"tag":62,"props":450,"children":451},{"style":69},[452],{"type":18,"value":300},{"type":13,"tag":62,"props":454,"children":455},{"style":105},[456],{"type":18,"value":457}," BOTH_DIRECTIONS",{"type":13,"tag":62,"props":459,"children":460},{"style":69},[461],{"type":18,"value":310},{"type":13,"tag":62,"props":463,"children":464},{"style":105},[465],{"type":18,"value":315},{"type":13,"tag":62,"props":467,"children":468},{"style":69},[469],{"type":18,"value":320},{"type":13,"tag":62,"props":471,"children":472},{"style":105},[473],{"type":18,"value":474}," 0x00000010",{"type":13,"tag":62,"props":476,"children":477},{"style":80},[478],{"type":18,"value":330},{"type":13,"tag":62,"props":480,"children":482},{"class":64,"line":481},8,[483],{"type":13,"tag":62,"props":484,"children":485},{"style":80},[486],{"type":18,"value":487},"}\n",{"type":13,"tag":489,"props":490,"children":491},"ul",{},[492,526,581,609,632],{"type":13,"tag":493,"props":494,"children":495},"li",{},[496,502,504,510,512,516,518,524],{"type":13,"tag":37,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":501},"VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_HINT_BIT_NV",{"type":18,"value":503}," specifies that a\n",{"type":13,"tag":28,"props":505,"children":507},{"href":506},"/man/VkImageView",[508],{"type":18,"value":509},"VkImageView",{"type":18,"value":511}," with external flow vectors will be used as hints in\nperforming the motion search and ",{"type":13,"tag":21,"props":513,"children":515},{"type":514},"must",[],{"type":18,"value":517}," be bound to\n",{"type":13,"tag":37,"props":519,"children":521},{"className":520},[],[522],{"type":18,"value":523},"VK_OPTICAL_FLOW_SESSION_BINDING_POINT_HINT_NV",{"type":18,"value":525},".",{"type":13,"tag":493,"props":527,"children":528},{},[529,535,537,541,543,546,548,554,556,562,564,568,569,572,573,579],{"type":13,"tag":37,"props":530,"children":532},{"className":531},[],[533],{"type":18,"value":534},"VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_COST_BIT_NV",{"type":18,"value":536}," specifies that\nthe cost for the forward flow is generated in a ",{"type":13,"tag":28,"props":538,"children":539},{"href":506},[540],{"type":18,"value":509},{"type":18,"value":542}," which\n",{"type":13,"tag":21,"props":544,"children":545},{"type":514},[],{"type":18,"value":547}," be bound to ",{"type":13,"tag":37,"props":549,"children":551},{"className":550},[],[552],{"type":18,"value":553},"VK_OPTICAL_FLOW_SESSION_BINDING_POINT_COST_NV",{"type":18,"value":555},".\nAdditionally, if\n",{"type":13,"tag":37,"props":557,"children":559},{"className":558},[],[560],{"type":18,"value":561},"VK_OPTICAL_FLOW_SESSION_CREATE_BOTH_DIRECTIONS_BIT_NV",{"type":18,"value":563}," is also set,\nthe cost for backward flow is generated in a ",{"type":13,"tag":28,"props":565,"children":566},{"href":506},[567],{"type":18,"value":509},{"type":18,"value":542},{"type":13,"tag":21,"props":570,"children":571},{"type":514},[],{"type":18,"value":517},{"type":13,"tag":37,"props":574,"children":576},{"className":575},[],[577],{"type":18,"value":578},"VK_OPTICAL_FLOW_SESSION_BINDING_POINT_BACKWARD_COST_NV",{"type":18,"value":580},".\nThe cost is the confidence level of the flow vector for each grid in the\nframe.\nThe Cost implies how (in)accurate the flow vector is.\nHigher cost value implies the flow vector to be less accurate and\nvice-versa.",{"type":13,"tag":493,"props":582,"children":583},{},[584,590,592,596,598,601,602,608],{"type":13,"tag":37,"props":585,"children":587},{"className":586},[],[588],{"type":18,"value":589},"VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_GLOBAL_FLOW_BIT_NV",{"type":18,"value":591}," specifies\nthat a global flow vector is estimated from forward flow in a single\npixel ",{"type":13,"tag":28,"props":593,"children":594},{"href":506},[595],{"type":18,"value":509},{"type":18,"value":597}," which ",{"type":13,"tag":21,"props":599,"children":600},{"type":514},[],{"type":18,"value":517},{"type":13,"tag":37,"props":603,"children":605},{"className":604},[],[606],{"type":18,"value":607},"VK_OPTICAL_FLOW_SESSION_BINDING_POINT_GLOBAL_FLOW_NV",{"type":18,"value":525},{"type":13,"tag":493,"props":610,"children":611},{},[612,618,620,623,625,631],{"type":13,"tag":37,"props":613,"children":615},{"className":614},[],[616],{"type":18,"value":617},"VK_OPTICAL_FLOW_SESSION_CREATE_ALLOW_REGIONS_BIT_NV",{"type":18,"value":619}," specifies that\nregions of interest ",{"type":13,"tag":21,"props":621,"children":622},{"type":23},[],{"type":18,"value":624}," be specified in\n",{"type":13,"tag":28,"props":626,"children":628},{"href":627},"/man/VkOpticalFlowExecuteInfoNV",[629],{"type":18,"value":630},"VkOpticalFlowExecuteInfoNV",{"type":18,"value":525},{"type":13,"tag":493,"props":633,"children":634},{},[635,640],{"type":13,"tag":37,"props":636,"children":638},{"className":637},[],[639],{"type":18,"value":561},{"type":18,"value":641}," specifies\nthat backward flow is generated in addition to forward flow which is\nalways generated.",{"type":13,"tag":643,"props":644,"children":645},"style",{},[646],{"type":18,"value":647},"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":649},[],"markdown",1725732564291]