Camera PDD Methods (Compact 2013)
3/26/2014
The following table shows the methods used in the Camera Platform Dependent Driver Layer.
Method |
Description |
---|---|
PDD_AllocateBuffer is called when the MDD interface wants PDD interface to allocate mode specific buffers. |
|
PDD_DeAllocateBuffer is called when the MDD interface wants PDD interface to de-allocate its mode specific buffer. |
|
PDD_DeInit is called when the driver is being unloaded. At this point the PDD layer should free up any remaining resources. |
|
PDD_DeInitSensorMode is called when the MDD layer wants the PDD layer to de-allocate all the resources related to a given mode ulModeType. |
|
PDD_FillBuffer is called by the MDD to transfer or DMA data to the buffer. |
|
PDD_GetAdapterInfo is called at initialization time to get information about the Adapter. |
|
PDD_GetSensorModeInfo returns sensor mode specific information such as memory model, maximum number of buffers, video control caps information and current video format specific to the given mode. |
|
PDD_HandleAdapterCustomProperties handles adapter level properties that custom or proprietary, and are not common to all the sensor modes. |
|
PDD_HandleCamControlChanges handles PROPSETID_VIDCAP_CAMERACONTROL property changes. |
|
PDD_HandleModeCustomProperties handles sensor mode specific custom or proprietary properties. |
|
PDD_HandleVidProcAmpChanges handles CSPROPERTY_VIDCAP_VIDEOPROCAMP specific property changes. |
|
PDD_HandleVideoControlCapsChanges handles CSPROPERTY_VIDCAP_VIDEOCONTROL specific property changes. |
|
PDD_Init is called when the driver is first loaded. Use this method to initialize the general capabilities of the driver, such as the number of sensor modes, the formats supported by each mode, and device power management. |
|
PDD_InitSensorMod is called when the MDD layer wants the PDD layer to allocate all the resources related to a given mode ulModeType. |
|
PDD_RegisterClientBuffer is called by the MDD layer to give the PDD layer pointers to buffers allocated by the DirectShow application. |
|
PDD_SetPowerState is called when IOCTL_POWER_SET is received by the MDD layer. |
|
PDD_SetSensorModeFormat is called to set the format of a particular sensor mode such as ulModeType. |
|
PDD_SetSensorState sets the sensor state. This method is called in response to a CSPROPERTY_CONNECTION_STATE request. |
|
PDD_TakeStillPicture is called to take a still picture. |
|
PDD_UnRegisterClientBuffer is called by the MDD interface to tell the PDD interface that the particular pointer is no longer available. |