NVIDIA DRIVE OS Linux SDK API Reference

5.1.6.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvmedia_vcp.h File Reference

Detailed Description

NVIDIA Media Interface: Video Capture Processing

This file contains the Video Capture Processing API.

Definition in file nvmedia_vcp.h.

Go to the source code of this file.

Data Structures

struct  NvMediaVideoCaptureSettings
 Video capture settings for CSI format. More...
 
struct  NvMediaVideoCapture
 Video capture object created by NvMediaVideoCaptureCreate. More...
 

Macros

#define NVMEDIA_VCP_VERSION_MAJOR   1
 Major Version number. More...
 
#define NVMEDIA_VCP_VERSION_MINOR   5
 Minor Version number. More...
 
#define NVMEDIA_VIDEO_CAPTURE_TIMEOUT_INFINITE
 Infinite time-out for NvMediaVideoCaptureGetFrameEx. More...
 
#define NVMEDIA_MAX_VCP_FRAME_BUFFERS
 Maximum number of capture buffers. More...
 

Enumerations

enum  NvMediaVideoCaptureInterfaceType {
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_A,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_B,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_AB,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_C,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_D,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_CD,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_E,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_F,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_EF,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_G,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_H,
  NVMEDIA_VIDEO_CAPTURE_CSI_INTERFACE_TYPE_CSI_GH
}
 Determines the video capture interface type for CSI interface. More...
 
enum  NvMediaVideoCaptureInputFormatType {
  NVMEDIA_VIDEO_CAPTURE_INPUT_FORMAT_TYPE_YUV422,
  NVMEDIA_VIDEO_CAPTURE_INPUT_FORMAT_TYPE_YUV444,
  NVMEDIA_VIDEO_CAPTURE_INPUT_FORMAT_TYPE_RGB888
}
 Determines the video capture input format type. More...
 

Functions

NvMediaStatus NvMediaVideoCaptureGetVersion (NvMediaVersion *version)
 Get the version information for the NvMedia VCP library. More...
 
NvMediaVideoCaptureNvMediaVideoCaptureCreate (NvMediaVideoCaptureSettings *settings)
 Creates a capture object used to capture various formats of analog or digital video input. More...
 
void NvMediaVideoCaptureDestroy (NvMediaVideoCapture *capture)
 Destroyx a video capture created by NvMediaVideoCaptureCreate. More...
 
void NvMediaVideoCaptureStop (NvMediaVideoCapture *capture)
 Stops a video capture. More...
 
NvMediaStatus NvMediaVideoCaptureGetFrameEx (NvMediaVideoCapture *capture, uint32_t millisecondTimeout, NvMediaVideoSurface **surface)
 Gets a captured frame with frame status. More...
 
NvMediaStatus NvMediaVideoCaptureFeedFrame (NvMediaVideoCapture *capture, NvMediaVideoSurface *surface, uint32_t millisecondTimeout)
 Adds a video frame to the video capture pool. More...
 
NvMediaStatus NvMediaVideoCaptureReleaseFrame (NvMediaVideoCapture *capture, NvMediaVideoSurface **surface)
 Gets a frame from the internal pool that user fed with NvMediaVideoCaptureFeedFrame after HW gives up to capture. More...
 
NvMediaStatus NvMediaVideoCaptureGetExtraLines (NvMediaVideoCapture *capture, NvMediaVideoSurface *surface, void *extraBuf, NvMediaRect *srcRect)
 Return extra lines data stored in a captured surface. More...