Output format camera OV5642

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.

Could You post a link to it?

datasheet -> https://akizukidenshi.com/goodsaffix/ov5642.pdf
on page 99 it says about the output sequence YUV420.
Also a similar question was already asked at this signal processing - What does yuv420 output mean in camera? - Electrical Engineering Stack Exchange , but I couldn’t find an answer there or I didn’t understand it.

Here is the answer