123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /*******************************************************************
- *
- * Copyright C 2010 by Amlogic, Inc. All Rights Reserved.
- *
- * Description:
- *
- * Author: Amlogic Software
- * Created: 2010/4/1 19:46
- *
- *******************************************************************/
- #ifndef __AML_VIDEO_CAMERA_INCLUDE_9908049_
- #define __AML_VIDEO_CAMERA_INCLUDE_9908049_
- typedef void(*video_cam_init_fun_t)(void);
- typedef void(*video_cam_uninit_fun_t)(void);
- typedef void(*video_cam_early_suspend_fun_t)(void);
- typedef void(*video_cam_late_resume_fun_t)(void);
- typedef void(*video_cam_disable_fun_t)(void);
- typedef void(*video_cam_probe_fun_t)(void);
- typedef struct aml_camera_i2c_fig_s{
- unsigned short addr;
- unsigned char val;
- } aml_camera_i2c_fig_t;
- typedef struct aml_camera_i2c_fig0_s{
- unsigned short addr;
- unsigned short val;
- } aml_camera_i2c_fig0_t;
- typedef struct aml_camera_i2c_fig1_s{
- unsigned char addr;
- unsigned char val;
- } aml_camera_i2c_fig1_t;
- typedef struct {
- char* name;
- int video_nr; /* videoX start number, -1 is autodetect */
- video_cam_init_fun_t device_init;
- video_cam_uninit_fun_t device_uninit;
- video_cam_early_suspend_fun_t early_suspend;
- video_cam_late_resume_fun_t late_resume;
- video_cam_disable_fun_t device_disable;
- video_cam_probe_fun_t device_probe;
- void* custom_init_script;
- unsigned pri_dat;
- unsigned flash_support;
-
- }aml_plat_cam_data_t;
-
- #endif /* __AML_VIDEO_CAMERA_INCLUDE_9908049_ */
|