From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/include/media/sh_mobile_ceu.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ANDROID_3.4.5/include/media/sh_mobile_ceu.h (limited to 'ANDROID_3.4.5/include/media/sh_mobile_ceu.h') diff --git a/ANDROID_3.4.5/include/media/sh_mobile_ceu.h b/ANDROID_3.4.5/include/media/sh_mobile_ceu.h new file mode 100644 index 00000000..a90a765f --- /dev/null +++ b/ANDROID_3.4.5/include/media/sh_mobile_ceu.h @@ -0,0 +1,26 @@ +#ifndef __ASM_SH_MOBILE_CEU_H__ +#define __ASM_SH_MOBILE_CEU_H__ + +#define SH_CEU_FLAG_USE_8BIT_BUS (1 << 0) /* use 8bit bus width */ +#define SH_CEU_FLAG_USE_16BIT_BUS (1 << 1) /* use 16bit bus width */ +#define SH_CEU_FLAG_HSYNC_LOW (1 << 2) /* default High if possible */ +#define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */ + +struct device; +struct resource; + +struct sh_mobile_ceu_companion { + u32 num_resources; + struct resource *resource; + int id; + void *platform_data; +}; + +struct sh_mobile_ceu_info { + unsigned long flags; + int max_width; + int max_height; + struct sh_mobile_ceu_companion *csi2; +}; + +#endif /* __ASM_SH_MOBILE_CEU_H__ */ -- cgit