1 From 5de7cb2cac5f7d76cb025ddc8fb09c99a1007e08 Mon Sep 17 00:00:00 2001
2 From: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
3 Date: Tue, 10 Mar 2009 10:49:02 +0200
4 Subject: [PATCH] omap3isp: Add ISP tables
6 * Blue Gamma gain table
8 * Green Gamma gain table
9 * Luma Enhancement gain table
10 * Noise filter gain table
11 * Red Gamma gain table
15 - Get rid of this kind of tables. Either generate them at runtime or
16 use a user space program to fill defaults.
18 Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
20 drivers/media/video/isp/bluegamma_table.h | 1040 ++++++++++++++++++++++++++
21 drivers/media/video/isp/cfa_coef_table.h | 603 +++++++++++++++
22 drivers/media/video/isp/greengamma_table.h | 1040 ++++++++++++++++++++++++++
23 drivers/media/video/isp/luma_enhance_table.h | 144 ++++
24 drivers/media/video/isp/noise_filter_table.h | 79 ++
25 drivers/media/video/isp/redgamma_table.h | 1040 ++++++++++++++++++++++++++
26 6 files changed, 3946 insertions(+), 0 deletions(-)
27 create mode 100644 drivers/media/video/isp/bluegamma_table.h
28 create mode 100644 drivers/media/video/isp/cfa_coef_table.h
29 create mode 100644 drivers/media/video/isp/greengamma_table.h
30 create mode 100644 drivers/media/video/isp/luma_enhance_table.h
31 create mode 100644 drivers/media/video/isp/noise_filter_table.h
32 create mode 100644 drivers/media/video/isp/redgamma_table.h
34 diff --git a/drivers/media/video/isp/bluegamma_table.h b/drivers/media/video/isp/bluegamma_table.h
36 index 0000000..301382a
38 +++ b/drivers/media/video/isp/bluegamma_table.h
43 + * Gamma Table values for BLUE for TI's OMAP3 Camera ISP
45 + * Copyright (C) 2009 Texas Instruments, Inc.
47 + * This package is free software; you can redistribute it and/or modify
48 + * it under the terms of the GNU General Public License version 2 as
49 + * published by the Free Software Foundation.
51 + * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
52 + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
53 + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1080 diff --git a/drivers/media/video/isp/cfa_coef_table.h b/drivers/media/video/isp/cfa_coef_table.h
1081 new file mode 100644
1082 index 0000000..8cafa1f
1084 +++ b/drivers/media/video/isp/cfa_coef_table.h
1087 + * cfa_coef_table.h
1089 + * Copyright (C) 2009 Nokia Corporation
1091 + * Contact: Sakari Ailus <sakari.ailus@nokia.com>
1092 + * Tuukka Toivonen <tuukka.o.toivonen@nokia.com>
1094 + * Written by Gjorgji Rosikopulos
1096 + * This program is free software; you can redistribute it and/or
1097 + * modify it under the terms of the GNU General Public License
1098 + * version 2 as published by the Free Software Foundation.
1100 + * This program is distributed in the hope that it will be useful, but
1101 + * WITHOUT ANY WARRANTY; without even the implied warranty of
1102 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1103 + * General Public License for more details.
1105 + * You should have received a copy of the GNU General Public License
1106 + * along with this program; if not, write to the Free Software
1107 + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
1689 diff --git a/drivers/media/video/isp/greengamma_table.h b/drivers/media/video/isp/greengamma_table.h
1690 new file mode 100644
1691 index 0000000..0f5c5e4
1693 +++ b/drivers/media/video/isp/greengamma_table.h
1696 + * greengamma_table.h
1698 + * Gamma Table values for GREEN for TI's OMAP3 Camera ISP
1700 + * Copyright (C) 2009 Texas Instruments, Inc.
1702 + * This package is free software; you can redistribute it and/or modify
1703 + * it under the terms of the GNU General Public License version 2 as
1704 + * published by the Free Software Foundation.
1706 + * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1707 + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1708 + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
2735 diff --git a/drivers/media/video/isp/luma_enhance_table.h b/drivers/media/video/isp/luma_enhance_table.h
2736 new file mode 100644
2737 index 0000000..99c8b05
2739 +++ b/drivers/media/video/isp/luma_enhance_table.h
2742 + * luma_enhance_table.h
2744 + * Luminance Enhancement table values for TI's OMAP3 Camera ISP
2746 + * Copyright (C) 2009 Texas Instruments, Inc.
2748 + * This package is free software; you can redistribute it and/or modify
2749 + * it under the terms of the GNU General Public License version 2 as
2750 + * published by the Free Software Foundation.
2752 + * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
2753 + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
2754 + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
2885 diff --git a/drivers/media/video/isp/noise_filter_table.h b/drivers/media/video/isp/noise_filter_table.h
2886 new file mode 100644
2887 index 0000000..7345f90
2889 +++ b/drivers/media/video/isp/noise_filter_table.h
2892 + * noise_filter_table.h
2894 + * Noise Filter Table values for TI's OMAP3 Camera ISP
2896 + * Copyright (C) 2009 Texas Instruments, Inc.
2898 + * This package is free software; you can redistribute it and/or modify
2899 + * it under the terms of the GNU General Public License version 2 as
2900 + * published by the Free Software Foundation.
2902 + * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
2903 + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
2904 + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
2970 diff --git a/drivers/media/video/isp/redgamma_table.h b/drivers/media/video/isp/redgamma_table.h
2971 new file mode 100644
2972 index 0000000..ad0232a
2974 +++ b/drivers/media/video/isp/redgamma_table.h
2977 + * redgamma_table.h
2979 + * Gamma Table values for RED for TI's OMAP3 Camera ISP
2981 + * Copyright (C) 2009 Texas Instruments, Inc.
2983 + * This package is free software; you can redistribute it and/or modify
2984 + * it under the terms of the GNU General Public License version 2 as
2985 + * published by the Free Software Foundation.
2987 + * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
2988 + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
2989 + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.