Compartilhar via


CSPROPERTY_BUFFER_MODE (Compact 2013)

3/26/2014

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.

Requirements

Header

camera.h

See Also

Reference

Camera Driver Enumerations