public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Adam Pledger <a.pledger@thermoteknix.com>
To: Michael Jones <michael.jones@matrix-vision.de>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-media@vger.kernel.org
Subject: Re: Omap3 ISP + Gstreamer v4l2src
Date: Wed, 07 Dec 2011 11:44:42 +0000	[thread overview]
Message-ID: <4EDF51AA.3040503@thermoteknix.com> (raw)
In-Reply-To: <4EDF477D.8080507@matrix-vision.de>

Hi Laurent, Michael,

<snip>
>> Please note that BT.656 support is still experimental, so issues are not
>> unexpected.

Yes, I was aware that this is not yet fully baked.

<snip>
>>> My question is, should this "just work"? It was my understanding that
>>> once the pipeline was configured with media-ctl then the CCDC output 
>>> pad
>>> should behave like a standard V4L2 device node.
>>
>>
>> That's more or less correct. There have been a passionate debate 
>> regarding
>> what a "standard V4L2 device node" is. Not all V4L2 ioctls are 
>> mandatory, and
>> no driver implements them all. The OMAP3 ISP driver implements a very 
>> small
>> subset of the V4L2 API, and it wasn't clear whether that still 
>> qualified as
>> V4L2. After discussions we decided that the V4L2 specification will 
>> document
>> profiles, with a set of required ioctls for each of them. The OMAP3 ISP
>> implements the future video streaming profile.
>>
>> I'm not sure what ioctls v4l2src consider as mandatory. The above error
>> related to a CTRL ioctl (possibly VIDIOC_QUERYCTRL), which isn't 
>> implemented
>> by the OMAP3 ISP driver and will likely never be. I don't think that 
>> should be
>> considered as mandatory.
>>
>> I think that v4l2src requires the VIDIOC_ENUMFMT ioctl, which isn't
>> implemented in the OMAP3 ISP driver. That might change in the future, 
>> but I'm
>> not sure yet whether it will. In any case, you might have to modify 
>> v4l2src
>> and/or the OMAP3 ISP driver for now. Some patches have been posted a 
>> while ago
>> to this mailing list.
>
> Here was my submission for ENUM_FMT support:
> http://www.mail-archive.com/linux-media@vger.kernel.org/msg29640.html
>
> I submitted this in order to be able to use the omap3-isp with 
> GStreamer.  I missed the discussion about V4L2 "profiles", but when I 
> submitted that patch we discussed whether ENUM_FMT was mandatory. 
> After I pointed out that the V4L2 spec states plainly that it _is_ 
> mandatory, I thought Laurent basically agreed that it was reasonable.
>
> Laurent, what do you think about adding ENUM_FMT support now?

Thank you both for clarifying the current situation regarding omap3isp / 
MCF (and Michael for the previous patch, which I will take a look at). 
This addresses quite a few questions that I have been mulling over in 
the last few days.

<snip>

Best Regards

Adam


  reply	other threads:[~2011-12-07 11:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-07  8:02 Omap3 ISP + Gstreamer v4l2src Adam Pledger
2011-12-07 10:34 ` Laurent Pinchart
2011-12-07 11:01   ` Michael Jones
2011-12-07 11:44     ` Adam Pledger [this message]
2011-12-18 21:52     ` Laurent Pinchart
2011-12-08 21:27 ` Sakari Ailus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EDF51AA.3040503@thermoteknix.com \
    --to=a.pledger@thermoteknix.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=michael.jones@matrix-vision.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox