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.

dm368 vpbe yuv显示问题



dm368平台,目前LCD的RGB图像显示已经调通,现在想把前端采集的yuv数据直接通过LCD显示,

但往framebuffer /dev/fb/1设备写入yuv422数据时,显示总是不对,想请教下,往frambuffer写入的yuv数据的格式是怎么样的,y和uv是怎么排布,手册上有一张图VPBE手册上P85页有一张图说明了yuv数据时混着排布,即Y1CR1Y0CB0,不是先将一帧Y数据写完后,再写uv数据,可按照上述格式写入YUV数据,图像也不对,

所以请问VPBE显示的YUV数据格式是怎么排布的?

谢谢!

  • Timer,

    请参考下面的信息:

    LSP 2.10 DaVinci Linux Drivers
    www.ti.com SPRS566A–JULY 2009

    2.4.1 DM365 Video Display Driver
    The VPBE display driver supports the following features:
    · Two video windows (VID0 and VID1) in YUV422 format (UYVY). Both windows are triple buffered.
    · OSD or bitmap window using OSD0 in RGB 565 format with double buffering
    · One video window in YUV 420 Semi planar format (NV12)