#ifndef _SUN6I_ISP_CAPTURE_H_
#define _SUN6I_ISP_CAPTURE_H_
#include <media/v4l2-device.h>
#define SUN6I_ISP_CAPTURE_NAME …
#define SUN6I_ISP_CAPTURE_WIDTH_MIN …
#define SUN6I_ISP_CAPTURE_WIDTH_MAX …
#define SUN6I_ISP_CAPTURE_HEIGHT_MIN …
#define SUN6I_ISP_CAPTURE_HEIGHT_MAX …
struct sun6i_isp_device;
struct sun6i_isp_capture_format { … };
#undef current
struct sun6i_isp_capture_state { … };
struct sun6i_isp_capture { … };
void sun6i_isp_capture_dimensions(struct sun6i_isp_device *isp_dev,
unsigned int *width, unsigned int *height);
void sun6i_isp_capture_format(struct sun6i_isp_device *isp_dev,
u32 *pixelformat);
const struct sun6i_isp_capture_format *
sun6i_isp_capture_format_find(u32 pixelformat);
void sun6i_isp_capture_configure(struct sun6i_isp_device *isp_dev);
void sun6i_isp_capture_state_update(struct sun6i_isp_device *isp_dev,
bool *update);
void sun6i_isp_capture_state_complete(struct sun6i_isp_device *isp_dev);
void sun6i_isp_capture_finish(struct sun6i_isp_device *isp_dev);
int sun6i_isp_capture_setup(struct sun6i_isp_device *isp_dev);
void sun6i_isp_capture_cleanup(struct sun6i_isp_device *isp_dev);
#endif