| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static ByteBuffer | |
| public static boolean | Returns: true if the binding was successfulthe video slot video_slot, long the video capture device device)After successfully locking a video capture device, use this method to bind it to the capture slot specified in the current context. |
| public static int | Returns: the number of available video capture devicesthe buffer to store devices in devices)Enumerate the available video capture devices. |
| public static boolean | Returns: true if the lock was successfulthe device to lock device)To lock a video capture device to a display connection, use this method. |
| public static boolean | Returns: true if the query was successfulthe device device, int the attribute to query attribute, IntBuffer the buffer to store the value in value)Use this method to query the unique ID of the physical device backing a video capture device handle. |
| public static boolean | Returns: true if the device was unlocked successfullythe device device)Use this method when finished capturing data on a locked video capture device to unlock it. |
| private static native boolean | |
| private static native int | |
| private static native boolean | |
| private static native boolean | nglQueryVideoCaptureDeviceNV(ByteBuffer peer_info, long device, int attribute, IntBuffer value, int value_position)
|
| private static native boolean |
| NVVideoCaptureUtil | back to summary |
|---|---|
| private NVVideoCaptureUtil() | |
| checkExtension | back to summary |
|---|---|
| private static void checkExtension() | |
| getPeerInfo | back to summary |
|---|---|
| private static ByteBuffer getPeerInfo() | |
| glBindVideoCaptureDeviceNV | back to summary |
|---|---|
| public static boolean glBindVideoCaptureDeviceNV(int video_slot, long device) After successfully locking a video capture device, use this method to bind it to the capture slot specified in the current context. This method is the cross- platform equivalent of glXBindVideoCaptureDeviceNV and wglBindVideoCaptureDeviceNV.
| |
| glEnumerateVideoCaptureDevicesNV | back to summary |
|---|---|
| public static int glEnumerateVideoCaptureDevicesNV(LongBuffer devices) Enumerate the available video capture devices. This method is the cross-platform equivalent of glXEnumerateVideoCaptureDevicesNV and wglEnumerateVideoCaptureDevicesNV. Since they are not really compatible, this method works like the WGL version. That is, you first call it with a null devices buffer, get the number of devices, then call it again with an appropriately sized buffer.
| |
| glLockVideoCaptureDeviceNV | back to summary |
|---|---|
| public static boolean glLockVideoCaptureDeviceNV(long device) To lock a video capture device to a display connection, use this method. Before using a video capture device, it must be locked. Once a video capture device is locked by a process, no other process can lock a video capture device with the same unique ID until the lock is released or the process ends.
| |
| glQueryVideoCaptureDeviceNV | back to summary |
|---|---|
| public static boolean glQueryVideoCaptureDeviceNV(long device, int attribute, IntBuffer value) Use this method to query the unique ID of the physical device backing a video capture device handle.
| |
| glReleaseVideoCaptureDeviceNV | back to summary |
|---|---|
| public static boolean glReleaseVideoCaptureDeviceNV(long device) Use this method when finished capturing data on a locked video capture device to unlock it.
| |
| nglBindVideoCaptureDeviceNV | back to summary |
|---|---|
| private static native boolean nglBindVideoCaptureDeviceNV(ByteBuffer peer_info, int video_slot, long device) | |
| nglEnumerateVideoCaptureDevicesNV | back to summary |
|---|---|
| private static native int nglEnumerateVideoCaptureDevicesNV(ByteBuffer peer_info, LongBuffer devices, int devices_position) | |
| nglLockVideoCaptureDeviceNV | back to summary |
|---|---|
| private static native boolean nglLockVideoCaptureDeviceNV(ByteBuffer peer_info, long device) | |
| nglQueryVideoCaptureDeviceNV | back to summary |
|---|---|
| private static native boolean nglQueryVideoCaptureDeviceNV(ByteBuffer peer_info, long device, int attribute, IntBuffer value, int value_position) | |
| nglReleaseVideoCaptureDeviceNV | back to summary |
|---|---|
| private static native boolean nglReleaseVideoCaptureDeviceNV(ByteBuffer peer_info, long device) | |