×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    445

    Set camera focus region or focal length

    Hi,

    The native N9 camera app supports manual focus (touch focus). Are there means to use manual focus in our own apps? I already checked the gstreamer videosrc code but there I could find only code for autofocusing.

    Regards,

  2. #2
    Registered User
    Join Date
    Jul 2008
    Posts
    90

    Re: Set camera focus region or focal length

    It is not "manual focus" in the sense that the term is used -- the ability to set focus distance. It is autofocus where you can freely set the focus point.

    Not that this is a Qt forum, your question about gstreamer is obviously off topic.

    But in Qt you do this way:

    You get a pointer to the camera's fccus object (QCameraFocus *focus), set the focus mode (focus->setFocusPointMode(QCameraFocus::FocusPointCustom)) and set the focus point to where you wish.

Similar Threads

  1. Replies: 4
    Last Post: 2010-12-23, 16:35
  2. Camera control and Focus
    By KevinBoyd in forum Open C/C++
    Replies: 4
    Last Post: 2009-12-13, 09:08
  3. Focus range for camera in S60 5.0
    By rayabhik in forum Series 40 & S60 Platform Feedback Archive
    Replies: 1
    Last Post: 2009-07-23, 12:51
  4. Disable Camera Focus
    By rajata in forum Symbian
    Replies: 4
    Last Post: 2007-08-27, 13:21
  5. CCameraAdvancedSettings for S60 or how to focus camera
    By SamoylovBoris in forum Symbian Media (Closed)
    Replies: 8
    Last Post: 2007-05-07, 06:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •