在线时间2220 小时
UID3253523
注册时间2016-3-21
NXP金币2853
该用户从未签到
超级版主
 
- 积分
- 24863
- 最后登录
- 2025-7-18
|
发表于 2019-10-21 10:38:13
|
显示全部楼层
楼主你好,你可以看下RT 参考文档中的33.7.1.1 Bayer Data章节,bayer data也会转换成RGB或者YUV,所以还是看你具体是那种像素格式:
typedef enum _elcdif_pixel_format
{
kELCDIF_PixelFormatRAW8 = 0, /*!< RAW 8 bit, four data use 32 bits. */
kELCDIF_PixelFormatRGB565 = 1, /*!< RGB565, two pixel use 32 bits. */
kELCDIF_PixelFormatRGB666 = 2, /*!< RGB666 unpacked, one pixel uses 32 bits, high byte unused,
upper 2 bits of other bytes unused. */
kELCDIF_PixelFormatXRGB8888 = 3, /*!< XRGB8888 unpacked, one pixel uses 32 bits, high byte unused. */
kELCDIF_PixelFormatRGB888 = 4, /*!< RGB888 packed, one pixel uses 24 bits. */
} elcdif_pixel_format_t; |
|