i.MX6 IPU IDMAC pixel endian.

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

i.MX6 IPU IDMAC pixel endian.

651 Views
satoshishimoda
Senior Contributor I

Hi community,

I have a questions about i.MX6 IPU IDMAC pixel endian.

Please see chapter 38.5.86 in IMX6SDLRM Rev.1.

I want to confirm the data alignment when 4 bits/pixel RGB data reading if P_ENDIAN = 0.

Will it be BRG?

Or read from LSB to MSB one by one?

Best Regards,

Satoshi Shimoda

Labels (2)
Tags (2)
0 Kudos
1 Reply

370 Views
Yuri
NXP Employee
NXP Employee

  Situation depends on how RGB data are packed in 32-bit words. Please look at

section 38.4.2.3 (FCW & FCR - Format converter write and read) of the iMX6 SDL RM

regarding pixel formats. Generally we should reverse bytes to get new view of the data,

when passing from Little Endian view to Big Endian one.


Let’s consider a simple example :

4-bit RGB in Big Endian  are mapped on 32-bit word as following -  xR1 G1B1 xR0 G0B0

For Little Endian it looks like – G0B0 xR0 G1B1 xR1

0 Kudos