All of lore.kernel.org
 help / color / mirror / Atom feed
* Intel IPU3: can't retrieve 3A Auto Exposure (AE) statistics
@ 2020-11-30 15:23 Jean-Michel Hautbois
  2020-12-01 13:47 ` Jean-Michel Hautbois
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Michel Hautbois @ 2020-11-30 15:23 UTC (permalink / raw)
  To: sakari.ailus; +Cc: linux-media, libcamera-devel

Hi Sakari, all,

I am currently working with libcamera and trying to make it work on a
IPU3 pipeline (MS Surface Go 2)...
I can set the buffer parameters, thanks to Niklas work, but can't get
the 3A statistics buffer back.
More precisely, the buffers are queued/dequeued but the 'ae_en' bit is
never set to 1, and all the raw buffers are set to '0' values.

I suppose I have missed to set one parameter somewhere, but according to
https://www.kernel.org/doc/html/v5.6/media/uapi/v4l/pixfmt-meta-intel-ipu3.html#c.ipu3_uapi_ae_grid_config
setting the 'ae_en' bit in the ipu3_uapi_ae_grid_config structure should
be enough to trigger ?

I have pushed my (very work in progress) work here:
https://github.com/jhautbois/libcamera/tree/test-fake-ipu3-ipa

I would appreciate feedback on this stuff, as I can't see anything
missing from a user-space perspective right now... :-)

Thanks,
--
Regards,
JM

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Intel IPU3: can't retrieve 3A Auto Exposure (AE) statistics
  2020-11-30 15:23 Intel IPU3: can't retrieve 3A Auto Exposure (AE) statistics Jean-Michel Hautbois
@ 2020-12-01 13:47 ` Jean-Michel Hautbois
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Michel Hautbois @ 2020-12-01 13:47 UTC (permalink / raw)
  To: sakari.ailus; +Cc: linux-media, libcamera-devel

Hi all,

On 30/11/2020 16:23, Jean-Michel Hautbois wrote:
> Hi Sakari, all,
> 
> I am currently working with libcamera and trying to make it work on a
> IPU3 pipeline (MS Surface Go 2)...
> I can set the buffer parameters, thanks to Niklas work, but can't get
> the 3A statistics buffer back.
> More precisely, the buffers are queued/dequeued but the 'ae_en' bit is
> never set to 1, and all the raw buffers are set to '0' values.
> 
> I suppose I have missed to set one parameter somewhere, but according to
> https://www.kernel.org/doc/html/v5.6/media/uapi/v4l/pixfmt-meta-intel-ipu3.html#c.ipu3_uapi_ae_grid_config
> setting the 'ae_en' bit in the ipu3_uapi_ae_grid_config structure should
> be enough to trigger ?
> 
> I have pushed my (very work in progress) work here:
> https://github.com/jhautbois/libcamera/tree/test-fake-ipu3-ipa
> 
> I would appreciate feedback on this stuff, as I can't see anything
> missing from a user-space perspective right now... :-)

I have made some progress, as I now set the V4L2_CID_IPU3_PIPE_MODE
properly... I now have the awb_en, af_en and awb_fr_en set to 'true'.
But ae_en is always 'false'...

JM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-01 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-30 15:23 Intel IPU3: can't retrieve 3A Auto Exposure (AE) statistics Jean-Michel Hautbois
2020-12-01 13:47 ` Jean-Michel Hautbois

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.