> At 03:55 PM 5/25/2004, you wrote: > ><Quote from "CameraManager_APIGuide.pdf"> > > > >kCamLibCtrlPreviewStop > >Stops the camera preview mode for images. Does not erase the preview > >rectangle content. > > > ><End Quote> > > > >On the Zire71, when I stop the preview using kCamLibCtrlPreviewStop, the > >last viewed image stays on the screen. > >On the Zire 72, the preview area is ereased (becomes white). > > > >Anyone noticed that??? > > The Zire 72 uses an overlay mechanism to directly map memory filled by the > camera sensor over part of the screen -- the LCD controller can fetch a > rectangle of the screen from a different part of memory, avoiding the need > to double-buffering. When the camera is disabled, this overlay is turned > off, and you're left with what was under the overlay to start.
This is yet another example of different behaviour between the Z72 device and the Z72 Simulator (to go along with the image pixel byte swapping problem). On the Z72Sim, the preview image is left on the screen like with the Z71 device and sim. Further, with the Z71, the call to kCamLibCtrlCapture would automatically stop the preview if it was active, but not so on the Z72 -- the preview will keep going during the capture unless you explicitly stop it. Oh well, it could be worse. At least the majority of CameraLib functions are compatible between the Z71 and Z72. David Thacker PalmOS Certified Developer http://www.palmdatapro.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
