[gstreamer-bugs] [Bug 622482] photography iface review

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 14 06:49:30 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=622482
  GStreamer | gst-plugins-bad | unspecified

--- Comment #3 from Lasse Laukkanen <ext-lasse.2.laukkanen at nokia.com> 2010-10-14 13:49:23 UTC ---
Created an attachment (id=172352)
 View: https://bugzilla.gnome.org/attachment.cgi?id=172352
 Review: https://bugzilla.gnome.org/review?bug=622482&attachment=172352

0002-photography-Add-manual-control-of-exposure-focus-and.patch

Add new interface properties and mode for better manual control of exposure,
focus and white balance, proposed updates are summarized below. Also, how about
deprecating gst_photography_get/set_* functions and having only respective
interface properties?


White-balance:
        new wb mode option GST_PHOTOGRAPHY_WB_MODE_MANUAL

        new interface proprety
        "white-balance", integer type for manual setting/getting of white
         balance as color temperature in Kelvin units(?)
        FIXME: to be checked if the unit is valid/sufficient

        So if GST_PHOTOGRAPHY_WB_MODE_MANUAL is set then automatic white
        balance is disabled and current value should remain. Application can
        query current or set new value. 

Exposure:
        new mode "exposure-mode":
            GST_PHOTOGRAPHY_EXPOSURE_MODE_AUTO = 0,
            GST_PHOTOGRAPHY_EXPOSURE_MODE_MANUAL

        change property name:
        "exposure" -> "exposure-time"

        new interface properties:
        "analog-gain", analog gain applied to the sensor
        "min-exposure-time", for setting exposure time limit to autoexposure
        "max-exposure-time", for setting exposure time limit to autoexposure

        Again, setting GST_PHOTOGRAPHY_EXPOSURE_MODE_MANUAL will turn
        autoexposure off, current exposure remains and exposure settings can
        be controlled using interface properties.

Focusing:
        new focus mode option GST_PHOTOGRAPHY_FOCUS_MODE_MANUAL

        new interface property for setting/getting current focus value:
        "lens-focus" float type, lens distance from image plane in millimeter
         units

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list