summaryrefslogtreecommitdiff
path: root/drivers/media/platform/qcom/camss-8x16/camss-video.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/qcom/camss-8x16/camss-video.h')
-rw-r--r--drivers/media/platform/qcom/camss-8x16/camss-video.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/platform/qcom/camss-8x16/camss-video.h b/drivers/media/platform/qcom/camss-8x16/camss-video.h
index 0d2cef3d224a..e3b459fb4754 100644
--- a/drivers/media/platform/qcom/camss-8x16/camss-video.h
+++ b/drivers/media/platform/qcom/camss-8x16/camss-video.h
@@ -29,7 +29,7 @@
struct camss_buffer {
struct vb2_v4l2_buffer vb;
- dma_addr_t addr;
+ dma_addr_t addr[3];
struct list_head queue;
};
@@ -41,6 +41,8 @@ struct camss_video_ops {
enum vb2_buffer_state state);
};
+struct camss_format_info;
+
struct camss_video {
struct camss *camss;
struct vb2_queue vb2_q;
@@ -52,12 +54,14 @@ struct camss_video {
const struct camss_video_ops *ops;
struct mutex lock;
struct mutex q_lock;
+ const struct camss_format_info *formats;
+ unsigned int nformats;
};
void msm_video_stop_streaming(struct camss_video *video);
int msm_video_register(struct camss_video *video, struct v4l2_device *v4l2_dev,
- const char *name);
+ const char *name, int is_pix);
void msm_video_unregister(struct camss_video *video);