Share via


CSPROPERTY_BUFFER_MODE (Windows Embedded CE 6.0)

1/6/2010

This enumeration provides values that describe buffer management models in the camera driver.

Syntax

typedef enum {
  CSPROPERTY_BUFFER_DRIVER           = 1,
  CSPROPERTY_BUFFER_CLIENT_LIMITED   = 2,
  CSPROPERTY_BUFFER_CLIENT_UNLIMITED = 4
} CSPROPERTY_BUFFER_MODE;

Elements

  • CSPROPERTY_BUFFER_DRIVER
    This value indicates that the camera hardware can only use its own buffers and that the driver cannot use any buffers allocated by the client.
  • CSPROPERTY_BUFFER_CLIENT_LIMITED
    Indicates that the driver's DMA preparation time is slow and that the then the driver needs to know in advance about all of the buffers that it will receive from the client.
  • CSPROPERTY_BUFFER_CLIENT_UNLIMITED
    Indicates that the driver's DMA preparation time is fast and that the client can allocate, initialize, and release buffers as they are needed.

Remarks

For more information on negotiating and allocating buffers, see Buffer Management by the Camera Driver.

Requirements

Header camera.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Camera Driver Enumerations

Concepts

Buffer Management by the Camera Driver