From: Philipp Zabel <p.zabel@pengutronix.de>
To: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com>
Cc: "Nicolas Dufresne" <nicolas.dufresne@collabora.com>,
"Steve Longerbeam" <slongerbeam@gmail.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
"Frédéric Sureau" <frederic.sureau@vodalys.com>,
"Fabio Estevam" <fabio.estevam@freescale.com>
Subject: Re: i.MX6 CSC and scaler
Date: Tue, 16 Dec 2014 14:30:35 +0100 [thread overview]
Message-ID: <1418736635.3374.64.camel@pengutronix.de> (raw)
In-Reply-To: <CAL8zT=jNis3VN11xN82fci5dA5f0TwAAhkBVq2+5TaKpmm_S-Q@mail.gmail.com>
Am Montag, den 15.12.2014, 22:27 +0100 schrieb Jean-Michel Hautbois:
> 2014-12-15 19:52 GMT+01:00 Nicolas Dufresne <nicolas.dufresne@collabora.com>:
> > Le 12/15/2014 01:23 PM, Steve Longerbeam a écrit :
> >> You would need to write a gstreamer plugin to make use of the
> >> mem2mem device for h/w CSC and scaling.
>
> Thank you Steve, this is of a great help !
>
> > There is an element already (v4l2transform), though it currently only
> > handle color conversion. I'd like to see scaling in that too instead of
> > having a separate element that only do scaling like:
> >
> > https://bugzilla.gnome.org/show_bug.cgi?id=726104
>
> Nice idea. You are probably right Nicolas, it would make sense to be
> able to scale and convert color in the same element.
>
> > I think Michael and Philipp idea was that scaling could be done directly
> > out of the decoder, something supported by CODA driver. There is some
> > work require to get that in GStreamer, see:
> >
> > https://bugzilla.gnome.org/show_bug.cgi?id=733827 (pixel format nego)
> > https://bugzilla.gnome.org/show_bug.cgi?id=733828 (display size nego)
>
> There is a need for a separate element too. So it could be handled in
> front of the encoder if needed, on decoder output if needed, but
> should be a single element too, instanciable multiple times if
> multiple inputs/outputs are needed.
Scaling in the decoder element is desirable, but unrelated. I wanted
that for the CODA JPEG decoder, which can produce decimated output right
during the decoding process.
For the IPU IC mem2mem scaler/CSC, v4l2transform with scaling capability
would be the perfect fit.
regards
Philipp
next prev parent reply other threads:[~2014-12-16 13:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-15 17:03 Jean-Michel Hautbois
2014-12-15 18:23 ` Steve Longerbeam
2014-12-15 18:52 ` Nicolas Dufresne
2014-12-15 21:27 ` Jean-Michel Hautbois
2014-12-16 13:30 ` Philipp Zabel [this message]
2014-12-16 14:15 ` Nicolas Dufresne
2014-12-16 14:27 ` Jean-Michel Hautbois
2014-12-16 14:50 ` Nicolas Dufresne
2014-12-17 13:12 ` Jean-Michel Hautbois
2014-12-17 13:45 ` 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=1418736635.3374.64.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=fabio.estevam@freescale.com \
--cc=frederic.sureau@vodalys.com \
--cc=jean-michel.hautbois@vodalys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.dufresne@collabora.com \
--cc=slongerbeam@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®