[libcamera-devel] How to activate AGC control in libcamera, or set the GAIN/EXPOSURE parameter by v4l2 command.

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Sep 29 01:31:01 CEST 2020


Hello Nomura-san,

On Tue, Sep 29, 2020 at 08:24:33AM +0900, tetsuya.nomura at soho-enterprise.com wrote:
> Dear David-san
> 
> Thank you for your comments.
> As you mentioned, I also think AEC and AGC is the inseparable functions,
> and if AGC is active in dark condition I see the noise is amplified to reach to AGC target.
> However, I don't see the noise increasing, so I estimated the AGC is not working.
> 
> I'll do the experiment with original Raspi camera and report to you.
> 
> And I'll try to capture the JPEG image.
> (I wonder qcam does not support jpeg capture at this moment, right?)

qcam supports JPEG capture when pressing the "Save As" button (or
pressing the Ctrl-Shift-S shortcut), and DNG capture when pressing the
"Save Raw" button. To enable DNG capture, the -s option must be
specified on the command line:

qcam -s role=viewfinder -s role=stillraw

Please note that stillraw will be renamed to raw in the near future,
qcam will then output a message to complain that stillraw isn't known:

Unknown stream role stillraw

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list