public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [Media Summit] Using the selection API to control image sensor subsampling
@ 2022-08-29  7:15 Jacopo Mondi
  2022-09-10 12:21 ` Hans Verkuil
  0 siblings, 1 reply; 5+ messages in thread
From: Jacopo Mondi @ 2022-08-29  7:15 UTC (permalink / raw)
  To: linux-media, Dave Stevenson
  Cc: Sakari Ailus, Kieran Bingham, Nicolas Dufresne, Benjamin Gaignard,
	Hidenori Kobayashi, Paul Kocialkowski, Michael Olbrich,
	Laurent Pinchart, Ricardo Ribalda, Maxime Ripard, Daniel Scally,
	Jernej Škrabec, Niklas Söderlund, Michael Tretter,
	Hans Verkuil, Philipp Zabel, Mauro Carvalho Chehab,
	Benjamin MUGNIER

Hello

   I have prepared a slide deck to brief on the discussion for
the topic specified in the subject. Slides are available at
https://nc.nibble.pw/s/oib8jzNjjtgB9c6 as an attachment of ~5MB would
probably be caught by the mailing list filter

I'll here copy a brief summary as presented in Hans' agenda:

-------------------------------------------------------------------------------
11:45 Jacopo: Representing addition sensor processing stages.

  How to represent additional processing stages that happens
  on the sensor side, mostly additional subsampling/cropping that happen
  between the analogue cropping on the full pixel array and the final
  image sent on the wire.

  https://lore.kernel.org/linux-media/CAPY8ntA06L1Xsph79sv9t7MiDSNeSO2vADevuXZdXQdhWpSmow@mail.gmail.com/

  Dave made a good introduction of the issue his email which got
  largely unanswered.

  The issue is particularly relevant for RAW sensors, where applying
  subsampling has an impact on the sensor's sensitivity and requires
  to adjust the gains and exposure accordingly.
-------------------------------------------------------------------------------

The slide deck:

- Introduces the topic in slides [1-10]

- Presents Dave's proposed use case and how it is currently handled in
  mainline drivers in slides [11-31] using as example the imx274,
  mt9p031 and CCS drivers.

- Proposes a best-effort solution for imx219 in slides [32-37]

- The last two slides presents two discussion topics which I will copy
  here

  ------------------------------------------------------------------------
  Do we need new abstractions ?

  - An image sensor abstraction built on top of multiple subdevices
    - Would it really make userspace any simpler ?

  - Image sensor specific SELECTION_TARGETS
    - Conflicts with format selection are bound to happen with a single
      source pad
      - Can a “special” sink pad that represents the raw pixel array help ?
    - Does not scale to represent complex sensors with multiple scalers
  ------------------------------------------------------------------------

The imx219 proposal can be discussed by email or in person, while the
questions in the last two slides might be worth being discussed during
the meeting.

Thanks
   j


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

end of thread, other threads:[~2022-09-11 15:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-29  7:15 [Media Summit] Using the selection API to control image sensor subsampling Jacopo Mondi
2022-09-10 12:21 ` Hans Verkuil
2022-09-10 16:14   ` Laurent Pinchart
2022-09-11  7:16     ` Hans Verkuil
2022-09-11 15:22       ` Jacopo Mondi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox