thanks guys for the replies! I'm trying to see if in my code is still something wrong... For example, should I set encoder setting after starting the camera? -vesa
On Mon, Mar 7, 2011 at 2:18 AM, Dmytro Poplavskiy < [email protected]> wrote: > On Sun, 6 Mar 2011 08:34:35 pm ext [email protected] wrote: > > Hi, > > > > The focus will be lost when you set image encoder settings. > > If you don't set any settings before you capture the first image the > camera backend internally applies default settings (thus loosing focus). > > The default settings should be applied when camera is starting, I think > it's a bug. > To improve capture latency the backens should do as little work when > capture is called as possible. > > Regards > Dmytro. > > > So it should work with following sequence: > > > > 1.) Set image encoder settings > > > > 2.) Focus (i.e. searchAndLock()) > > > > 3.) Capture image > > > > If this does not work, please file a bug report. > > > > BR, Tuomas > > > > From: qt-mobility-feedback-bounces+tuomas.viitanen=nokia.com@ > qt.nokia.com [mailto:qt-mobility-feedback-bounces+tuomas.viitanen= > [email protected]] On Behalf Of ext Vesa Shmuel Peltonen > > Sent: 4. maaliskuuta 2011 14:05 > > To: [email protected] > > Subject: [Qt-mobility-feedback] Question related to > QCamera::searchAndLock() > > > > Hello, > > > > It seems that the searchAndLock() of QCamera does not work in N8? > > I do get callback that locking was successful, but when I capture image > right after that, it seems that the camera tries to focus again and the > image is blurred. > > Or am I doing something wrong? Is there way to call image capture in such > way that no settings are adjusted? > > > > m_camera->searchAndLock(); > > .... > > > > case QCamera::Locked: > > > > if(reason == QCamera::LockAcquired) > > > > { > > > > m_imageCapture->capture(); > > > > } > > > > > > thanks, > > Vesa > > >
_______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback
