Share via


PDD_FillBuffer (Compact 2013)

3/26/2014

PDD_FillBuffer is called by the MDD to transfer or DMA data to the buffer.

Syntax

DWORD PDD_FillBuffer( 
  LPVOID PDDContext, 
  ULONG ulModeType, 
  PUCHAR pImage 
);

Parameters

  • PDDContext
    [in] This is the return value of PDD_Init.
  • ulModeType
    [in] There are three modes supported, i.e., CAPTURE, PREVIEW and STILL
  • pImage
    [in] Pointer to the buffer that needs to be filled by the PDD.

Return Value

PDD specific. ERROR_SUCCESS represents success. Any other value will be treated as error.

Remarks

When the PDD layer receives an interrupt for sensor data availability, it calls the MDD_HandleIO method implemented by the MDD layer. MDD_HandleIO is used internally to call PDD_FillBuffer to let the PDD layer transfer or DMA data to the buffer.

Requirements

Header

Developer Implemented

Library

Developer Implemented

See Also

Reference

Camera PDD Methods