We have a display device connected to port IPU1 DI0 which needs YUYV data as an input (LUMA on pins 19-12, CHROMA on pins 9-2). What I am trying to do is to set mapping scheme (like the one in Figure 37-33 of RM) and change the microcode. To do so, I need to know how Y, U, V components are located on the input of the Bus Mapping Unit. We know that for YUV444 we have Y on 23-16, U on 15-8, V on 7-0.
My question is: where exactly (I mean: which bits?) are located Y, U and V components for YUYV pixel format? Is it YUY (1st cycle) -> VYU (2nd cycle) -> YVY (3th cycle), and so on?
As for now, I am only able to set interface_pix_fmt for my display as IPU_PIX_FMT_YUV444 and set mapping to send YU (V is omitted) in the first cycle, and YV (U is omitted) in the second cycle. Is there any way to do so by using IPU_PIX_FMT_YUYV format?
Can someone help me? I've run out of ideas...