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.

How can I get the format of the video datas

 When I use a camara to capture video, how can I get the format of the video data? For instance, may be the video format is YUV422. Could someone offer me some suggestions, or some source code to do it? Thank you.

  • I am not sure I am entirely understanding your question, but in general you would probably want to look at the driver documentation to see what the formats it supports are. For the most part if you are talking about a TI driver on a TI EVM board than the output will be interleaved YCbCr 4:2:2, meaning every other byte in the buffer is Y with the bytes in between being Cb and Cr (so you get a series of bytes like Cb Y Cr Y Cb Y Cr Y...).