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:
- Pause the CAPTURE/PREVIEW streams. When a stream is paused, frames are not considered dropped so the frame dropped counter is not incremented.
- Put the still image stream in the run state.
- Take the picture and appends it to its corresponding message queue.
- Put itself in Pause state.
- 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.