19 #ifndef _VPFE_CAPTURE_H
20 #define _VPFE_CAPTURE_H
26 #include <linux/videodev2.h>
28 #include <linux/i2c.h>
34 #define VPFE_CAPTURE_NUM_DECODERS 5
37 #define VPFE_MAJOR_RELEASE 0
38 #define VPFE_MINOR_RELEASE 0
40 #define VPFE_CAPTURE_VERSION_CODE ((VPFE_MAJOR_RELEASE << 16) | \
41 (VPFE_MINOR_RELEASE << 8) | \
44 #define CAPTURE_DRV_NAME "vpfe-capture"
46 struct vpfe_pixel_format {
52 struct vpfe_std_info {
64 struct vpfe_subdev_info {
74 struct vpfe_route *routes;
78 struct vpfe_hw_if_param ccdc_if_params;
89 struct vpfe_subdev_info *sub_devs;
98 void (*clr_intr)(
int vdint);
108 struct vpfe_config *
cfg;
122 struct vpfe_hw_if_param vpfe_if_params;
124 struct vpfe_subdev_info *current_subdev;
128 struct vpfe_std_info std_info;
132 unsigned int ccdc_irq0;
133 unsigned int ccdc_irq1;
177 struct vpfe_device *vpfe_dev;
184 struct vpfe_config_params {
200 #define VPFE_CMD_S_CCDC_RAW_PARAMS _IOW('V', BASE_VIDIOC_PRIVATE + 1, \