sfc: Don't use enums as a bitmask.
[zen-stable.git] / drivers / media / video / omap3isp / isphist.h
blob0b2a38ec94c4af59bb9c30750d7574d24c4b1dc5
1 /*
2 * isphist.h
4 * TI OMAP3 ISP - Histogram module
6 * Copyright (C) 2010 Nokia Corporation
7 * Copyright (C) 2009 Texas Instruments, Inc.
9 * Contacts: David Cohen <dacohen@gmail.com>
10 * Laurent Pinchart <laurent.pinchart@ideasonboard.com>
11 * Sakari Ailus <sakari.ailus@iki.fi>
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License version 2 as
15 * published by the Free Software Foundation.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
25 * 02110-1301 USA
28 #ifndef OMAP3_ISP_HIST_H
29 #define OMAP3_ISP_HIST_H
31 #include <linux/omap3isp.h>
33 #define ISPHIST_IN_BIT_WIDTH_CCDC 10
35 struct isp_device;
37 int omap3isp_hist_init(struct isp_device *isp);
38 void omap3isp_hist_cleanup(struct isp_device *isp);
40 #endif /* OMAP3_ISP_HIST */