From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: linux-media@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@redhat.com>,
Pawel Osciak <pawel@osciak.com>, John Sheu <sheu@google.com>,
Hans Verkuil <hans.verkuil@cisco.com>,
Kamil Debski <k.debski@samsung.com>,
Andrzej Hajda <a.hajda@samsung.com>
Subject: Re: [PATCH v4] [media] mem2mem: add support for hardware buffered queue
Date: Thu, 27 Jun 2013 11:25:56 +0200 [thread overview]
Message-ID: <51CC0524.6020703@samsung.com> (raw)
In-Reply-To: <1370247828-7219-1-git-send-email-p.zabel@pengutronix.de>
On 06/03/2013 10:23 AM, Philipp Zabel wrote:
> On mem2mem decoders with a hardware bitstream ringbuffer, to drain the
> buffer at the end of the stream, remaining frames might need to be decoded
> from the bitstream buffer without additional input buffers being provided.
> To achieve this, allow a queue to be marked as buffered by the driver, and
> allow scheduling of device_runs when buffered ready queues are empty.
>
> This also allows a driver to copy input buffers into their bitstream
> ringbuffer and immediately mark them as done to be dequeued.
>
> The motivation for this patch is hardware assisted h.264 reordering support
> in the coda driver. For high profile streams, the coda can hold back
> out-of-order frames, causing a few mem2mem device runs in the beginning, that
> don't produce any decompressed buffer at the v4l2 capture side. At the same
> time, the last few frames can be decoded from the bitstream with mem2mem device
> runs that don't need a new input buffer at the v4l2 output side. The decoder
> command ioctl can be used to put the decoder into the ringbuffer draining
> end-of-stream mode.
>
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
--
Regards,
Sylwester
prev parent reply other threads:[~2013-06-27 9:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-03 8:23 [PATCH v4] [media] mem2mem: add support for hardware buffered queue Philipp Zabel
2013-06-13 9:45 ` Kamil Debski
2013-06-13 10:07 ` Sylwester Nawrocki
2013-06-27 9:25 ` Sylwester Nawrocki [this message]
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=51CC0524.6020703@samsung.com \
--to=s.nawrocki@samsung.com \
--cc=a.hajda@samsung.com \
--cc=hans.verkuil@cisco.com \
--cc=k.debski@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=p.zabel@pengutronix.de \
--cc=pawel@osciak.com \
--cc=sheu@google.com \
/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.