Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1632605

Re: [bug] omap3isp: missing support for ENUM_FMT

From Sakari Ailus <sakari.ailus@iki.fi>
Newsgroups linux.kernel
Subject Re: [bug] omap3isp: missing support for ENUM_FMT
Date 2017-04-28 10:10 +0200
Message-ID <tB98u-4Ii-5@gated-at.bofh.it> (permalink)
References <t8Aau-Kl-5@gated-at.bofh.it> <thhBD-15f-1@gated-at.bofh.it> <thk6t-2Mc-27@gated-at.bofh.it> <thmUG-4Xc-7@gated-at.bofh.it> <tACvU-7Jf-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Pavel,

On Wed, Apr 26, 2017 at 11:19:33PM +0200, Pavel Machek wrote:
> Hi!
> 
> Currently, ispvideo.c does not support enum_format. This causes
> problems for example for libv4l2.
> 
> Now, I'm pretty sure patch below is not the right fix. But it fixes
> libv4l2 problem for me.
> 
> Pointer to right solution welcome.

The issue with providing ENUM_FMT support on MC-enabled drivers is that the
media bus format has an effect to which pixel formats are available.

What has been discussed in the past but what remains unimplemented is to add
the media bus code to v4l2_fmtdesc for user to choose. That would allow
meaningful ENUM_FMT support.

For users such as libv4l2, i.e. code == 0 --- it should just tell the user
what it can do with the active media bus format.

-- 
Kind regards,

Sakari Ailus
e-mail: sakari.ailus@iki.fi	XMPP: sailus@retiisi.org.uk

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[bug] omap3isp: missing support for ENUM_FMT Pavel Machek <pavel@ucw.cz> - 2017-04-26 23:20 +0200
  Re: [bug] omap3isp: missing support for ENUM_FMT Sakari Ailus <sakari.ailus@iki.fi> - 2017-04-28 10:10 +0200

csiph-web