I cannot figure out the output data format YUV 4:2:0 for the OV5642 camera. The documentation datasheet on page 99 states that one of the possible output sequences is YYYY.../ YUVV....
But how is this sequence supposed to resemble what's shown in the picture, which shows the structure of the yuv4:2:0 format?
Would it be something like:
Y1 Y2 Y3 Y4 / Y5 U1 Y6 V1 / Y7 U2 Y8 V2 /
Y9 Y10 Y11 Y12 / Y13 U3 Y14 V3 / Y15 U4 Y16 V4 / ... ?
And am I correct in understanding that although YUV 4:2:0 has a planar structure, the data on camera is delivered in a packed format?
Regarding YUV 4:2:2, the documentation provides a sequence of YUYV... and it's clear that it translates into a sequence of "blocks" / Y1 U1 Y2 V1 / Y3 U2 Y4 V2 / ... where one "block" of 4 components contains 2 pixels, which corresponds to 16 bits.
I am interested in this to find out whether it is possible to separately record luma data and chroma data from the camera for the video codec. That is, to store the Y-component in one array and the UV-components in another.
Thank you in advance.