Hardware colorspace conversion

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hardware colorspace conversion

Jump to solution
1,773 Views
rebelalliance
Contributor III

Hi,

Using SabreSD with i.MX6Q and Linux 4.0.0 SDK.

I know that there is hardware on the IPU for hardware colorspace conversion because there is a gstreamer component for it in libmfw_gst_ipu_csc.so.  I was wondering what libraries provide support for access to this hw colorspace conversion. 

Do openGL and directfb that are provided with the SDK give access to hw colorspace conversion?

I am trying to improve performance of mplayer for software decoding of intra-refresh h.264 streams.  Right now colorspace conversion is in software and I'd like to do this in hardware for better video playback performance.

Thanks.

Labels (3)
0 Kudos
1 Solution
6 Replies
1,057 Views
ruiguifang
Contributor III
0 Kudos
1,057 Views
rebelalliance
Contributor III

What APIs are available to userspace that I can use to do hardware colorspace conversion (yuv to rgb, etc)? 

0 Kudos
1,057 Views
LeonardoSandova
Specialist I

as a first approach, Check the source code of mfw_ipucsc gstreamer element.

1,057 Views
rebelalliance
Contributor III

That's what I am looking at now. 

0 Kudos
1,057 Views
rebelalliance
Contributor III

Is libipu not available for i.MX6Q?  It looks like a dummy version gets compiled for i.MX6Q platform (I am looking at imx-lib-3.0.35-4.0.0/ipu/Makefile).

What are the alternatives?  Use linux/ipu.h IOCTLs?

0 Kudos