Partager via


Still Image Support in Camera Drivers (Windows Embedded CE 6.0)

1/6/2010

Camera drivers treat still images as a stream type. This stream acts the same as capture and preview. For still image capture, clients must instantiate another pin to allow capture of still images

When a still image needs to be captured the client must put the STILL stream in the run state. The client must then perform the following operations:

  1. Pause the CAPTURE/PREVIEW streams. When a stream is paused, frames are not considered dropped so the frame dropped counter is not incremented.
  2. Put the still image stream in the run state.
  3. Take the picture and appends it to its corresponding message queue.
  4. Put itself in Pause state.
  5. Reset the state of Capture/Preview stream to their previous state

There is a separate message queue to indicate that the buffers in that queue are still image buffers and not preview or capture.

See Also

Concepts

Camera Driver Implementation