Crate nvfbc_sys

Crate nvfbc_sys 

Source

Structs§

NVFBC_API_FUNCTION_LIST
\ingroup FBC_STRUCT
_NVFBC_BIND_CONTEXT_PARAMS
Defines parameters for the ::NvFBCBindContext() API call.
_NVFBC_BOX
Box used to describe an area of the tracked region to capture.
_NVFBC_CREATE_CAPTURE_SESSION_PARAMS
Defines parameters for the ::NvFBCCreateCaptureSession() API call.
_NVFBC_CREATE_HANDLE_PARAMS
Defines parameters for the CreateHandle() API call.
_NVFBC_DESTROY_CAPTURE_SESSION_PARAMS
Defines parameters for the ::NvFBCDestroyCaptureSession() API call.
_NVFBC_DESTROY_HANDLE_PARAMS
Defines parameters for the ::NvFBCDestroyHandle() API call.
_NVFBC_FRAME_GRAB_INFO
Describes information about a captured frame.
_NVFBC_GET_STATUS_PARAMS
Defines parameters for the ::NvFBCGetStatus() API call.
_NVFBC_OUTPUT
Describes an RandR output.
_NVFBC_RELEASE_CONTEXT_PARAMS
Defines parameters for the ::NvFBCReleaseContext() API call.
_NVFBC_SIZE
Size used to describe the size of a frame.
_NVFBC_TOCUDA_GRAB_FRAME_PARAMS
Defines parameters for the ::NvFBCToCudaGrabFrame() API call.
_NVFBC_TOCUDA_SETUP_PARAMS
Defines parameters for the ::NvFBCToCudaSetUp() API call.
_NVFBC_TOGL_GRAB_FRAME_PARAMS
Defines parameters for the ::NvFBCToGLGrabFrame() API call.
_NVFBC_TOGL_SETUP_PARAMS
Defines parameters for the ::NvFBCToGLSetUp() API call.
_NVFBC_TOSYS_GRAB_FRAME_PARAMS
Defines parameters for the ::NvFBCToSysGrabFrame() API call.
_NVFBC_TOSYS_SETUP_PARAMS
Defines parameters for the ::NvFBCToSysSetUp() API call.
__fsid_t

Constants§

INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
NVFBC_BIND_CONTEXT_PARAMS_VER
NVFBC_CREATE_CAPTURE_SESSION_PARAMS_VER
NVFBC_CREATE_HANDLE_PARAMS_VER
NVFBC_DESTROY_CAPTURE_SESSION_PARAMS_VER
NVFBC_DESTROY_HANDLE_PARAMS_VER
NVFBC_ERR_STR_LEN
NVFBC_GET_STATUS_PARAMS_VER
NVFBC_OUTPUT_MAX
NVFBC_OUTPUT_NAME_LEN
NVFBC_RELEASE_CONTEXT_PARAMS_VER
NVFBC_TOCUDA_FLAGS_NVFBC_TOCUDA_GRAB_FLAGS_FORCE_REFRESH
[in] Forces the destination buffer to be refreshed even if the frame has not changed since previous capture.
NVFBC_TOCUDA_FLAGS_NVFBC_TOCUDA_GRAB_FLAGS_NOFLAGS
Default, capturing waits for a new frame or mouse move.
NVFBC_TOCUDA_FLAGS_NVFBC_TOCUDA_GRAB_FLAGS_NOWAIT
Capturing does not wait for a new frame nor a mouse move.
NVFBC_TOCUDA_FLAGS_NVFBC_TOCUDA_GRAB_FLAGS_NOWAIT_IF_NEW_FRAME_READY
Similar to NVFBC_TOCUDA_GRAB_FLAGS_NOFLAGS, except that the capture will not wait if there is already a frame available that the client has never seen yet.
NVFBC_TOCUDA_GRAB_FRAME_PARAMS_VER
NVFBC_TOCUDA_SETUP_PARAMS_VER
NVFBC_TOGL_FLAGS_NVFBC_TOGL_GRAB_FLAGS_FORCE_REFRESH
[in] Forces the destination buffer to be refreshed even if the frame has not changed since previous capture.
NVFBC_TOGL_FLAGS_NVFBC_TOGL_GRAB_FLAGS_NOFLAGS
Default, capturing waits for a new frame or mouse move.
NVFBC_TOGL_FLAGS_NVFBC_TOGL_GRAB_FLAGS_NOWAIT
Capturing does not wait for a new frame nor a mouse move.
NVFBC_TOGL_FLAGS_NVFBC_TOGL_GRAB_FLAGS_NOWAIT_IF_NEW_FRAME_READY
Similar to NVFBC_TOGL_GRAB_FLAGS_NOFLAGS, except that the capture will not wait if there is already a frame available that the client has never seen yet.
NVFBC_TOGL_GRAB_FRAME_PARAMS_VER
NVFBC_TOGL_SETUP_PARAMS_VER
NVFBC_TOGL_TEXTURES_MAX
NVFBC_TOSYS_GRAB_FLAGS_NVFBC_TOSYS_GRAB_FLAGS_FORCE_REFRESH
Forces the destination buffer to be refreshed even if the frame has not changed since previous capture.
NVFBC_TOSYS_GRAB_FLAGS_NVFBC_TOSYS_GRAB_FLAGS_NOFLAGS
Default, capturing waits for a new frame or mouse move.
NVFBC_TOSYS_GRAB_FLAGS_NVFBC_TOSYS_GRAB_FLAGS_NOWAIT
Capturing does not wait for a new frame nor a mouse move.
NVFBC_TOSYS_GRAB_FLAGS_NVFBC_TOSYS_GRAB_FLAGS_NOWAIT_IF_NEW_FRAME_READY
Similar to NVFBC_TOSYS_GRAB_FLAGS_NOFLAGS, except that the capture will not wait if there is already a frame available that the client has never seen yet.
NVFBC_TOSYS_GRAB_FRAME_PARAMS_VER
NVFBC_TOSYS_SETUP_PARAMS_VER
NVFBC_TRACKING_TYPE_NVFBC_TRACKING_DEFAULT
By default, NvFBC tries to track a connected primary output. If none is found, then it tries to track the first connected output. If none is found then it tracks the entire X screen.
NVFBC_TRACKING_TYPE_NVFBC_TRACKING_OUTPUT
Track an RandR output specified by its ID in the appropriate field.
NVFBC_TRACKING_TYPE_NVFBC_TRACKING_SCREEN
Track the entire X screen.
NVFBC_VERSION
NVFBC_VERSION_MAJOR
NVFBC_VERSION_MINOR
PTRDIFF_MAX
PTRDIFF_MIN
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
WINT_MAX
WINT_MIN
_ATFILE_SOURCE
_BITS_STDINT_INTN_H
_BITS_STDINT_UINTN_H
_BITS_TIME64_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_FEATURES_H
_NVFBCSTATUS_NVFBC_ERR_API_VERSION
This indicates that the API version between the client and the library is not compatible.
_NVFBCSTATUS_NVFBC_ERR_BAD_REQUEST
This indicates that the API call was not expected. This happens when API calls are performed in a wrong order, such as trying to capture a frame prior to creating a new capture session; or trying to set up a capture to video memory although a capture session to system memory was created.
_NVFBCSTATUS_NVFBC_ERR_CONTEXT
This indicates an NvFBC context error.
_NVFBCSTATUS_NVFBC_ERR_CUDA
This indicates a CUDA error.
_NVFBCSTATUS_NVFBC_ERR_ENCODER
This indicates a HW encoder error.
_NVFBCSTATUS_NVFBC_ERR_GL
This indicates an OpenGL error.
_NVFBCSTATUS_NVFBC_ERR_GLX
This indicates a GLX error.
_NVFBCSTATUS_NVFBC_ERR_INTERNAL
An internal error occurred.
_NVFBCSTATUS_NVFBC_ERR_INVALID_HANDLE
This indicates that the handle passed to the API call to identify the client is invalid.
_NVFBCSTATUS_NVFBC_ERR_INVALID_PARAM
This indicates that one or more of the parameter passed to the API call is invalid.
_NVFBCSTATUS_NVFBC_ERR_INVALID_PTR
This indicates that one or more of the pointers passed to the API call is invalid.
_NVFBCSTATUS_NVFBC_ERR_MAX_CLIENTS
This indicates that the maximum number of threaded clients of the same process has been reached. The limit is 10 threads per process. There is no limit on the number of process.
_NVFBCSTATUS_NVFBC_ERR_MUST_RECREATE
This indicates that the application must recreate the capture session.
_NVFBCSTATUS_NVFBC_ERR_OUT_OF_MEMORY
This indicates that the API call failed because it was unable to allocate enough memory to perform the requested operation.
_NVFBCSTATUS_NVFBC_ERR_UNSUPPORTED
This indicates that the requested feature is not currently supported by the library.
_NVFBCSTATUS_NVFBC_ERR_VULKAN
This indicates a Vulkan error.
_NVFBCSTATUS_NVFBC_ERR_X
This indicates an X error, most likely meaning that the X server has been terminated. When this error is returned, the only resort is to create another FBC handle using NvFBCCreateHandle().
_NVFBCSTATUS_NVFBC_SUCCESS
This indicates that the API call returned with no errors.
_NVFBC_BOOL_NVFBC_FALSE
False value.
_NVFBC_BOOL_NVFBC_TRUE
True value.
_NVFBC_BUFFER_FORMAT_NVFBC_BUFFER_FORMAT_ARGB
Data will be converted to ARGB8888 byte-order format. 32 bpp.
_NVFBC_BUFFER_FORMAT_NVFBC_BUFFER_FORMAT_BGRA
Native format. No pixel conversion needed. BGRA8888 byte-order format. 32 bpp.
_NVFBC_BUFFER_FORMAT_NVFBC_BUFFER_FORMAT_NV12
Data will be converted to NV12 format using HDTV weights according to ITU-R BT.709. 12 bpp.
_NVFBC_BUFFER_FORMAT_NVFBC_BUFFER_FORMAT_RGB
Data will be converted to RGB888 byte-order format. 24 bpp.
_NVFBC_BUFFER_FORMAT_NVFBC_BUFFER_FORMAT_RGBA
Data will be converted to RGBA8888 byte-order format. 32 bpp.
_NVFBC_BUFFER_FORMAT_NVFBC_BUFFER_FORMAT_YUV444P
Data will be converted to YUV 444 planar format using HDTV weights according to ITU-R BT.709. 24 bpp
_NVFBC_CAPTURE_TYPE_NVFBC_CAPTURE_SHARED_CUDA
Capture frames to a CUDA device in video memory.
_NVFBC_CAPTURE_TYPE_NVFBC_CAPTURE_TO_GL
Capture frames to an OpenGL buffer in video memory.
_NVFBC_CAPTURE_TYPE_NVFBC_CAPTURE_TO_SYS
Capture frames to a buffer in system memory.
_POSIX_C_SOURCE
_POSIX_SOURCE
_STDC_PREDEF_H
_STDINT_H
_SYS_CDEFS_H
__FD_SETSIZE
__GLIBC_MINOR__
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_DEPRECATED_SCANF
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_BFP_EXT_C2X
__GLIBC_USE_IEC_60559_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_ISOC2X
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNU_LIBRARY__
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64
__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI
__OFF_T_MATCHES_OFF64_T
__RLIM_T_MATCHES_RLIM64_T
__STATFS_MATCHES_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_IEC_60559_BFP__
__STDC_IEC_60559_COMPLEX__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__glibc_c99_flexarr_available

Functions§

NvFBCBindContext
\brief Binds the FBC context to the calling thread.
NvFBCCreateCaptureSession
\brief Creates a capture session for an FBC client.
NvFBCCreateHandle
\brief Allocates a new handle for an NvFBC client.
NvFBCCreateInstance
\ingroup FBC_FUNC
NvFBCDestroyCaptureSession
\brief Destroys a capture session for an FBC client.
NvFBCDestroyHandle
\brief Destroys the handle of an NvFBC client.
NvFBCGetLastErrorStr
Gets the last error message that got recorded for a client.
NvFBCGetStatus
\brief Gets the current status of the display driver.
NvFBCReleaseContext
\brief Releases the FBC context from the calling thread.
NvFBCToCudaGrabFrame
\brief Captures a frame to a CUDA device in video memory.
NvFBCToCudaSetUp
\brief Sets up a capture to video memory session.
NvFBCToGLGrabFrame
\brief Captures a frame to an OpenGL buffer in video memory.
NvFBCToGLSetUp
\brief Sets up a capture to OpenGL buffer in video memory session.
NvFBCToSysGrabFrame
\brief Captures a frame to a buffer in system memory.
NvFBCToSysSetUp
\brief Sets up a capture to system memory session.
nvfbc_struct_version

Type Aliases§

NVFBCSTATUS
Defines error codes.
NVFBC_BIND_CONTEXT_PARAMS
Defines parameters for the ::NvFBCBindContext() API call.
NVFBC_BOOL
Defines boolean values. Defines boolean values.
NVFBC_BOX
Box used to describe an area of the tracked region to capture.
NVFBC_BUFFER_FORMAT
Buffer format. Buffer format.
NVFBC_CAPTURE_TYPE
Capture type. Capture type.
NVFBC_CREATE_CAPTURE_SESSION_PARAMS
Defines parameters for the ::NvFBCCreateCaptureSession() API call.
NVFBC_CREATE_HANDLE_PARAMS
Defines parameters for the CreateHandle() API call.
NVFBC_DESTROY_CAPTURE_SESSION_PARAMS
Defines parameters for the ::NvFBCDestroyCaptureSession() API call.
NVFBC_DESTROY_HANDLE_PARAMS
Defines parameters for the ::NvFBCDestroyHandle() API call.
NVFBC_FRAME_GRAB_INFO
Describes information about a captured frame.
NVFBC_GET_STATUS_PARAMS
Defines parameters for the ::NvFBCGetStatus() API call.
NVFBC_RANDR_OUTPUT_INFO
Describes an RandR output.
NVFBC_RELEASE_CONTEXT_PARAMS
Defines parameters for the ::NvFBCReleaseContext() API call.
NVFBC_SESSION_HANDLE
Handle used to identify an NvFBC session.
NVFBC_SIZE
Size used to describe the size of a frame.
NVFBC_TOCUDA_FLAGS
Defines flags that can be used when capturing to a CUDA buffer in video memory.
NVFBC_TOCUDA_GRAB_FRAME_PARAMS
Defines parameters for the ::NvFBCToCudaGrabFrame() API call.
NVFBC_TOCUDA_SETUP_PARAMS
Defines parameters for the ::NvFBCToCudaSetUp() API call.
NVFBC_TOGL_FLAGS
Defines flags that can be used when capturing to an OpenGL buffer in video memory.
NVFBC_TOGL_GRAB_FRAME_PARAMS
Defines parameters for the ::NvFBCToGLGrabFrame() API call.
NVFBC_TOGL_SETUP_PARAMS
Defines parameters for the ::NvFBCToGLSetUp() API call.
NVFBC_TOSYS_GRAB_FLAGS
Defines flags that can be used when capturing to system memory.
NVFBC_TOSYS_GRAB_FRAME_PARAMS
Defines parameters for the ::NvFBCToSysGrabFrame() API call.
NVFBC_TOSYS_SETUP_PARAMS
Defines parameters for the ::NvFBCToSysSetUp() API call.
NVFBC_TRACKING_TYPE
Tracking type.
PNVFBCBINDCONTEXT
PNVFBCCREATECAPTURESESSION
PNVFBCCREATEHANDLE
PNVFBCCREATEINSTANCE
\ingroup FBC_FUNC
PNVFBCDESTROYCAPTURESESSION
PNVFBCDESTROYHANDLE
PNVFBCGETLASTERRORSTR
\cond FBC_PFN
PNVFBCGETSTATUS
PNVFBCRELEASECONTEXT
PNVFBCTOCUDAGRABFRAME
PNVFBCTOCUDASETUP
PNVFBCTOGLGRABFRAME
PNVFBCTOGLSETUP
PNVFBCTOSYSGRABFRAME
PNVFBCTOSYSSETUP
_NVFBCSTATUS
Defines error codes.
_NVFBC_BOOL
Defines boolean values.
_NVFBC_BUFFER_FORMAT
Buffer format.
_NVFBC_CAPTURE_TYPE
Capture type.
__blkcnt64_t
__blkcnt_t
__blksize_t
__caddr_t
__clock_t
__clockid_t
__daddr_t
__dev_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds64_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t