MX RT1176 PXP blend fully transparent color over blue result pink

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

MX RT1176 PXP blend fully transparent color over blue result pink

247 Views
lukasz_kala
Contributor I

Hi,
I'm trying to run blending inplace by porterDuffOver function provided by PXP (#i.MXRT1170). PS and OUT buffers are set to the same address, filled by value 0xFF03213A(ARGB) - blue color.

AS Buffer is filled by 0x01000000(ARGB) - fully transparent black.

As result im reciving pink color (0xFF450046(ARGB)) in OUT/PS buffer, but im expecting somthing around original value (0xFF03213A(ARGB)) - blue color.

Could you explain why it is so?

Thanks and bye,

Lucas

0 Kudos
1 Reply

212 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
I hope you are well.
Please check the value of PORTER_DUFF_CTRL register, this controls the blending mode:

Omar_Anguiano_0-1677520975886.png

Best regards,
Omar

0 Kudos