Re: i.MX6 CSC and scaler
From: Jean-Michel Hautbois
Date: Mon Dec 15 2014 - 16:27:45 EST
2014-12-15 19:52 GMT+01:00 Nicolas Dufresne <nicolas.dufresne@xxxxxxxxxxxxx>:
>
>
> 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.
JM
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/