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.

Storage Format



I have a question about the format.

I think that:

The format of the images collected by capture.c from the driver is 422 standard format(means :pixel is :[Y0 U0 V0] [Y1 U1 V1] [Y2 U2 V2] [Y3 U3 V3] ,the code stream is  :Y0 U0 Y1 V1 Y2 U2 Y3 V3).

But when we store the images, the format is the 422PSemi defined by TI(means we first store the Y, then store the U and V).

If what I think is right, so where does this transformation occur?? in the driver??or others??

In addition, when we use the images, why do we transfer 422 to 420 by Ccv thread. And are there any

docuements talking about it??

  • Hi,

     

    Are you asking about DM6467? DM6467 capture driver supports only YUV422Semi, so in this case, format conversion, i think, happens in application.

     

    Thanks,

    Brijesh Jadav

  • Thank you!

    I know the conversion about 422 to 420 occurs in app.

    I want to know that when we capture the images, the format about them is directly the 422PSemi?? Or not??

    Another question,why we transfer 422 to 420,why don't we use the 422 directly??

  • Hi,

     

    I think, 422 to 420 conversion does not occur in application, this is done using VDCE driver. Capture and display driver supports only 422Semi planar format only. Format conversion from 422 to 420 and vice versa can be done using VDCE driver.

     

    Typically, encoder/decoders uses YUV420 format instead of YUV422. Becaues of this, YUV422 is converted into YUV420.

     

    Thanks,

    Brijesh Jadav