Hi, It should work with AutoFocus mode if it works with ContinuousFocus. I also tried here and AutoFocus worked with the pre-built QtM 1.1.1 SIS file.
Are you at least loading the camera before setting the settings/focus mode? Unfortunately the Symbian backend does not handle all possible cases too well yet (e.g. setting things in unloaded state). But we'll improve that for the QtM 1.2 if time allows. It's possible to get portrait mode viewfinder (using video mode), but it's not possible to capture portrait images. (e.g. portrait full-screen viewfinder by setting 368x640 video resolution in video mode) The camera orientation follows the application orientation, so it's not possible to set that explicitly to different orientation than UI. (and captured images would not be correctly rotated anyway if it was possible) BR, Tuomas From: ext Vesa Shmuel Peltonen [mailto:[email protected]]<mailto:[mailto:[email protected]]> Sent: 09.03.2011 16:53 To: Poplavskiy Dmytro (Nokia-MS/Brisbane) Cc: [email protected]<mailto:[email protected]>; Viitanen Tuomas (Nokia-MS/Tampere) Subject: Re: [Qt-mobility-feedback] Question related to QCamera::searchAndLock() Hello Tuomas, others, I was able to lock the focus using QCameraFocus::ContinuousFocus mode. It didn't work with AutoFocus mode. Another question related to QCamera: Is there a way to configure the camera/viewfinder so that I'll get portrait (3:4) viewfinder/images instead of landscape (4:3), without changing the application orientation? I.e My application is locked to portrait mode and I would like to have the viewfinder to behave like the application "was" in landscape mode. Somehow to force the camera to change the orientation... Thanks, Vesa On Mon, Mar 7, 2011 at 9:27 AM, Vesa Shmuel Peltonen <[email protected]<mailto:[email protected]>> wrote: 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]<mailto:[email protected]>> wrote: On Sun, 6 Mar 2011 08:34:35 pm ext [email protected]<mailto:[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<http://nokia.com>@qt.nokia.com<http://qt.nokia.com> > > [mailto:qt-mobility-feedback-bounces+tuomas.viitanen<mailto:qt-mobility-feedback-bounces%2Btuomas.viitanen>=nokia.com<http://nokia.com>@qt.nokia.com<http://qt.nokia.com>] > On Behalf Of ext Vesa Shmuel Peltonen > Sent: 4. maaliskuuta 2011 14:05 > To: > [email protected]<mailto:[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
