Re: i.MX6 CSC and scaler

2014-12-17 Thread Nicolas Dufresne
Le 2014-12-17 08:12, Jean-Michel Hautbois a écrit : [10005.819862] mx6-m2m ipum2m@ipu1: call capture S_FMT first to determine segmentation Please, find the part of the spec that would inforce that, if not inforced, do the spec work first. Nicolas -- To unsubscribe from this list: send the

Re: i.MX6 CSC and scaler

2014-12-17 Thread Jean-Michel Hautbois
2014-12-16 15:50 GMT+01:00 Nicolas Dufresne : > > Le 2014-12-16 09:27, Jean-Michel Hautbois a écrit : >> >> Have you already started something about that ? > > Yes, currently I do cropping right if there is no scaling. Doing this with > S_CROP is really ackward, but very few m2m driver has been

Re: i.MX6 CSC and scaler

2014-12-17 Thread Jean-Michel Hautbois
2014-12-16 15:50 GMT+01:00 Nicolas Dufresne nicolas.dufre...@collabora.com: Le 2014-12-16 09:27, Jean-Michel Hautbois a écrit : Have you already started something about that ? Yes, currently I do cropping right if there is no scaling. Doing this with S_CROP is really ackward, but very few

Re: i.MX6 CSC and scaler

2014-12-17 Thread Nicolas Dufresne
Le 2014-12-17 08:12, Jean-Michel Hautbois a écrit : [10005.819862] mx6-m2m ipum2m@ipu1: call capture S_FMT first to determine segmentation Please, find the part of the spec that would inforce that, if not inforced, do the spec work first. Nicolas -- To unsubscribe from this list: send the

Re: i.MX6 CSC and scaler

2014-12-16 Thread Nicolas Dufresne
Le 2014-12-16 09:27, Jean-Michel Hautbois a écrit : Have you already started something about that ? Yes, currently I do cropping right if there is no scaling. Doing this with S_CROP is really ackward, but very few m2m driver has been ported to G_SELECTION yet. The v4l2transform was tested to

Re: i.MX6 CSC and scaler

2014-12-16 Thread Jean-Michel Hautbois
Hi, 2014-12-16 15:15 GMT+01:00 Nicolas Dufresne : > > Le 2014-12-16 08:30, Philipp Zabel a écrit : >> >> For the IPU IC mem2mem scaler/CSC, v4l2transform with scaling capability >> would be the perfect fit > > Thanks you for clarifying. Jean-Michel, are you going to work on this ? If > so, feel

Re: i.MX6 CSC and scaler

2014-12-16 Thread Nicolas Dufresne
Le 2014-12-16 08:30, Philipp Zabel a écrit : For the IPU IC mem2mem scaler/CSC, v4l2transform with scaling capability would be the perfect fit Thanks you for clarifying. Jean-Michel, are you going to work on this ? If so, feel free to contact me directly for pointers. You'll find me as

Re: i.MX6 CSC and scaler

2014-12-16 Thread Philipp Zabel
Am Montag, den 15.12.2014, 22:27 +0100 schrieb Jean-Michel Hautbois: > 2014-12-15 19:52 GMT+01:00 Nicolas Dufresne : > > 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

Re: i.MX6 CSC and scaler

2014-12-16 Thread Philipp Zabel
Am Montag, den 15.12.2014, 22:27 +0100 schrieb Jean-Michel Hautbois: 2014-12-15 19:52 GMT+01:00 Nicolas Dufresne nicolas.dufre...@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

Re: i.MX6 CSC and scaler

2014-12-16 Thread Nicolas Dufresne
Le 2014-12-16 08:30, Philipp Zabel a écrit : For the IPU IC mem2mem scaler/CSC, v4l2transform with scaling capability would be the perfect fit Thanks you for clarifying. Jean-Michel, are you going to work on this ? If so, feel free to contact me directly for pointers. You'll find me as

Re: i.MX6 CSC and scaler

2014-12-16 Thread Jean-Michel Hautbois
Hi, 2014-12-16 15:15 GMT+01:00 Nicolas Dufresne nicolas.dufre...@collabora.com: Le 2014-12-16 08:30, Philipp Zabel a écrit : For the IPU IC mem2mem scaler/CSC, v4l2transform with scaling capability would be the perfect fit Thanks you for clarifying. Jean-Michel, are you going to work on

Re: i.MX6 CSC and scaler

2014-12-16 Thread Nicolas Dufresne
Le 2014-12-16 09:27, Jean-Michel Hautbois a écrit : Have you already started something about that ? Yes, currently I do cropping right if there is no scaling. Doing this with S_CROP is really ackward, but very few m2m driver has been ported to G_SELECTION yet. The v4l2transform was tested to

Re: i.MX6 CSC and scaler

2014-12-15 Thread Jean-Michel Hautbois
2014-12-15 19:52 GMT+01:00 Nicolas Dufresne : > > > 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

Re: i.MX6 CSC and scaler

2014-12-15 Thread Nicolas Dufresne
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. There is an element already (v4l2transform), though it currently only handle color conversion. I'd like to see scaling in that too instead

Re: i.MX6 CSC and scaler

2014-12-15 Thread Steve Longerbeam
On 12/15/2014 09:03 AM, Jean-Michel Hautbois wrote: > Hi Steve, Philipp, > > I see in the kernel sources you created a ipu-ic.c file which helps > working with the Color Space Converter on i.MX6. > We would like to use it on our board with GStreamer, as the conversion > done by the CPU is not very

i.MX6 CSC and scaler

2014-12-15 Thread Jean-Michel Hautbois
Hi Steve, Philipp, I see in the kernel sources you created a ipu-ic.c file which helps working with the Color Space Converter on i.MX6. We would like to use it on our board with GStreamer, as the conversion done by the CPU is not very efficient :). What is the easiest/best approach to this ?

i.MX6 CSC and scaler

2014-12-15 Thread Jean-Michel Hautbois
Hi Steve, Philipp, I see in the kernel sources you created a ipu-ic.c file which helps working with the Color Space Converter on i.MX6. We would like to use it on our board with GStreamer, as the conversion done by the CPU is not very efficient :). What is the easiest/best approach to this ?

Re: i.MX6 CSC and scaler

2014-12-15 Thread Steve Longerbeam
On 12/15/2014 09:03 AM, Jean-Michel Hautbois wrote: Hi Steve, Philipp, I see in the kernel sources you created a ipu-ic.c file which helps working with the Color Space Converter on i.MX6. We would like to use it on our board with GStreamer, as the conversion done by the CPU is not very

Re: i.MX6 CSC and scaler

2014-12-15 Thread Nicolas Dufresne
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. There is an element already (v4l2transform), though it currently only handle color conversion. I'd like to see scaling in that too instead

Re: i.MX6 CSC and scaler

2014-12-15 Thread Jean-Michel Hautbois
2014-12-15 19:52 GMT+01:00 Nicolas Dufresne nicolas.dufre...@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