DRC Camera API Functions

Function Description
CAM_STATE Enumerates all of the possible camera states.
CAMCheckMemSegmentation Verifies that the memory allocated by the caller meets the 256 MB hardware limitation. This limitation applies only to the work memory and target decode surface memory.
CAMClose Stops streaming video frames from the DRC camera. All the underlying drivers go to a quiescent state, and the target surfaces are not touched.
CAMEventHandler Callback function that the camera library uses to tell the application that an event occurred.
CAMExit Disables the video decode hardware (UVD) and frees all of the driver resources.
CAMGetMemReq Utility that queries the camera library for the size of memory required to stream video frames from the DRC camera.
CAMGetState Gets the value of the camera state.
CAMGetStateInfo Populates the CAMStateInfo structure for the desired camera state.
CAMHandle A handle that is issued by the camera driver during initialization of the DRC device. It is used to reference that device in camera library function calls.
CAMInit Validates the given parameters, and then initializes the driver stack and video decode hardware (UVD).
CAMMode Stores camera mode settings.
CAMOpen Starts streaming compressed video frames from the selected DRC camera. Streaming continues until CAMClose is called.
CAMSetState Sets the value of a camera state. CAMSetState does not support all camera states.
CAMSetupInfo Stores all information necessary to initialize the camera library.
CAMStreamInfo Encapsulates camera stream key properties, such as height and width of the frames.
CAMSubmitTargetSurface Submits a decode target surface to the camera driver. The driver adds the surface to an internal FIFO, and the call returns without further processing.
CAMSurface Stores information about the decode target surface.
CAMWorkMem Encapsulates the working memory the camera library requires.

Revision History

2013/05/08 Automated cleanup pass.
2013/04/24 Initial version


CONFIDENTIAL