]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/media/v4l2-common.h
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / include / media / v4l2-common.h
index 3a1ef141ec079e7c44ce05dd4273ae8c95ca37ce..6b319d0d73ad9ed11945612be491b50d76b41a5f 100644 (file)
@@ -408,9 +408,11 @@ struct v4l2_format_info {
 
 const struct v4l2_format_info *v4l2_format_info(u32 format);
 
-int v4l2_fill_pixfmt(struct v4l2_pix_format *pixfmt, int pixelformat,
-                    int width, int height);
-int v4l2_fill_pixfmt_mp(struct v4l2_pix_format_mplane *pixfmt, int pixelformat,
-                       int width, int height);
+void v4l2_apply_frmsize_constraints(u32 *width, u32 *height,
+                                   const struct v4l2_frmsize_stepwise *frmsize);
+int v4l2_fill_pixfmt(struct v4l2_pix_format *pixfmt, u32 pixelformat,
+                    u32 width, u32 height);
+int v4l2_fill_pixfmt_mp(struct v4l2_pix_format_mplane *pixfmt, u32 pixelformat,
+                       u32 width, u32 height);
 
 #endif /* V4L2_COMMON_H_ */