15 #ifndef _NVMEDIA_VCP_H 
   16 #define _NVMEDIA_VCP_H 
   40 #define NVMEDIA_VCP_VERSION_MAJOR   1 
   42 #define NVMEDIA_VCP_VERSION_MINOR   3 
   48 #define NVMEDIA_VIDEO_CAPTURE_TIMEOUT_INFINITE  0xFFFFFFFF 
  220     uint32_t millisecondTimeout,
 
  240     uint32_t millisecondTimeout
 
NvMediaStatus NvMediaVideoCaptureFeedFrame(NvMediaVideoCapture *capture, NvMediaVideoSurface *surface, uint32_t millisecondTimeout)
Adds a video frame to the video capture pool. 
#define NvMediaSurfaceType
Defines the set of NvMedia surface types. 
Interface: CSI, port: AB. 
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE. 
NvMediaStatus NvMediaVideoCaptureGetFrameEx(NvMediaVideoCapture *capture, uint32_t millisecondTimeout, NvMediaVideoSurface **surface)
Gets a captured frame with frame status. 
NvMediaStatus NvMediaVideoCaptureReleaseFrame(NvMediaVideoCapture *capture, NvMediaVideoSurface **surface)
Gets a frame from the internal pool that user fed with NvMediaVideoCaptureFeedFrame after HW gives up...
Interface: CSI, port: GH. 
void NvMediaVideoCaptureDestroy(NvMediaVideoCapture *capture)
Destroyx a video capture created by NvMediaVideoCaptureCreate. 
NvMediaVideoCapture * NvMediaVideoCaptureCreate(NvMediaVideoCaptureSettings *settings)
Creates a capture object used to capture various formats of analog or digital video input...
NvMediaStatus
The set of all possible error codes. 
NvMediaStatus NvMediaVideoCaptureGetVersion(NvMediaVersion *version)
Get the version information for the NvMedia VCP library. 
Interface: CSI, port: CD. 
void NvMediaVideoCaptureStop(NvMediaVideoCapture *capture)
Stops a video capture. 
NvMediaVideoCaptureInterfaceType
Determines the video capture interface type for CSI interface. 
NvMediaStatus NvMediaVideoCaptureGetExtraLines(NvMediaVideoCapture *capture, NvMediaVideoSurface *surface, void *extraBuf, NvMediaRect *srcRect)
Return extra lines data stored in a captured surface. 
NvMediaVideoCaptureInputFormatType
Determines the video capture input format type. 
Interface: CSI, port: EF.