1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #ifndef __IPU_PIXFMT_H__
- #define __IPU_PIXFMT_H__
- #include <linux/list.h>
- #include <linux/fb.h>
- #define fourcc(a, b, c, d)\
- (((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))
- #define IPU_PIX_FMT_GENERIC fourcc('I', 'P', 'U', '0')
- #define IPU_PIX_FMT_GENERIC_32 fourcc('I', 'P', 'U', '1')
- #define IPU_PIX_FMT_LVDS666 fourcc('L', 'V', 'D', '6')
- #define IPU_PIX_FMT_LVDS888 fourcc('L', 'V', 'D', '8')
- #define IPU_PIX_FMT_RGB332 fourcc('R', 'G', 'B', '1')
- #define IPU_PIX_FMT_RGB555 fourcc('R', 'G', 'B', 'O')
- #define IPU_PIX_FMT_RGB565 fourcc('R', 'G', 'B', 'P')
- #define IPU_PIX_FMT_RGB666 fourcc('R', 'G', 'B', '6')
- #define IPU_PIX_FMT_BGR666 fourcc('B', 'G', 'R', '6')
- #define IPU_PIX_FMT_BGR24 fourcc('B', 'G', 'R', '3')
- #define IPU_PIX_FMT_RGB24 fourcc('R', 'G', 'B', '3')
- #define IPU_PIX_FMT_BGR32 fourcc('B', 'G', 'R', '4')
- #define IPU_PIX_FMT_BGRA32 fourcc('B', 'G', 'R', 'A')
- #define IPU_PIX_FMT_RGB32 fourcc('R', 'G', 'B', '4')
- #define IPU_PIX_FMT_RGBA32 fourcc('R', 'G', 'B', 'A')
- #define IPU_PIX_FMT_ABGR32 fourcc('A', 'B', 'G', 'R')
- #define IPU_PIX_FMT_YUYV fourcc('Y', 'U', 'Y', 'V')
- #define IPU_PIX_FMT_UYVY fourcc('U', 'Y', 'V', 'Y')
- #define IPU_PIX_FMT_Y41P fourcc('Y', '4', '1', 'P')
- #define IPU_PIX_FMT_YUV444 fourcc('Y', '4', '4', '4')
- #define IPU_PIX_FMT_NV12 fourcc('N', 'V', '1', '2')
- #define IPU_PIX_FMT_GREY fourcc('G', 'R', 'E', 'Y')
- #define IPU_PIX_FMT_YVU410P fourcc('Y', 'V', 'U', '9')
- #define IPU_PIX_FMT_YUV410P fourcc('Y', 'U', 'V', '9')
- #define IPU_PIX_FMT_YVU420P fourcc('Y', 'V', '1', '2')
- #define IPU_PIX_FMT_YUV420P fourcc('I', '4', '2', '0')
- #define IPU_PIX_FMT_YUV420P2 fourcc('Y', 'U', '1', '2')
- #define IPU_PIX_FMT_YVU422P fourcc('Y', 'V', '1', '6')
- #define IPU_PIX_FMT_YUV422P fourcc('4', '2', '2', 'P')
- int ipuv3_fb_init(struct fb_videomode const *mode,
- uint8_t disp,
- uint32_t pixfmt);
- void ipuv3_fb_shutdown(void);
- #endif
|