i.MX6 convert YUV422 input to ARGB4444 within IPU

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

i.MX6 convert YUV422 input to ARGB4444 within IPU

1,521 Views
宗標廖
Contributor V

Hello, Community

I have a question about IPU of i.MX6.

I capture YUV422 video through a camera, and I want to convert YUV422 data to

ARGB4444 data with Color Space Conversion function of Image Converter.

I donnot know whether can I achieve my idea or not.

Could you help me?

Thank you!

Best Regards,

ZongbiaoLiao

Labels (2)
Tags (4)
0 Kudos
Reply
4 Replies

993 Views
igorpadykov
NXP Employee
NXP Employee

Hi 宗標 廖

suggest to look at ipu csc examples below

ipu-examples release notes - v0.1

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

993 Views
宗標廖
Contributor V

Hello,igor

Thank you for you previous answer.

I have read the release notes- v0.1 and the  source code of ipu csc examples.

Besides,I read the <L3.0.35>/include/linux/ipu.h and <L3.10.17>/include/uapi/linux/ipu.h,

and I have not found a format for ARGB4444.

So I am wondering whether the IPU of i.MX6 supports the conversion from YUV422 to ARGB4444.

Best Regards,

ZongbiaoLiao

0 Kudos
Reply

993 Views
igorpadykov
NXP Employee
NXP Employee

Hello ZongbiaoLiao

yes, it supports it.

One can use these examples and sect.

37.4.5 Image Converter IMX6DQRM

for adding support for new formats.

~igor

0 Kudos
Reply

993 Views
宗標廖
Contributor V

Hello,igor

I changed the output format from v4l2_fourcc('R', 'G', 'B', 'P') to v4l2_fourcc('R', '4', '4', '4') in the

csc_ex1.c file of ipu_examples. And I compiled it with Yocto toolchain.

When I run it on imx6solosabreauto board,I got the message imx-ipuv3 2400000.ipu: mxc ipu: unimplemented pixel format.

I believe that the v4l2_fourcc('R', '4', '4', '4') is represents ARGB4444.So,through my test,I don't think ipu of imx6 supports ARGB4444,

is it right?

Best Regards,

ZongbiaoLiao

.

0 Kudos
Reply