If the VkPhysicalDeviceOpticalFlowPropertiesNV structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.
struct VkPhysicalDeviceOpticalFlowPropertiesNV {
VkStructureType sType;
void * pNext;
VkOpticalFlowGridSizeFlagsNV supportedOutputGridSizes;
VkOpticalFlowGridSizeFlagsNV supportedHintGridSizes;
VkBool32 hintSupported;
VkBool32 costSupported;
VkBool32 bidirectionalFlowSupported;
VkBool32 globalFlowSupported;
uint32_t minWidth;
uint32_t minHeight;
uint32_t maxWidth;
uint32_t maxHeight;
uint32_t maxNumRegionsOfInterest;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BIDIRECTIONALFLOWSUPPORTED
The struct member offsets. |
| public static final int | COSTSUPPORTED
The struct member offsets. |
| public static final int | GLOBALFLOWSUPPORTED
The struct member offsets. |
| public static final int | HINTSUPPORTED
The struct member offsets. |
| public static final int | MAXHEIGHT
The struct member offsets. |
| public static final int | MAXNUMREGIONSOFINTEREST
The struct member offsets. |
| public static final int | MAXWIDTH
The struct member offsets. |
| public static final int | MINHEIGHT
The struct member offsets. |
| public static final int | MINWIDTH
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | SUPPORTEDHINTGRIDSIZES
The struct member offsets. |
| public static final int | SUPPORTEDOUTPUTGRIDSIZES
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceOpticalFlowPropertiesNV(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | bidirectionalFlowSupported()
a boolean describing whether bi-directional flow generation is supported in an optical flow session. |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV | |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public boolean | costSupported()
a boolean describing whether cost map generation is supported in an optical flow session. |
| protected VkPhysicalDeviceOpticalFlowPropertiesNV | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV | |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV | create(long address)
Returns a new |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV | |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. | |
| public boolean | globalFlowSupported()
a boolean describing whether global flow vector map generation is supported in an optical flow session. |
| public boolean | hintSupported()
a boolean describing whether using hint flow vector map is supported in an optical flow session. |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV | |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public int | maxNumRegionsOfInterest()
the maximum number of regions of interest which can be used in an optical flow session. |
| public int | |
| public int | |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static int | |
| public long | |
| public VkPhysicalDeviceOpticalFlowPropertiesNV | |
| public VkPhysicalDeviceOpticalFlowPropertiesNV | |
| public VkPhysicalDeviceOpticalFlowPropertiesNV | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPhysicalDeviceOpticalFlowPropertiesNV | |
| public VkPhysicalDeviceOpticalFlowPropertiesNV | sType$Default()
Sets the |
| public int | supportedHintGridSizes()
are the supported |
| public int | supportedOutputGridSizes()
are the supported |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BIDIRECTIONALFLOWSUPPORTED | back to summary |
|---|---|
| public static final int BIDIRECTIONALFLOWSUPPORTED The struct member offsets. | |
| COSTSUPPORTED | back to summary |
|---|---|
| public static final int COSTSUPPORTED The struct member offsets. | |
| GLOBALFLOWSUPPORTED | back to summary |
|---|---|
| public static final int GLOBALFLOWSUPPORTED The struct member offsets. | |
| HINTSUPPORTED | back to summary |
|---|---|
| public static final int HINTSUPPORTED The struct member offsets. | |
| MAXHEIGHT | back to summary |
|---|---|
| public static final int MAXHEIGHT The struct member offsets. | |
| MAXNUMREGIONSOFINTEREST | back to summary |
|---|---|
| public static final int MAXNUMREGIONSOFINTEREST The struct member offsets. | |
| MAXWIDTH | back to summary |
|---|---|
| public static final int MAXWIDTH The struct member offsets. | |
| MINHEIGHT | back to summary |
|---|---|
| public static final int MINHEIGHT The struct member offsets. | |
| MINWIDTH | back to summary |
|---|---|
| public static final int MINWIDTH The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| SUPPORTEDHINTGRIDSIZES | back to summary |
|---|---|
| public static final int SUPPORTEDHINTGRIDSIZES The struct member offsets. | |
| SUPPORTEDOUTPUTGRIDSIZES | back to summary |
|---|---|
| public static final int SUPPORTEDOUTPUTGRIDSIZES The struct member offsets. | |
| VkPhysicalDeviceOpticalFlowPropertiesNV | back to summary |
|---|---|
| protected VkPhysicalDeviceOpticalFlowPropertiesNV(long address, ByteBuffer container) | |
| VkPhysicalDeviceOpticalFlowPropertiesNV | back to summary |
|---|---|
| public VkPhysicalDeviceOpticalFlowPropertiesNV(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bidirectionalFlowSupported | back to summary |
|---|---|
| public boolean bidirectionalFlowSupported() a boolean describing whether bi-directional flow generation is supported in an optical flow session.
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. Returns a new
| |
| costSupported | back to summary |
|---|---|
| public boolean costSupported() a boolean describing whether cost map generation is supported in an optical flow session.
| |
| create | back to summary |
|---|---|
| protected VkPhysicalDeviceOpticalFlowPropertiesNV create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. Like
| |
| globalFlowSupported | back to summary |
|---|---|
| public boolean globalFlowSupported() a boolean describing whether global flow vector map generation is supported in an optical flow session.
| |
| hintSupported | back to summary |
|---|---|
| public boolean hintSupported() a boolean describing whether using hint flow vector map is supported in an optical flow session.
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceOpticalFlowPropertiesNV. Returns a new
| |
| maxHeight | back to summary |
|---|---|
| public int maxHeight() the maximum height in pixels for images used in an optical flow session.
| |
| maxNumRegionsOfInterest | back to summary |
|---|---|
| public int maxNumRegionsOfInterest() the maximum number of regions of interest which can be used in an optical flow session. If this
| |
| maxWidth | back to summary |
|---|---|
| public int maxWidth() the maximum width in pixels for images used in an optical flow session.
| |
| minHeight | back to summary |
|---|---|
| public int minHeight() the minimum height in pixels for images used in an optical flow session.
| |
| minWidth | back to summary |
|---|---|
| public int minWidth() the minimum width in pixels for images used in an optical flow session.
| |
| nbidirectionalFlowSupported | back to summary |
|---|---|
| public static int nbidirectionalFlowSupported(long struct) Unsafe version of | |
| ncostSupported | back to summary |
|---|---|
| public static int ncostSupported(long struct) Unsafe version of | |
| nglobalFlowSupported | back to summary |
|---|---|
| public static int nglobalFlowSupported(long struct) Unsafe version of | |
| nhintSupported | back to summary |
|---|---|
| public static int nhintSupported(long struct) Unsafe version of | |
| nmaxHeight | back to summary |
|---|---|
| public static int nmaxHeight(long struct) Unsafe version of | |
| nmaxNumRegionsOfInterest | back to summary |
|---|---|
| public static int nmaxNumRegionsOfInterest(long struct) Unsafe version of | |
| nmaxWidth | back to summary |
|---|---|
| public static int nmaxWidth(long struct) Unsafe version of | |
| nminHeight | back to summary |
|---|---|
| public static int nminHeight(long struct) Unsafe version of | |
| nminWidth | back to summary |
|---|---|
| public static int nminWidth(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| nsupportedHintGridSizes | back to summary |
|---|---|
| public static int nsupportedHintGridSizes(long struct) Unsafe version of | |
| nsupportedOutputGridSizes | back to summary |
|---|---|
| public static int nsupportedOutputGridSizes(long struct) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceOpticalFlowPropertiesNV pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceOpticalFlowPropertiesNV set(int sType, long pNext) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceOpticalFlowPropertiesNV set(VkPhysicalDeviceOpticalFlowPropertiesNV src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceOpticalFlowPropertiesNV sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceOpticalFlowPropertiesNV sType$Default() Sets the | |
| supportedHintGridSizes | back to summary |
|---|---|
| public int supportedHintGridSizes() are the supported
| |
| supportedOutputGridSizes | back to summary |
|---|---|
| public int supportedOutputGridSizes() are the supported
| |
VkPhysicalDeviceOpticalFlowPropertiesNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPhysicalDeviceOpticalFlowPropertiesNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPhysicalDeviceOpticalFlowPropertiesNV ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| bidirectionalFlowSupported | back to summary |
|---|---|
public boolean bidirectionalFlowSupported()
| |
| costSupported | back to summary |
|---|---|
public boolean costSupported()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkPhysicalDeviceOpticalFlowPropertiesNV getElementFactory() Implements abstract org.
| |
| globalFlowSupported | back to summary |
|---|---|
public boolean globalFlowSupported()
| |
| hintSupported | back to summary |
|---|---|
public boolean hintSupported()
| |
| maxHeight | back to summary |
|---|---|
public int maxHeight()
| |
| maxNumRegionsOfInterest | back to summary |
|---|---|
public int maxNumRegionsOfInterest()
| |
| maxWidth | back to summary |
|---|---|
public int maxWidth()
| |
| minHeight | back to summary |
|---|---|
public int minHeight()
| |
| minWidth | back to summary |
|---|---|
public int minWidth()
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceOpticalFlowPropertiesNV. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkPhysicalDeviceOpticalFlowPropertiesNV. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceOpticalFlowPropertiesNV. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceOpticalFlowPropertiesNV. Sets the | |
| supportedHintGridSizes | back to summary |
|---|---|
public int supportedHintGridSizes()
| |
| supportedOutputGridSizes | back to summary |
|---|---|
public int supportedOutputGridSizes()
| |