Files
sophgo-forum-service 8b903d8fa7 mw_mpi: weekly rls 2024.05.22
- 9b31d0, [fix](sample):fix some error in sample_vio.
- d097e0, [style](gdc):Modify dwa to ldc.
- 6cc776, [fix](audio):fix the bug in sample_audio case4 when open vqe.

Change-Id: Id429708a0aa8b74ce1e1094838c62b6e8caf112d
2024-05-31 14:52:28 +08:00

41 lines
689 B
C

#ifndef LT9611_H_
#define LT9611_H_
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif /* __cplusplus */
typedef enum
{
E_LT9611_VIDEO_1024x768_60HZ,
E_LT9611_VIDEO_1280x720_60HZ,
E_LT9611_VIDEO_1280x1024_60HZ,
E_LT9611_VIDEO_1600x1200_60HZ,
E_LT9611_VIDEO_1920x1080_30HZ,
E_LT9611_VIDEO_1920x1080_60HZ,
E_LT9611_VIDEO_MAX
} LT9611_VIDEO_FORMAT_E;
struct lt9611_data {
struct i2c_client *client;
int irq;
int irq_gpio;
int rst_gpio;
};
void lt9611_init(LT9611_VIDEO_FORMAT_E enVideoFormat);
void lt9611_set_video_format(LT9611_VIDEO_FORMAT_E enVideoFormat);
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* __cplusplus */
#endif