Hello @gusarambula
Is WB_SWAP bit on PXP_PS_CTRL register work?
I just connect UVC camera to IMXRT1050EVK and output capture data to LCD.
Image format of capture data are Y0U0Y1V0.
So run PXP for YUV->RGB color space conversion.
CRC of PXP support only U0Y0V0Y1 byte data, but UVC camera output Y0U0Y1V0 format.
1) I think, that it is just assumed function of WB_SWAP bit. Is it correct?
2) I try to set/clear WB_SWAP bit and run CRC by PXP. but output data are same both WB_SWAP=0 and WB_SWAP=1. Is it have some limitation like FORMAT bits of PXP_PS_CTRL or PXP_OUT_CTRL?
Now I use input and output format are following.
PXP_PS_CTRL[4:0] = 0x12 : UYVY1P422 — 16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
PXP_OUT_CTRL[4:0] = 0x05 : RGB888P — 24-bit pixels (packed 24-bit format)
If swap capture data by CPU and run CRC by PXP, It can preview capture result by LCD.
Project base example is evkbimxrt1050_elcdif_rgb.
If you have some information, please let me know.
Best regards,
Ishii.