This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365 VPBE Video Window data format for YUV420

Hello,

The VPBE User Guide sprufg9c states that the video window supports YUV data in both 422 and 420 format.  Section 4.4.3.1 describes the data format for 422 but  I cannot find a description of the data format for 420 in the user guide.  I've read the paragraph that states that Y is put in vid0 and U V in vid1.  Can I assume that the VPBE expects the 420 data to be 8 bits per pixel for Y and 8 bits per each U V pair?  and that these need to be 32 bit aligned?

Graham.

  • Graham,

    I am in the middle of updating the user guide with more clarification on this.

    Your understanding in general is correct.

    The data format for 422 and 420 are very similar. Y buffer is the same in both cases; UV pair is the same per line in both cases, but the UV buffer only stores the even number lines (0,2,4,6...) in the 420 case where all the lines are stored in the 422 case.

    I think the alignment should be 32-byte.