[{"data":1,"prerenderedAt":587},["ShallowReactive",2],{"gAE1cLiXMj":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":586,"_id":4},"VkOpticalFlowGridSizeFlagBitsNV","Bits specifying grid sizes for optical flow operations","VK_NV_optical_flow","enums",[],{"type":10,"children":11,"toc":584},"root",[12,20,91,529,578],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","Optical flow vectors are generated block-wise, one vector for each block of\nNxN pixels (referred to as grid).",{"type":13,"tag":14,"props":21,"children":22},{},[23,25,30,32,39,41,48,50,54,55,61,63,69,70,76,78,82,83,89],{"type":18,"value":24},"Bits which ",{"type":13,"tag":26,"props":27,"children":29},"normative",{"type":28},"can",[],{"type":18,"value":31}," be set in\n",{"type":13,"tag":33,"props":34,"children":36},"a",{"href":35},"/man/VkOpticalFlowSessionCreateInfoNV",[37],{"type":18,"value":38},"VkOpticalFlowSessionCreateInfoNV",{"type":18,"value":40},"::",{"type":13,"tag":42,"props":43,"children":45},"code",{"className":44},[],[46],{"type":18,"value":47},"outputGridSize",{"type":18,"value":49}," and\n",{"type":13,"tag":33,"props":51,"children":52},{"href":35},[53],{"type":18,"value":38},{"type":18,"value":40},{"type":13,"tag":42,"props":56,"children":58},{"className":57},[],[59],{"type":18,"value":60},"hintGridSize",{"type":18,"value":62},", or which are\nreturned in\n",{"type":13,"tag":33,"props":64,"children":66},{"href":65},"/man/VkPhysicalDeviceOpticalFlowPropertiesNV",[67],{"type":18,"value":68},"VkPhysicalDeviceOpticalFlowPropertiesNV",{"type":18,"value":40},{"type":13,"tag":42,"props":71,"children":73},{"className":72},[],[74],{"type":18,"value":75},"supportedOutputGridSizes",{"type":18,"value":77},"\nand\n",{"type":13,"tag":33,"props":79,"children":80},{"href":65},[81],{"type":18,"value":68},{"type":18,"value":40},{"type":13,"tag":42,"props":84,"children":86},{"className":85},[],[87],{"type":18,"value":88},"supportedHintGridSizes",{"type":18,"value":90},"\ncontrolling optical flow grid sizes, are:",{"type":13,"tag":92,"props":93,"children":94},"code-group",{},[95,269],{"type":13,"tag":96,"props":97,"children":103},"pre",{"className":98,"code":99,"filename":100,"language":101,"meta":102,"style":102},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkOpticalFlowGridSizeFlagBitsNV {\n VK_OPTICAL_FLOW_GRID_SIZE_UNKNOWN_NV = 0,\n VK_OPTICAL_FLOW_GRID_SIZE_1X1_BIT_NV = 0x00000001,\n VK_OPTICAL_FLOW_GRID_SIZE_2X2_BIT_NV = 0x00000002,\n VK_OPTICAL_FLOW_GRID_SIZE_4X4_BIT_NV = 0x00000004,\n VK_OPTICAL_FLOW_GRID_SIZE_8X8_BIT_NV = 0x00000008,\n} VkOpticalFlowGridSizeFlagBitsNV;\n","C","c","",[104],{"type":13,"tag":42,"props":105,"children":106},{"__ignoreMap":102},[107,130,155,182,208,234,260],{"type":13,"tag":108,"props":109,"children":112},"span",{"class":110,"line":111},"line",1,[113,119,124],{"type":13,"tag":108,"props":114,"children":116},{"style":115},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[117],{"type":18,"value":118},"typedef",{"type":13,"tag":108,"props":120,"children":121},{"style":115},[122],{"type":18,"value":123}," enum",{"type":13,"tag":108,"props":125,"children":127},{"style":126},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[128],{"type":18,"value":129}," VkOpticalFlowGridSizeFlagBitsNV {\n",{"type":13,"tag":108,"props":131,"children":133},{"class":110,"line":132},2,[134,139,144,150],{"type":13,"tag":108,"props":135,"children":136},{"style":126},[137],{"type":18,"value":138}," VK_OPTICAL_FLOW_GRID_SIZE_UNKNOWN_NV ",{"type":13,"tag":108,"props":140,"children":141},{"style":115},[142],{"type":18,"value":143},"=",{"type":13,"tag":108,"props":145,"children":147},{"style":146},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[148],{"type":18,"value":149}," 0",{"type":13,"tag":108,"props":151,"children":152},{"style":126},[153],{"type":18,"value":154},",\n",{"type":13,"tag":108,"props":156,"children":158},{"class":110,"line":157},3,[159,164,168,173,178],{"type":13,"tag":108,"props":160,"children":161},{"style":126},[162],{"type":18,"value":163}," VK_OPTICAL_FLOW_GRID_SIZE_1X1_BIT_NV ",{"type":13,"tag":108,"props":165,"children":166},{"style":115},[167],{"type":18,"value":143},{"type":13,"tag":108,"props":169,"children":170},{"style":115},[171],{"type":18,"value":172}," 0x",{"type":13,"tag":108,"props":174,"children":175},{"style":146},[176],{"type":18,"value":177},"00000001",{"type":13,"tag":108,"props":179,"children":180},{"style":126},[181],{"type":18,"value":154},{"type":13,"tag":108,"props":183,"children":185},{"class":110,"line":184},4,[186,191,195,199,204],{"type":13,"tag":108,"props":187,"children":188},{"style":126},[189],{"type":18,"value":190}," VK_OPTICAL_FLOW_GRID_SIZE_2X2_BIT_NV ",{"type":13,"tag":108,"props":192,"children":193},{"style":115},[194],{"type":18,"value":143},{"type":13,"tag":108,"props":196,"children":197},{"style":115},[198],{"type":18,"value":172},{"type":13,"tag":108,"props":200,"children":201},{"style":146},[202],{"type":18,"value":203},"00000002",{"type":13,"tag":108,"props":205,"children":206},{"style":126},[207],{"type":18,"value":154},{"type":13,"tag":108,"props":209,"children":211},{"class":110,"line":210},5,[212,217,221,225,230],{"type":13,"tag":108,"props":213,"children":214},{"style":126},[215],{"type":18,"value":216}," VK_OPTICAL_FLOW_GRID_SIZE_4X4_BIT_NV ",{"type":13,"tag":108,"props":218,"children":219},{"style":115},[220],{"type":18,"value":143},{"type":13,"tag":108,"props":222,"children":223},{"style":115},[224],{"type":18,"value":172},{"type":13,"tag":108,"props":226,"children":227},{"style":146},[228],{"type":18,"value":229},"00000004",{"type":13,"tag":108,"props":231,"children":232},{"style":126},[233],{"type":18,"value":154},{"type":13,"tag":108,"props":235,"children":237},{"class":110,"line":236},6,[238,243,247,251,256],{"type":13,"tag":108,"props":239,"children":240},{"style":126},[241],{"type":18,"value":242}," VK_OPTICAL_FLOW_GRID_SIZE_8X8_BIT_NV ",{"type":13,"tag":108,"props":244,"children":245},{"style":115},[246],{"type":18,"value":143},{"type":13,"tag":108,"props":248,"children":249},{"style":115},[250],{"type":18,"value":172},{"type":13,"tag":108,"props":252,"children":253},{"style":146},[254],{"type":18,"value":255},"00000008",{"type":13,"tag":108,"props":257,"children":258},{"style":126},[259],{"type":18,"value":154},{"type":13,"tag":108,"props":261,"children":263},{"class":110,"line":262},7,[264],{"type":13,"tag":108,"props":265,"children":266},{"style":126},[267],{"type":18,"value":268},"} VkOpticalFlowGridSizeFlagBitsNV;\n",{"type":13,"tag":96,"props":270,"children":275},{"className":271,"code":272,"filename":273,"language":274,"meta":102,"style":102},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct OpticalFlowGridSizeFlagBitsNV(u32);\nimpl OpticalFlowGridSizeFlagBitsNV {\n pub const UNKNOWN: Self = 0;\n pub const TYPE_1X1: Self = 0x00000001;\n pub const TYPE_2X2: Self = 0x00000002;\n pub const TYPE_4X4: Self = 0x00000004;\n pub const TYPE_8X8: Self = 0x00000008;\n}\n","Rust","rs",[276],{"type":13,"tag":42,"props":277,"children":278},{"__ignoreMap":102},[279,313,330,372,409,446,483,520],{"type":13,"tag":108,"props":280,"children":281},{"class":110,"line":111},[282,287,292,298,303,308],{"type":13,"tag":108,"props":283,"children":284},{"style":115},[285],{"type":18,"value":286},"pub",{"type":13,"tag":108,"props":288,"children":289},{"style":115},[290],{"type":18,"value":291}," struct",{"type":13,"tag":108,"props":293,"children":295},{"style":294},"--shiki-default:#953800;--shiki-dark:#FFA657",[296],{"type":18,"value":297}," OpticalFlowGridSizeFlagBitsNV",{"type":13,"tag":108,"props":299,"children":300},{"style":126},[301],{"type":18,"value":302},"(",{"type":13,"tag":108,"props":304,"children":305},{"style":294},[306],{"type":18,"value":307},"u32",{"type":13,"tag":108,"props":309,"children":310},{"style":126},[311],{"type":18,"value":312},");\n",{"type":13,"tag":108,"props":314,"children":315},{"class":110,"line":132},[316,321,325],{"type":13,"tag":108,"props":317,"children":318},{"style":115},[319],{"type":18,"value":320},"impl",{"type":13,"tag":108,"props":322,"children":323},{"style":294},[324],{"type":18,"value":297},{"type":13,"tag":108,"props":326,"children":327},{"style":126},[328],{"type":18,"value":329}," {\n",{"type":13,"tag":108,"props":331,"children":332},{"class":110,"line":157},[333,338,343,348,353,358,363,367],{"type":13,"tag":108,"props":334,"children":335},{"style":115},[336],{"type":18,"value":337}," pub",{"type":13,"tag":108,"props":339,"children":340},{"style":115},[341],{"type":18,"value":342}," const",{"type":13,"tag":108,"props":344,"children":345},{"style":146},[346],{"type":18,"value":347}," UNKNOWN",{"type":13,"tag":108,"props":349,"children":350},{"style":115},[351],{"type":18,"value":352},":",{"type":13,"tag":108,"props":354,"children":355},{"style":146},[356],{"type":18,"value":357}," Self",{"type":13,"tag":108,"props":359,"children":360},{"style":115},[361],{"type":18,"value":362}," =",{"type":13,"tag":108,"props":364,"children":365},{"style":146},[366],{"type":18,"value":149},{"type":13,"tag":108,"props":368,"children":369},{"style":126},[370],{"type":18,"value":371},";\n",{"type":13,"tag":108,"props":373,"children":374},{"class":110,"line":184},[375,379,383,388,392,396,400,405],{"type":13,"tag":108,"props":376,"children":377},{"style":115},[378],{"type":18,"value":337},{"type":13,"tag":108,"props":380,"children":381},{"style":115},[382],{"type":18,"value":342},{"type":13,"tag":108,"props":384,"children":385},{"style":146},[386],{"type":18,"value":387}," TYPE_1X1",{"type":13,"tag":108,"props":389,"children":390},{"style":115},[391],{"type":18,"value":352},{"type":13,"tag":108,"props":393,"children":394},{"style":146},[395],{"type":18,"value":357},{"type":13,"tag":108,"props":397,"children":398},{"style":115},[399],{"type":18,"value":362},{"type":13,"tag":108,"props":401,"children":402},{"style":146},[403],{"type":18,"value":404}," 0x00000001",{"type":13,"tag":108,"props":406,"children":407},{"style":126},[408],{"type":18,"value":371},{"type":13,"tag":108,"props":410,"children":411},{"class":110,"line":210},[412,416,420,425,429,433,437,442],{"type":13,"tag":108,"props":413,"children":414},{"style":115},[415],{"type":18,"value":337},{"type":13,"tag":108,"props":417,"children":418},{"style":115},[419],{"type":18,"value":342},{"type":13,"tag":108,"props":421,"children":422},{"style":146},[423],{"type":18,"value":424}," TYPE_2X2",{"type":13,"tag":108,"props":426,"children":427},{"style":115},[428],{"type":18,"value":352},{"type":13,"tag":108,"props":430,"children":431},{"style":146},[432],{"type":18,"value":357},{"type":13,"tag":108,"props":434,"children":435},{"style":115},[436],{"type":18,"value":362},{"type":13,"tag":108,"props":438,"children":439},{"style":146},[440],{"type":18,"value":441}," 0x00000002",{"type":13,"tag":108,"props":443,"children":444},{"style":126},[445],{"type":18,"value":371},{"type":13,"tag":108,"props":447,"children":448},{"class":110,"line":236},[449,453,457,462,466,470,474,479],{"type":13,"tag":108,"props":450,"children":451},{"style":115},[452],{"type":18,"value":337},{"type":13,"tag":108,"props":454,"children":455},{"style":115},[456],{"type":18,"value":342},{"type":13,"tag":108,"props":458,"children":459},{"style":146},[460],{"type":18,"value":461}," TYPE_4X4",{"type":13,"tag":108,"props":463,"children":464},{"style":115},[465],{"type":18,"value":352},{"type":13,"tag":108,"props":467,"children":468},{"style":146},[469],{"type":18,"value":357},{"type":13,"tag":108,"props":471,"children":472},{"style":115},[473],{"type":18,"value":362},{"type":13,"tag":108,"props":475,"children":476},{"style":146},[477],{"type":18,"value":478}," 0x00000004",{"type":13,"tag":108,"props":480,"children":481},{"style":126},[482],{"type":18,"value":371},{"type":13,"tag":108,"props":484,"children":485},{"class":110,"line":262},[486,490,494,499,503,507,511,516],{"type":13,"tag":108,"props":487,"children":488},{"style":115},[489],{"type":18,"value":337},{"type":13,"tag":108,"props":491,"children":492},{"style":115},[493],{"type":18,"value":342},{"type":13,"tag":108,"props":495,"children":496},{"style":146},[497],{"type":18,"value":498}," TYPE_8X8",{"type":13,"tag":108,"props":500,"children":501},{"style":115},[502],{"type":18,"value":352},{"type":13,"tag":108,"props":504,"children":505},{"style":146},[506],{"type":18,"value":357},{"type":13,"tag":108,"props":508,"children":509},{"style":115},[510],{"type":18,"value":362},{"type":13,"tag":108,"props":512,"children":513},{"style":146},[514],{"type":18,"value":515}," 0x00000008",{"type":13,"tag":108,"props":517,"children":518},{"style":126},[519],{"type":18,"value":371},{"type":13,"tag":108,"props":521,"children":523},{"class":110,"line":522},8,[524],{"type":13,"tag":108,"props":525,"children":526},{"style":126},[527],{"type":18,"value":528},"}\n",{"type":13,"tag":530,"props":531,"children":532},"ul",{},[533,545,556,567],{"type":13,"tag":534,"props":535,"children":536},"li",{},[537,543],{"type":13,"tag":42,"props":538,"children":540},{"className":539},[],[541],{"type":18,"value":542},"VK_OPTICAL_FLOW_GRID_SIZE_1X1_BIT_NV",{"type":18,"value":544}," specifies that grid is 1x1\npixel.",{"type":13,"tag":534,"props":546,"children":547},{},[548,554],{"type":13,"tag":42,"props":549,"children":551},{"className":550},[],[552],{"type":18,"value":553},"VK_OPTICAL_FLOW_GRID_SIZE_2X2_BIT_NV",{"type":18,"value":555}," specifies that grid is 2x2\npixel.",{"type":13,"tag":534,"props":557,"children":558},{},[559,565],{"type":13,"tag":42,"props":560,"children":562},{"className":561},[],[563],{"type":18,"value":564},"VK_OPTICAL_FLOW_GRID_SIZE_4X4_BIT_NV",{"type":18,"value":566}," specifies that grid is 4x4\npixel.",{"type":13,"tag":534,"props":568,"children":569},{},[570,576],{"type":13,"tag":42,"props":571,"children":573},{"className":572},[],[574],{"type":18,"value":575},"VK_OPTICAL_FLOW_GRID_SIZE_8X8_BIT_NV",{"type":18,"value":577}," specifies that grid is 8x8\npixel.",{"type":13,"tag":579,"props":580,"children":581},"style",{},[582],{"type":18,"value":583},"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":102,"searchDepth":132,"depth":132,"links":585},[],"markdown",1725732564119]