[PATCH v3 7/8] gstreamer: Generate the new AEGC controls

Paul Elder paul.elder at ideasonboard.com
Fri Nov 15 14:10:30 CET 2024


On Wed, Nov 13, 2024 at 01:47:23PM -0500, Nicolas Dufresne wrote:
> Hi,
> 
> Le mercredi 13 novembre 2024 à 22:12 +0900, Paul Elder a écrit :
> > Since AeEnable will be replaced with ExposureTimeMode and
> > AnalogueGainMode so that the two can be set between auto/manual
> > independently, update the gstreamer control ids generation to conform
> > with this.
> 
> Thanks for keeping GStreamer up-to-date!
> 
> Just an informative note, this is an API change, in this case we haven't
> released libcamera with ae-enable property yet, so no action needed. A similar
> change in the future would require emulating ae-enable on top of
> ExposureTimeMode, or some clear notice for the next release note.

Noted.

> 
> Reviewed-by: Nicolas Nicolas <nicolas.dufresne at collabora.com>

Thanks!

Paul

> 
> > 
> > Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
> > 
> > ---
> > New in v3
> > ---
> >  utils/codegen/gen-gst-controls.py | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> > 
> > diff --git a/utils/codegen/gen-gst-controls.py b/utils/codegen/gen-gst-controls.py
> > index 2601a67588a3..7dfd6b623b3d 100755
> > --- a/utils/codegen/gen-gst-controls.py
> > +++ b/utils/codegen/gen-gst-controls.py
> > @@ -19,8 +19,9 @@ from controls import Control
> >  
> >  
> >  exposed_controls = [
> > -    'AeEnable', 'AeMeteringMode', 'AeConstraintMode', 'AeExposureMode',
> > -    'ExposureValue', 'ExposureTime', 'AnalogueGain', 'AeFlickerPeriod',
> > +    'AeMeteringMode', 'AeConstraintMode', 'AeExposureMode',
> > +    'ExposureValue', 'ExposureTime', 'ExposureTimeMode',
> > +    'AnalogueGain', 'AnalogueGainMode', 'AeFlickerPeriod',
> >      'Brightness', 'Contrast', 'AwbEnable', 'AwbMode', 'ColourGains',
> >      'Saturation', 'Sharpness', 'ColourCorrectionMatrix', 'ScalerCrop',
> >      'DigitalGain', 'AfMode', 'AfRange', 'AfSpeed', 'AfMetering', 'AfWindows',
> 


More information about the libcamera-devel mailing list