All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jose Abreu <Jose.Abreu@synopsys.com>
To: Hans Verkuil <hverkuil@xs4all.nl>,
	Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: <keith@kodi.tv>
Subject: Re: [ANN] Report of the V4L2 Request API brainstorm meeting
Date: Mon, 17 Oct 2016 12:57:01 +0100	[thread overview]
Message-ID: <5804BC8D.5070709@synopsys.com> (raw)
In-Reply-To: <5518f06f-046f-98e8-05f3-5e9063df15e8@xs4all.nl>

Hi,


On 17-10-2016 12:37, Hans Verkuil wrote:
> Report of the V4L2 brainstorm meeting October 10-11 2016, Berlin

[snip]

> 4.4 Streamon and streamoff
>
> - How to handle STREAMON/OFF?
> 	- Pipelines without video nodes?
> 	- Buffer size may change. Need to reallocate buffers, which is currently done
> 	  through streamoff, reqbufs and streamon.
> - We probably want a STREAM_CANCEL which would dequeue pending buffers (requests)
>   without stopping streaming.
>
>

I am facing this scenario in my HDMI decoder driver. I have an
input stream which may change the resolution while streaming, so
I need to do off/reconfigure/on and request new buffer with the
new image size, and I also have to mark the previous buffers as
invalid. The automatic dequeue of pending buffers would help a
lot but still, at least in my case, I have to reconfigure the
controller and pipeline to propagate the new format.

Off topic: I am using the notify functions to inform user space
of a format change but it is not working at all with vlc or
mplayer :(. Does anyone know of any application which can handle
this format change correctly?

Best regards,
Jose Miguel Abreu

  reply	other threads:[~2016-10-17 11:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-17 11:37 [ANN] Report of the V4L2 Request API brainstorm meeting Hans Verkuil
2016-10-17 11:57 ` Jose Abreu [this message]
2016-10-17 14:17 ` Nicolas Dufresne

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=5804BC8D.5070709@synopsys.com \
    --to=jose.abreu@synopsys.com \
    --cc=hverkuil@xs4all.nl \
    --cc=keith@kodi.tv \
    --cc=linux-media@vger.kernel.org \
    /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 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.