aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/samsung
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/samsung')
-rw-r--r--drivers/video/samsung/dsim2/s5p_mipi_dsi.c61
-rw-r--r--drivers/video/samsung/extension/mdnie.c57
-rw-r--r--drivers/video/samsung/extension/mdnie.h2
-rw-r--r--drivers/video/samsung/extension/s5p_fimd_ext.c45
-rw-r--r--drivers/video/samsung/extension/s5p_fimd_lite.c502
-rw-r--r--drivers/video/samsung/extension/s5p_fimd_lite.h37
-rw-r--r--drivers/video/samsung/mdnie.c186
-rw-r--r--drivers/video/samsung/mdnie.h9
-rw-r--r--drivers/video/samsung/mdnie_color_tone.h21
-rw-r--r--drivers/video/samsung/mdnie_color_tone_4210.h20
-rw-r--r--drivers/video/samsung/mdnie_table.h117
-rw-r--r--drivers/video/samsung/mdnie_table_4412.h123
-rw-r--r--drivers/video/samsung/mdnie_table_c1m0.h81
-rw-r--r--drivers/video/samsung/mdnie_table_gc1.h1011
-rw-r--r--drivers/video/samsung/mdnie_table_p2_boe.h282
-rw-r--r--drivers/video/samsung/mdnie_table_p2_hydis.h273
-rw-r--r--drivers/video/samsung/mdnie_table_p2_sec.h260
-rw-r--r--drivers/video/samsung/mdnie_table_p4.h260
-rw-r--r--drivers/video/samsung/mdnie_table_p4note.h840
-rw-r--r--drivers/video/samsung/mdnie_table_p8.h89
-rw-r--r--drivers/video/samsung/mdnie_table_q1.h89
-rw-r--r--drivers/video/samsung/mdnie_table_u1.h89
-rw-r--r--drivers/video/samsung/s3cfb.h8
-rw-r--r--drivers/video/samsung/s3cfb_s6e8aa0.c2
-rw-r--r--drivers/video/samsung/s6e8aa0_gamma_jenga.h933
25 files changed, 2185 insertions, 3212 deletions
diff --git a/drivers/video/samsung/dsim2/s5p_mipi_dsi.c b/drivers/video/samsung/dsim2/s5p_mipi_dsi.c
index e1b5b6a..6ed8d7e 100644
--- a/drivers/video/samsung/dsim2/s5p_mipi_dsi.c
+++ b/drivers/video/samsung/dsim2/s5p_mipi_dsi.c
@@ -42,6 +42,11 @@
#define master_to_device(a) (a->dsim_lcd_dev)
#define dev_to_dsim(a) platform_get_drvdata(to_platform_device(a))
+#ifdef CONFIG_SLP_DISP_DEBUG
+#define DSIM_MAX_REG 128
+#define DSIM_BASE_REG 0x11C80000
+#endif
+
struct mipi_dsim_ddi {
int bus_id;
struct list_head list;
@@ -267,9 +272,6 @@ struct mipi_dsim_ddi
return dsim_ddi;
}
}
-
- kfree(dsim_ddi);
- list_del(&dsim_ddi->list);
}
out:
@@ -478,6 +480,43 @@ static int s5p_mipi_dsi_power_on(struct mipi_dsim_device *dsim, bool enable)
return 0;
}
+#ifdef CONFIG_SLP_DISP_DEBUG
+static int s5p_mipi_dsi_read_reg(struct mipi_dsim_device *dsim, char *buf)
+{
+ u32 cfg;
+ int i;
+ int pos = 0;
+
+ pos += sprintf(buf+pos, "0x%.8x | ", DSIM_BASE_REG);
+ for (i = 1; i < DSIM_MAX_REG + 1; i++) {
+ cfg = readl(dsim->reg_base + ((i-1) * sizeof(u32)));
+ pos += sprintf(buf+pos, "0x%.8x ", cfg);
+ if (i % 4 == 0)
+ pos += sprintf(buf+pos, "\n0x%.8x | ",
+ DSIM_BASE_REG + (i * sizeof(u32)));
+ }
+
+ return pos;
+}
+
+static ssize_t show_read_reg(struct device *dev, struct device_attribute *attr,
+ char *buf)
+{
+ struct mipi_dsim_device *dsim = dev_to_dsim(dev);
+
+ if (!dsim->reg_base) {
+ dev_err(dev, "failed to get current register.\n");
+ return -EINVAL;
+ }
+
+ return s5p_mipi_dsi_read_reg(dsim, buf);
+}
+
+static struct device_attribute device_attrs[] = {
+ __ATTR(read_reg, S_IRUGO, show_read_reg, NULL),
+};
+#endif
+
static int s5p_mipi_dsi_probe(struct platform_device *pdev)
{
struct resource *res;
@@ -487,6 +526,9 @@ static int s5p_mipi_dsi_probe(struct platform_device *pdev)
struct mipi_dsim_lcd_driver *client_drv;
struct mipi_dsim_ddi *dsim_ddi;
int ret = -EINVAL;
+#ifdef CONFIG_SLP_DISP_DEBUG
+ int i;
+#endif
dsim = kzalloc(sizeof(struct mipi_dsim_device), GFP_KERNEL);
if (!dsim) {
@@ -597,6 +639,18 @@ static int s5p_mipi_dsi_probe(struct platform_device *pdev)
client_drv = dsim_ddi->dsim_lcd_drv;
+#ifdef CONFIG_SLP_DISP_DEBUG
+ for (i = 0; i < ARRAY_SIZE(device_attrs); i++) {
+ ret = device_create_file(&(pdev->dev),
+ &device_attrs[i]);
+ if (ret)
+ break;
+ }
+
+ if (ret < 0)
+ dev_err(&pdev->dev, "failed to add sysfs entries\n");
+#endif
+
/* initialize mipi-dsi client(lcd panel). */
if (client_drv && client_drv->probe)
client_drv->probe(dsim_ddi->dsim_lcd_dev);
@@ -706,6 +760,7 @@ static int __devexit s5p_mipi_dsi_remove(struct platform_device *pdev)
if (dsim_lcd_drv->remove)
dsim_lcd_drv->remove(dsim_ddi->dsim_lcd_dev);
+ list_del(&dsim_ddi->list);
kfree(dsim_ddi);
}
}
diff --git a/drivers/video/samsung/extension/mdnie.c b/drivers/video/samsung/extension/mdnie.c
index e2ad4cc..f7cb7c7 100644
--- a/drivers/video/samsung/extension/mdnie.c
+++ b/drivers/video/samsung/extension/mdnie.c
@@ -40,6 +40,10 @@
/* FIXME:!! need to change chip id dynamically */
#define MDNIE_CHIP_ID "cmc623p"
+#ifdef CONFIG_SLP_DISP_DEBUG
+#define MDNIE_MAX_REG 128
+#define MDNIE_BASE_REG 0x11CA0000
+#endif
static const char *mode_name[MODE_MAX] = {
"dynamic",
@@ -105,6 +109,19 @@ static void mdnie_write_tune(struct s5p_mdnie *mdnie,
}
}
+static void mdnie_wr_tune_dat(struct s5p_mdnie *mdnie, const u8 *data)
+{
+ unsigned int val1 = 0, val2 = 0;
+ int ret;
+ char *str = NULL;
+
+ while ((str = strsep((char **)&data, "\n"))) {
+ ret = sscanf(str, "0x%x,0x%x,\n", &val1, &val2);
+ if (ret == 2)
+ writel((u16)val2, mdnie->regs+(u16)val1*4);
+ }
+}
+
static int mdnie_request_fw(struct s5p_mdnie *mdnie, const char *name)
{
const struct firmware *fw;
@@ -122,8 +139,7 @@ static int mdnie_request_fw(struct s5p_mdnie *mdnie, const char *name)
return ret;
}
- mdnie_write_tune(mdnie, (const unsigned short *)fw->data,
- fw->size / sizeof(const unsigned short));
+ mdnie_wr_tune_dat(mdnie, fw->data);
release_firmware(fw);
mutex_unlock(&mdnie->lock);
@@ -628,6 +644,40 @@ static ssize_t show_mdnie_tune(struct device *dev,
return snprintf(buf, PAGE_SIZE, "%d\n", mdnie->tune);
}
+#ifdef CONFIG_SLP_DISP_DEBUG
+static int mdnie_read_reg(struct s5p_mdnie *mdnie, char *buf)
+{
+ u32 cfg;
+ int i;
+ int pos = 0;
+
+ pos += sprintf(buf+pos, "0x%.8x | ", MDNIE_BASE_REG);
+ for (i = 1; i < MDNIE_MAX_REG + 1; i++) {
+ cfg = readl(mdnie->regs + ((i-1) * sizeof(u32)));
+ pos += sprintf(buf+pos, "0x%.8x ", cfg);
+ if (i % 4 == 0)
+ pos += sprintf(buf+pos, "\n0x%.8x | ",
+ MDNIE_BASE_REG + (i * sizeof(u32)));
+ }
+
+ return pos;
+}
+
+static ssize_t show_read_reg(struct device *dev, struct device_attribute *attr,
+ char *buf)
+{
+ struct s5p_fimd_ext_device *fx_dev = to_fimd_ext_device(dev);
+ struct s5p_mdnie *mdnie = fimd_ext_get_drvdata(fx_dev);
+
+ if (!mdnie->regs) {
+ dev_err(dev, "failed to get current register.\n");
+ return -EINVAL;
+ }
+
+ return mdnie_read_reg(mdnie, buf);
+}
+#endif
+
/* sys/devices/platform/mdnie */
static struct device_attribute mdnie_device_attrs[] = {
__ATTR(mode, S_IRUGO|S_IWUSR, show_mdnie_mode,
@@ -640,6 +690,9 @@ static struct device_attribute mdnie_device_attrs[] = {
store_mdnie_outdoor),
__ATTR(tune, S_IRUGO|S_IWUSR, show_mdnie_tune,
store_mdnie_tune),
+#ifdef CONFIG_SLP_DISP_DEBUG
+ __ATTR(read_reg, S_IRUGO, show_read_reg, NULL),
+#endif
};
static int mdnie_probe(struct s5p_fimd_ext_device *fx_dev)
diff --git a/drivers/video/samsung/extension/mdnie.h b/drivers/video/samsung/extension/mdnie.h
index 145efc1..dd01ce0 100644
--- a/drivers/video/samsung/extension/mdnie.h
+++ b/drivers/video/samsung/extension/mdnie.h
@@ -15,7 +15,7 @@
#define _MDNIE_H_
#define MDNIE_MAX_STR 255
-#define MDNIE_FW_PATH "mdnie/%s/%s.bin"
+#define MDNIE_FW_PATH "mdnie/%s_tune_%s.dat"
/* set - main, optional */
enum mdnie_set {
diff --git a/drivers/video/samsung/extension/s5p_fimd_ext.c b/drivers/video/samsung/extension/s5p_fimd_ext.c
index 0c197b6..d6d56f1 100644
--- a/drivers/video/samsung/extension/s5p_fimd_ext.c
+++ b/drivers/video/samsung/extension/s5p_fimd_ext.c
@@ -26,6 +26,7 @@ struct s5p_fimd_ext {
struct device *dev;
};
+static struct class_compat *s5p_fimd_ext_cls;
static LIST_HEAD(fimd_ext_list);
static DEFINE_MUTEX(fimd_ext_lock);
@@ -135,14 +136,25 @@ int s5p_fimd_ext_device_register(struct s5p_fimd_ext_device *fx_dev)
}
ret = device_add(&fx_dev->dev);
- if (ret == 0) {
- mutex_lock(&fimd_ext_lock);
- list_add_tail(&fimd_ext->list, &fimd_ext_list);
- mutex_unlock(&fimd_ext_lock);
+ if (ret)
+ goto err_clear;
- return ret;
+ mutex_lock(&fimd_ext_lock);
+ list_add_tail(&fimd_ext->list, &fimd_ext_list);
+ mutex_unlock(&fimd_ext_lock);
+
+ ret = class_compat_create_link(s5p_fimd_ext_cls, &fx_dev->dev,
+ fx_dev->dev.parent);
+ if (ret) {
+ dev_err(&fx_dev->dev, "failed to create compatibility link");
+ goto err_del;
}
+ return 0;
+
+err_del:
+ list_del(&fimd_ext->list);
+err_clear:
kfree(fimd_ext);
return ret;
@@ -194,14 +206,33 @@ struct s5p_fimd_ext_device *s5p_fimd_ext_find_device(const char *name)
static int __init s5p_fimd_ext_init(void)
{
- return bus_register(&s5p_fimd_ext_bus_type);
+ int ret;
+
+ ret = bus_register(&s5p_fimd_ext_bus_type);
+ if (ret)
+ return ret;
+
+ s5p_fimd_ext_cls = class_compat_register("extension");
+ if (!s5p_fimd_ext_cls) {
+ ret = -ENOMEM;
+ goto err_unreg;
+ }
+
+ return 0;
+
+err_unreg:
+ bus_unregister(&s5p_fimd_ext_bus_type);
+
+ return ret;
}
static void __exit s5p_fimd_ext_exit(void)
{
+ class_compat_unregister(s5p_fimd_ext_cls);
+ bus_unregister(&s5p_fimd_ext_bus_type);
}
-early_initcall(s5p_fimd_ext_init);
+postcore_initcall(s5p_fimd_ext_init);
module_exit(s5p_fimd_ext_exit);
MODULE_AUTHOR("InKi Dae <inki.dae@samsung.com>");
diff --git a/drivers/video/samsung/extension/s5p_fimd_lite.c b/drivers/video/samsung/extension/s5p_fimd_lite.c
deleted file mode 100644
index 3e128b8..0000000
--- a/drivers/video/samsung/extension/s5p_fimd_lite.c
+++ /dev/null
@@ -1,502 +0,0 @@
-/* /linux/driver/video/samsung/s5p_fimd_lite.c
- *
- * Samsung SoC FIMD Lite driver.
- *
- * Author: InKi Dae <inki.dae@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-#include <linux/errno.h>
-#include <linux/err.h>
-#include <linux/clk.h>
-#include <linux/io.h>
-#include <linux/irq.h>
-#include <linux/slab.h>
-#include <linux/interrupt.h>
-#include <linux/fb.h>
-
-#include <plat/clock.h>
-#include <plat/fb.h>
-#include <plat/cpu.h>
-#include <plat/fimd_lite_ext.h>
-#include <plat/regs-fb.h>
-
-#include <mach/map.h>
-
-#include "s5p_fimd_ext.h"
-#include "s5p_fimd_lite.h"
-#include "regs_fimd_lite.h"
-
-static void *to_fimd_lite_platform_data(struct s5p_fimd_ext_device *fx_dev)
-{
- return fx_dev->dev.platform_data ? (void *)fx_dev->dev.platform_data :
- NULL;
-}
-
-static void s5p_fimd_lite_set_par(struct s5p_fimd_lite *fimd_lite,
- unsigned int win_id)
-{
- struct exynos_drm_fimd_pdata *lcd;
- struct fb_videomode timing;
- unsigned int cfg;
-
- lcd = fimd_lite->lcd;
- timing = lcd->panel.timing;
-
- /* set window control */
- cfg = readl(fimd_lite->iomem_base + S5P_WINCON(win_id));
-
- cfg &= ~(S5P_WINCON_BITSWP_ENABLE | S5P_WINCON_BYTESWP_ENABLE | \
- S5P_WINCON_HAWSWP_ENABLE | S5P_WINCON_WSWP_ENABLE | \
- S5P_WINCON_BURSTLEN_MASK | S5P_WINCON_BPPMODE_MASK | \
- S5P_WINCON_INRGB_MASK | S5P_WINCON_DATAPATH_MASK);
-
- /* DATAPATH is LOCAL */
- cfg |= S5P_WINCON_DATAPATH_LOCAL;
-
- /* pixel format is unpacked RGB888 */
- cfg |= S5P_WINCON_INRGB_RGB | S5P_WINCON_BPPMODE_32BPP;
-
- writel(cfg, fimd_lite->iomem_base + S5P_WINCON(win_id));
-
- /* set window position to x=0, y=0*/
- cfg = S5P_VIDOSD_LEFT_X(0) | S5P_VIDOSD_TOP_Y(0);
- writel(cfg, fimd_lite->iomem_base + S5P_VIDOSD_A(win_id));
-
- cfg = S5P_VIDOSD_RIGHT_X(timing.xres - 1) |
- S5P_VIDOSD_BOTTOM_Y(timing.yres - 1);
- writel(cfg, fimd_lite->iomem_base + S5P_VIDOSD_B(win_id));
-
- /* set window size for window0*/
- cfg = S5P_VIDOSD_SIZE(timing.xres * timing.yres);
- writel(cfg, fimd_lite->iomem_base + S5P_VIDOSD_C(win_id));
-
- return;
-}
-
-static void s5p_fimd_lite_set_clock(struct s5p_fimd_lite *fimd_lite)
-{
- unsigned int cfg = 0, div = 0;
- unsigned int pixel_clock, src_clock, max_clock;
- struct clk *clk;
- struct exynos_drm_fimd_pdata *lcd;
- struct fb_videomode timing;
-
- lcd = fimd_lite->lcd;
- timing = lcd->panel.timing;
-
- clk = fimd_lite->clk;
-
- max_clock = 86 * 1000000;
-
- pixel_clock = timing.refresh *
- (timing.left_margin + timing.right_margin +
- timing.hsync_len + timing.xres) * (timing.upper_margin +
- timing.lower_margin + timing.vsync_len + timing.yres);
-
- src_clock = clk_get_rate(clk->parent);
-
- cfg = readl(fimd_lite->iomem_base + S5P_VIDCON0);
- cfg &= ~(S5P_VIDCON0_VCLKEN_MASK | S5P_VIDCON0_CLKVALUP_MASK |
- S5P_VIDCON0_CLKVAL_F(0xFF));
- cfg |= (S5P_VIDCON0_CLKVALUP_ALWAYS | S5P_VIDCON0_VCLKEN_NORMAL);
-
- cfg |= S5P_VIDCON0_CLKSEL_HCLK;
-
- if (pixel_clock > max_clock)
- pixel_clock = max_clock;
-
- div = (unsigned int)(src_clock / pixel_clock);
- if (src_clock % pixel_clock)
- div++;
-
- cfg |= S5P_VIDCON0_CLKVAL_F(div - 1);
- writel(cfg, fimd_lite->iomem_base + S5P_VIDCON0);
-
- return;
-}
-
-static void s5p_fimd_lite_window_on(struct s5p_fimd_lite *fimd_lite,
- unsigned int win_id, unsigned int enable)
-{
- unsigned int cfg;
-
- /* enable window */
- cfg = readl(fimd_lite->iomem_base + S5P_WINCON(win_id));
-
- cfg &= ~S5P_WINCON_ENWIN_ENABLE;
-
- if (enable)
- cfg |= S5P_WINCON_ENWIN_ENABLE;
-
- writel(cfg, fimd_lite->iomem_base + S5P_WINCON(win_id));
-}
-
-static void s5p_fimd_lite_lcd_on(struct s5p_fimd_lite *fimd_lite,
- unsigned int enable)
-{
- unsigned int cfg;
-
- cfg = readl(fimd_lite->iomem_base + S5P_VIDCON0);
-
- cfg &= ~(S5P_VIDCON0_ENVID_ENABLE | S5P_VIDCON0_ENVID_F_ENABLE);
-
- if (enable)
- cfg |= (S5P_VIDCON0_ENVID_ENABLE | S5P_VIDCON0_ENVID_F_ENABLE);
-
- writel(cfg, fimd_lite->iomem_base + S5P_VIDCON0);
-}
-
-void s5p_fimd_lite_get_vsync_interrupt(struct s5p_fimd_lite *fimd_lite,
- unsigned int enable)
-{
- unsigned int cfg;
-
- cfg = readl(fimd_lite->iomem_base + S5P_VIDINTCON0);
- cfg &= ~(S5P_VIDINTCON0_INTFRMEN_ENABLE | S5P_VIDINTCON0_INT_ENABLE |
- S5P_VIDINTCON0_FRAMESEL0_VSYNC);
-
- if (enable) {
- cfg |= (S5P_VIDINTCON0_INTFRMEN_ENABLE |
- S5P_VIDINTCON0_INT_ENABLE |
- S5P_VIDINTCON0_FRAMESEL0_VSYNC);
- } else {
- cfg |= (S5P_VIDINTCON0_INTFRMEN_DISABLE |
- S5P_VIDINTCON0_INT_DISABLE);
-
- cfg &= ~S5P_VIDINTCON0_FRAMESEL0_VSYNC;
- }
-
- writel(cfg, fimd_lite->iomem_base + S5P_VIDINTCON0);
-}
-
-static void s5p_change_dynamic_refresh(struct s5p_fimd_dynamic_refresh
- *fimd_refresh, struct s5p_fimd_ext_device *fx_dev)
-{
- unsigned int cfg = 0, ret = 0;
- struct s5p_fimd_lite *fimd_lite = fimd_ext_get_drvdata(fx_dev);
- struct exynos_drm_fimd_pdata *lcd;
- struct fb_videomode timing;
- unsigned long flags;
- u32 vclk, src_clk, refresh;
-
- lcd = fimd_lite->lcd;
- timing = lcd->panel.timing;
-
- cfg = readl(fimd_lite->iomem_base + S5P_VIDCON0);
- cfg &= ~(S5P_VIDCON0_CLKVALUP_START_FRAME | S5P_VIDCON0_CLKVAL_F(0xFF));
- cfg |= (S5P_VIDCON0_CLKVALUP_ALWAYS | S5P_VIDCON0_VCLKEN_NORMAL);
- cfg |= S5P_VIDCON0_CLKVAL_F(fimd_refresh->clkdiv - 1);
-
- if (!irqs_disabled())
- local_irq_save(flags);
-
- if (timing.refresh == 60) {
- while (1) {
- ret = (__raw_readl(fimd_lite->iomem_base +
- S5P_VIDCON1) >> 13) &
- S5P_VIDCON1_VSTATUS_MASK;
- if (ret == S5P_VIDCON1_VSTATUS_BACKPORCH) {
- __raw_writel(cfg, fimd_lite->iomem_base +
- S5P_VIDCON0);
- ret = (__raw_readl(fimd_refresh->regs +
- VIDCON1) >> 13) &
- S5P_VIDCON1_VSTATUS_MASK;
- if (ret == S5P_VIDCON1_VSTATUS_ACTIVE) {
- __raw_writel(cfg,
- fimd_refresh->regs + VIDCON0);
- break;
- }
- }
- }
- } else {
- while (1) {
- ret = (__raw_readl(fimd_refresh->regs + VIDCON1) >> 13)
- & S5P_VIDCON1_VSTATUS_MASK;
- if (ret == S5P_VIDCON1_VSTATUS_ACTIVE) {
- ret = (__raw_readl(fimd_lite->iomem_base +
- S5P_VIDCON1) >> 13) &
- S5P_VIDCON1_VSTATUS_MASK;
- if (ret == S5P_VIDCON1_VSTATUS_FRONTPORCH) {
- __raw_writel(cfg,
- fimd_refresh->regs + VIDCON0);
- __raw_writel(cfg,
- fimd_lite->iomem_base +
- S5P_VIDCON0);
- break;
- }
- }
- }
- }
- if (irqs_disabled())
- local_irq_restore(flags);
-
- src_clk = clk_get_rate(fimd_lite->clk->parent);
- vclk = timing.refresh * (timing.left_margin + timing.hsync_len +
- timing.right_margin + timing.xres) *
- (timing.upper_margin + timing.vsync_len +
- timing.lower_margin + timing.yres);
-
- refresh = timing.refresh -
- ((vclk - (src_clk / fimd_refresh->clkdiv)) / MHZ);
- dev_dbg(fimd_lite->dev, "expected refresh rate: %d fps\n", refresh);
-}
-
-static irqreturn_t s5p_fimd_lite_irq_frame(int irq, void *dev_id)
-{
- struct s5p_fimd_lite *fimd_lite;
-
- fimd_lite = (struct s5p_fimd_lite *)dev_id;
-
- disable_irq_nosync(fimd_lite->irq);
-
- enable_irq(fimd_lite->irq);
-
- return IRQ_HANDLED;
-}
-
-static void s5p_fimd_lite_logic_start(struct s5p_fimd_lite *fimd_lite,
- unsigned int enable)
-{
- unsigned int cfg;
-
- cfg = 0x2ff47;
-
- if (enable)
- writel(cfg, fimd_lite->iomem_base + S5P_GPOUTCON0);
- else
- writel(0, fimd_lite->iomem_base + S5P_GPOUTCON0);
-}
-
-static void s5p_fimd_lite_lcd_init(struct s5p_fimd_lite *fimd_lite)
-{
- unsigned int cfg, rgb_mode, win_id = 0;
- struct exynos_drm_fimd_pdata *lcd;
- struct fb_videomode timing;
-
- lcd = fimd_lite->lcd;
- timing = lcd->panel.timing;
-
- cfg = 0;
- cfg |= lcd->vidcon1;
-
- writel(cfg, fimd_lite->iomem_base + S5P_VIDCON1);
-
- /* set timing */
- cfg = 0;
- cfg |= S5P_VIDTCON0_VBPD(timing.upper_margin - 1);
- cfg |= S5P_VIDTCON0_VFPD(timing.lower_margin - 1);
- cfg |= S5P_VIDTCON0_VSPW(timing.vsync_len - 1);
- writel(cfg, fimd_lite->iomem_base + S5P_VIDTCON0);
-
- cfg = 0;
- cfg |= S5P_VIDTCON1_HBPD(timing.left_margin - 1);
- cfg |= S5P_VIDTCON1_HFPD(timing.right_margin - 1);
- cfg |= S5P_VIDTCON1_HSPW(timing.hsync_len - 1);
-
- writel(cfg, fimd_lite->iomem_base + S5P_VIDTCON1);
-
- /* set lcd size */
- cfg = 0;
- cfg |= S5P_VIDTCON2_HOZVAL(timing.xres - 1);
- cfg |= S5P_VIDTCON2_LINEVAL(timing.yres - 1);
-
- writel(cfg, fimd_lite->iomem_base + S5P_VIDTCON2);
-
- writel(0, fimd_lite->iomem_base + S5P_DITHMODE);
-
- /* set output to RGB */
- rgb_mode = 0; /* MODE_RGB_P */
- cfg = readl(fimd_lite->iomem_base + S5P_VIDCON0);
- cfg &= ~S5P_VIDCON0_VIDOUT_MASK;
-
- cfg |= S5P_VIDCON0_VIDOUT_RGB;
- writel(cfg, fimd_lite->iomem_base + S5P_VIDCON0);
-
- /* set display mode */
- cfg = readl(fimd_lite->iomem_base + S5P_VIDCON0);
- cfg &= ~S5P_VIDCON0_PNRMODE_MASK;
- cfg |= (rgb_mode << S5P_VIDCON0_PNRMODE_SHIFT);
- writel(cfg, fimd_lite->iomem_base + S5P_VIDCON0);
-
- s5p_fimd_lite_get_vsync_interrupt(fimd_lite, 0);
-
- /* set par */
- s5p_fimd_lite_set_par(fimd_lite, win_id);
-
- /* set buffer size */
- cfg = S5P_VIDADDR_PAGEWIDTH(timing.xres * lcd->bpp / 8);
- writel(cfg, fimd_lite->iomem_base + S5P_VIDADDR_SIZE(win_id));
-
- /* set clock */
- s5p_fimd_lite_set_clock(fimd_lite);
-
- return;
-}
-
-static int s5p_fimd_lite_setup(struct s5p_fimd_ext_device *fx_dev,
- unsigned int enable)
-{
- struct s5p_fimd_lite *fimd_lite = fimd_ext_get_drvdata(fx_dev);
-
- s5p_fimd_lite_logic_start(fimd_lite, enable);
-
- s5p_fimd_lite_lcd_init(fimd_lite);
-
-
- s5p_fimd_lite_window_on(fimd_lite, 0, 1);
-
- return 0;
-}
-
-static int s5p_fimd_lite_start(struct s5p_fimd_ext_device *fx_dev)
-{
- struct s5p_fimd_lite *fimd_lite = fimd_ext_get_drvdata(fx_dev);
-
- s5p_fimd_lite_lcd_on(fimd_lite, 1);
-
- return 0;
-}
-
-static void s5p_fimd_lite_stop(struct s5p_fimd_ext_device *fx_dev)
-{
- struct s5p_fimd_lite *fimd_lite = fimd_ext_get_drvdata(fx_dev);
-
- s5p_fimd_lite_lcd_on(fimd_lite, 0);
-}
-
-static void s5p_fimd_lite_power_on(struct s5p_fimd_ext_device *fx_dev)
-{
- struct s5p_fimd_lite *fimd_lite = fimd_ext_get_drvdata(fx_dev);
-
- clk_enable(fimd_lite->clk);
-}
-
-static void s5p_fimd_lite_power_off(struct s5p_fimd_ext_device *fx_dev)
-{
- struct s5p_fimd_lite *fimd_lite = fimd_ext_get_drvdata(fx_dev);
-
- clk_disable(fimd_lite->clk);
-}
-
-static int s5p_fimd_lite_probe(struct s5p_fimd_ext_device *fx_dev)
-{
- struct clk *sclk = NULL;
- struct resource *res;
- struct s5p_fimd_lite *fimd_lite;
- int ret = -1;
-
- fimd_lite = kzalloc(sizeof(struct s5p_fimd_lite), GFP_KERNEL);
- if (!fimd_lite) {
- dev_err(&fx_dev->dev, "failed to alloc fimd_lite object.\n");
- return -EFAULT;
- }
-
- fimd_lite->dev = &fx_dev->dev;
- fimd_lite->lcd = (struct exynos_drm_fimd_pdata *)
- to_fimd_lite_platform_data(fx_dev);
-
- res = s5p_fimd_ext_get_resource(fx_dev, IORESOURCE_MEM, 0);
- if (!res) {
- dev_err(&fx_dev->dev, "failed to get io memory region.\n");
- ret = -EINVAL;
- goto err0;
- }
-
- fimd_lite->iomem_base = ioremap(res->start, resource_size(res));
- if (!fimd_lite->iomem_base) {
- dev_err(&fx_dev->dev, "failed to remap io region\n");
- ret = -EFAULT;
- goto err0;
- }
-
- fimd_lite->clk = clk_get(&fx_dev->dev, "mdnie0");
- if (IS_ERR(fimd_lite->clk)) {
- dev_err(&fx_dev->dev, "failed to get FIMD LITE clock source\n");
- ret = -EINVAL;
- goto err1;
- }
-
- sclk = clk_get(&fx_dev->dev, "sclk_mdnie");
- if (IS_ERR(sclk)) {
- dev_err(&fx_dev->dev, "failed to get sclk_mdnie clock\n");
- ret = -EINVAL;
- goto err2;
- }
- fimd_lite->clk->parent = sclk;
-
- fimd_lite->irq = s5p_fimd_ext_get_irq(fx_dev, 0);
-
- /* register interrupt handler for fimd-lite. */
- if (request_irq(fimd_lite->irq, s5p_fimd_lite_irq_frame, IRQF_DISABLED,
- fx_dev->name, (void *)fimd_lite)) {
- dev_err(&fx_dev->dev, "request_irq failed\n");
- ret = -EINVAL;
- goto err3;
- }
-
- fimd_ext_set_drvdata(fx_dev, fimd_lite);
-
- dev_info(&fx_dev->dev, "fimd lite driver has been probed.\n");
-
- return 0;
-
-err3:
- free_irq(fimd_lite->irq, fx_dev);
-err2:
- clk_put(sclk);
-err1:
- iounmap(fimd_lite->iomem_base);
- clk_put(fimd_lite->clk);
-err0:
- kfree(fimd_lite);
-
- return ret;
-
-}
-
-static struct s5p_fimd_ext_driver fimd_ext_driver = {
- .driver = {
- .name = "fimd_lite",
- .owner = THIS_MODULE,
- },
- .change_clock = s5p_change_dynamic_refresh,
- .power_on = s5p_fimd_lite_power_on,
- .power_off = s5p_fimd_lite_power_off,
- .setup = s5p_fimd_lite_setup,
- .start = s5p_fimd_lite_start,
- .stop = s5p_fimd_lite_stop,
- .probe = s5p_fimd_lite_probe,
-};
-
-static int __init s5p_fimd_lite_init(void)
-{
- return s5p_fimd_ext_driver_register(&fimd_ext_driver);
-}
-
-static void __exit s5p_fimd_lite_exit(void)
-{
-}
-
-arch_initcall(s5p_fimd_lite_init);
-module_exit(s5p_fimd_lite_exit);
-
-MODULE_AUTHOR("InKi Dae <inki.dae@samsung.com>");
-MODULE_DESCRIPTION("FIMD Lite Driver");
-MODULE_LICENSE("GPL");
-
diff --git a/drivers/video/samsung/extension/s5p_fimd_lite.h b/drivers/video/samsung/extension/s5p_fimd_lite.h
deleted file mode 100644
index a8ef492..0000000
--- a/drivers/video/samsung/extension/s5p_fimd_lite.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* linux/arch/arm/plat-s5p/s5p_fimd_lite.h
- *
- * FIMD Lite Platform Specific Header Definitions.
- *
- * Copyright (c) 2010 Samsung Electronics
- * InKi Dae <inki.dae@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef _S5P_FIMD_LITE_H_
-#define _S5P_FIMD_LITE_H_
-
-#include <drm/exynos_drm.h>
-
-struct s5p_fimd_lite_platform_data {
- unsigned int reg_base;
- unsigned int reg_map_size;
- unsigned int irq;
-};
-
-struct s5p_fimd_lite {
- struct device *dev;
- struct clk *clk;
- void __iomem *iomem_base;
- unsigned int irq;
- unsigned int dynamic_refresh;
-
- struct exynos_drm_fimd_pdata *lcd;
-};
-
-void s5p_fimd_lite_get_vsync_interrupt(struct s5p_fimd_lite *fimd_lite,
- unsigned int enable);
-
-#endif /* _S5P_FIMD_LITE_H_ */
diff --git a/drivers/video/samsung/mdnie.c b/drivers/video/samsung/mdnie.c
index e5b829ed..257b10bc 100644
--- a/drivers/video/samsung/mdnie.c
+++ b/drivers/video/samsung/mdnie.c
@@ -10,6 +10,7 @@
* published by the Free Software Foundation.
*/
+#include <mach/gpio.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
@@ -22,9 +23,9 @@
#ifdef CONFIG_HAS_EARLYSUSPEND
#include <linux/earlysuspend.h>
#endif
-#include <mach/gpio.h>
#include <linux/delay.h>
#include <linux/lcd.h>
+#include <linux/rtc.h>
#include "s3cfb.h"
#include "s3cfb_mdnie.h"
@@ -48,12 +49,16 @@
#else /* CONFIG_CPU_EXYNOS4210 */
#if defined(CONFIG_FB_S5P_S6E8AA0)
#include "mdnie_table_c1m0.h"
+#elif defined(CONFIG_FB_S5P_EA8061) || defined(CONFIG_FB_S5P_S6EVR02)
+#include "mdnie_table_t0.h"
#elif defined(CONFIG_FB_S5P_S6E63M0)
#include "mdnie_table_c1m0.h"
#elif defined(CONFIG_FB_S5P_S6C1372)
#include "mdnie_table_p4note.h"
#elif defined(CONFIG_FB_S5P_S6D6AA1)
#include "mdnie_table_gc1.h"
+#elif defined(CONFIG_FB_S5P_LMS501XX)
+#include "mdnie_table_baffin.h"
#else
#include "mdnie_table_4412.h"
#endif
@@ -74,11 +79,11 @@
#define DIM_BACKLIGHT_VALUE 16
#define CABC_CUTOFF_BACKLIGHT_VALUE 40 /* 2.5% */
#elif defined(CONFIG_FB_S5P_S6C1372)
-#define MAX_BACKLIGHT_VALUE 1441 //90%
+#define MAX_BACKLIGHT_VALUE 1441 /* 90% */
#define MID_BACKLIGHT_VALUE 784
#define LOW_BACKLIGHT_VALUE 16
#define DIM_BACKLIGHT_VALUE 16
-#define CABC_CUTOFF_BACKLIGHT_VALUE 40 /* 2.5% */
+#define CABC_CUTOFF_BACKLIGHT_VALUE 34
#endif
#define MAX_BRIGHTNESS_LEVEL 255
#define MID_BRIGHTNESS_LEVEL 150
@@ -110,6 +115,16 @@ struct mdnie_info *g_mdnie;
static struct mdnie_backlight_value b_value;
#endif
+struct sysfs_debug_info {
+ u8 enable;
+ pid_t pid;
+ char comm[TASK_COMM_LEN];
+ char time[128];
+};
+
+static struct sysfs_debug_info negative[5];
+static u8 negative_idx;
+
int mdnie_send_sequence(struct mdnie_info *mdnie, const unsigned short *seq)
{
int ret = 0, i = 0;
@@ -163,13 +178,15 @@ void set_mdnie_value(struct mdnie_info *mdnie, u8 force)
if (mdnie->negative == NEGATIVE_ON) {
dev_info(mdnie->dev, "NEGATIVE_ON\n");
- mdnie_send_sequence(mdnie, tune_negative[mdnie->cabc].seq);
+ mdnie_send_sequence(mdnie, negative_table[mdnie->cabc].seq);
goto exit;
}
#if defined(CONFIG_TDMB) || defined(CONFIG_TARGET_LOCALE_NTT)
if (SCENARIO_IS_DMB(mdnie->scenario)) {
idx = mdnie->scenario - DMB_NORMAL_MODE;
+ mdnie->tone = idx;
+
mdnie_send_sequence(mdnie, tune_dmb[mdnie->mode].seq);
dev_info(mdnie->dev, "mode=%d, scenario=%d, outdoor=%d, cabc=%d, %s\n",
mdnie->mode, mdnie->scenario, mdnie->outdoor,
@@ -180,20 +197,15 @@ void set_mdnie_value(struct mdnie_info *mdnie, u8 force)
if (SCENARIO_IS_COLOR(mdnie->scenario)) {
idx = mdnie->scenario - COLOR_TONE_1;
- mdnie_send_sequence(mdnie, tune_color_tone[idx].seq);
+ mdnie_send_sequence(mdnie, color_tone_table[idx].seq);
dev_info(mdnie->dev, "mode=%d, scenario=%d, outdoor=%d, cabc=%d, %s\n",
mdnie->mode, mdnie->scenario, mdnie->outdoor, mdnie->cabc,
- tune_color_tone[idx].name);
+ color_tone_table[idx].name);
goto exit;
- } else if ((mdnie->scenario == CAMERA_MODE) && (mdnie->outdoor == OUTDOOR_OFF)) {
- mdnie_send_sequence(mdnie, tune_camera);
- dev_info(mdnie->dev, "%s\n", "CAMERA");
-
- goto exit;
- } else if ((mdnie->scenario == CAMERA_MODE) && (mdnie->outdoor == OUTDOOR_ON)) {
- mdnie_send_sequence(mdnie, tune_camera_outdoor);
- dev_info(mdnie->dev, "%s\n", "CAMERA_OUTDOOR");
+ } else if (mdnie->scenario == CAMERA_MODE) {
+ mdnie_send_sequence(mdnie, camera_table[mdnie->outdoor].seq);
+ dev_info(mdnie->dev, "%s\n", camera_table[mdnie->outdoor].name);
goto exit;
} else {
@@ -294,7 +306,7 @@ static void mdnie_pwm_control_cabc(struct mdnie_info *mdnie, int value)
mutex_lock(&mdnie->dev_lock);
idx = tunning_table[mdnie->cabc][mdnie->mode][mdnie->scenario].idx_lut;
- p_plut = power_lut[idx];
+ p_plut = power_lut[mdnie->power_lut_idx][idx];
min_duty = p_plut[7] * value / 100;
mdnie_write(0x00, 0x0000);
@@ -337,7 +349,7 @@ static void mdnie_pwm_control_cabc(struct mdnie_info *mdnie, int value)
mutex_lock(&mdnie->dev_lock);
idx = tunning_table[mdnie->cabc][mdnie->mode][mdnie->scenario].idx_lut;
- p_plut = power_lut[idx];
+ p_plut = power_lut[mdnie->power_lut_idx][idx];
min_duty = p_plut[7] * value / 100;
mdnie_write(0x00, 0x0001);
@@ -375,9 +387,10 @@ static int update_brightness(struct mdnie_info *mdnie)
value = get_backlight_level_from_brightness(brightness);
if (!mdnie->enable) {
- dev_err(mdnie->dev, "WTH! do not configure mDNIe after LCD/mDNIe power off\n");
+ dev_err(mdnie->dev, "mdnie states is off\n");
return 0;
}
+
if (brightness <= CABC_CUTOFF_BACKLIGHT_VALUE) {
mdnie_pwm_control(mdnie, value);
} else {
@@ -571,6 +584,60 @@ static ssize_t cabc_store(struct device *dev,
return count;
}
+
+static ssize_t auto_brightness_show(struct device *dev,
+ struct device_attribute *attr, char *buf)
+{
+ struct mdnie_info *mdnie = dev_get_drvdata(dev);
+ char *pos = buf;
+ int i;
+
+ pos += sprintf(pos, "%d, %d, ", mdnie->auto_brightness, mdnie->power_lut_idx);
+
+ for (i = 0; i < 5; i++)
+ pos += sprintf(pos, "0x%02x, ", power_lut[mdnie->power_lut_idx][0][i]);
+
+ pos += sprintf(pos, "\n");
+
+ return pos - buf;
+}
+
+static ssize_t auto_brightness_store(struct device *dev,
+ struct device_attribute *attr, const char *buf, size_t size)
+{
+ struct mdnie_info *mdnie = dev_get_drvdata(dev);
+ int value;
+ int rc;
+
+ rc = strict_strtoul(buf, (unsigned int)0, (unsigned long *)&value);
+ if (rc < 0)
+ return rc;
+ else {
+ if (mdnie->auto_brightness != value) {
+ dev_info(dev, "%s - %d -> %d\n", __func__, mdnie->auto_brightness, value);
+ mutex_lock(&mdnie->dev_lock);
+ mdnie->auto_brightness = value;
+#if defined(CONFIG_FB_S5P_S6C1372)
+ mutex_lock(&mdnie->lock);
+ mdnie->cabc = (value) ? CABC_ON : CABC_OFF;
+ mutex_unlock(&mdnie->lock);
+#endif
+ if (mdnie->auto_brightness >= 5)
+ mdnie->power_lut_idx = LUT_LEVEL_OUTDOOR_2;
+ else if (mdnie->auto_brightness == 4)
+ mdnie->power_lut_idx = LUT_LEVEL_OUTDOOR_1;
+ else
+ mdnie->power_lut_idx = LUT_LEVEL_MANUAL_AND_INDOOR;
+ mutex_unlock(&mdnie->dev_lock);
+ set_mdnie_value(mdnie, 0);
+ if (mdnie->bd_enable)
+ update_brightness(mdnie);
+ }
+ }
+ return size;
+}
+
+static DEVICE_ATTR(auto_brightness, 0644, auto_brightness_show, auto_brightness_store);
#endif
static ssize_t tunning_show(struct device *dev,
@@ -614,12 +681,20 @@ static ssize_t negative_show(struct device *dev,
struct device_attribute *attr, char *buf)
{
struct mdnie_info *mdnie = dev_get_drvdata(dev);
- char temp[3];
+ char *pos = buf;
+ u32 i;
- sprintf(temp, "%d\n", mdnie->negative);
- strcpy(buf, temp);
+ pos += sprintf(pos, "%d\n", mdnie->negative);
- return strlen(buf);
+ for (i = 0; i < 5; i++) {
+ if (negative[i].enable) {
+ pos += sprintf(pos, "pid=%d, ", negative[i].pid);
+ pos += sprintf(pos, "%s, ", negative[i].comm);
+ pos += sprintf(pos, "%s\n", negative[i].time);
+ }
+ }
+
+ return pos - buf;
}
static ssize_t negative_store(struct device *dev,
@@ -628,9 +703,11 @@ static ssize_t negative_store(struct device *dev,
struct mdnie_info *mdnie = dev_get_drvdata(dev);
unsigned int value;
int ret;
+ struct timespec ts;
+ struct rtc_time tm;
ret = strict_strtoul(buf, 0, (unsigned long *)&value);
- dev_info(dev, "%s :: value=%d\n", __func__, value);
+ dev_info(dev, "%s :: value=%d, by %s\n", __func__, value, current->comm);
if (ret < 0)
return ret;
@@ -645,6 +722,17 @@ static ssize_t negative_store(struct device *dev,
mutex_lock(&mdnie->lock);
mdnie->negative = value;
+ if (value) {
+ getnstimeofday(&ts);
+ rtc_time_to_tm(ts.tv_sec, &tm);
+ negative[negative_idx].enable = value;
+ negative[negative_idx].pid = current->pid;
+ strcpy(negative[negative_idx].comm, current->comm);
+ sprintf(negative[negative_idx].time, "%d-%02d-%02d %02d:%02d:%02d",
+ tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec);
+ negative_idx++;
+ negative_idx %= 5;
+ }
mutex_unlock(&mdnie->lock);
set_mdnie_value(mdnie, 0);
@@ -657,17 +745,22 @@ static struct device_attribute mdnie_attributes[] = {
__ATTR(scenario, 0664, scenario_show, scenario_store),
__ATTR(outdoor, 0664, outdoor_show, outdoor_store),
#if defined(CONFIG_FB_MDNIE_PWM)
+#if defined(CONFIG_FB_S5P_S6C1372)
+ __ATTR(cabc, 0444, cabc_show, NULL),
+#else
__ATTR(cabc, 0664, cabc_show, cabc_store),
#endif
+#endif
__ATTR(tunning, 0664, tunning_show, tunning_store),
__ATTR(negative, 0664, negative_show, negative_store),
__ATTR_NULL,
};
#ifdef CONFIG_PM
-#if defined(CONFIG_HAS_EARLYSUSPEND) && defined(CONFIG_FB_MDNIE_PWM)
+#if defined(CONFIG_HAS_EARLYSUSPEND)
void mdnie_early_suspend(struct early_suspend *h)
{
+#if defined(CONFIG_FB_MDNIE_PWM)
struct mdnie_info *mdnie = container_of(h, struct mdnie_info, early_suspend);
struct lcd_platform_data *pd = NULL;
pd = mdnie->lcd_pd;
@@ -688,13 +781,16 @@ void mdnie_early_suspend(struct early_suspend *h)
pd->power_on(NULL, 0);
dev_info(mdnie->dev, "-%s\n", __func__);
+#endif
return ;
}
void mdnie_late_resume(struct early_suspend *h)
{
+ u32 i;
struct mdnie_info *mdnie = container_of(h, struct mdnie_info, early_suspend);
+#if defined(CONFIG_FB_MDNIE_PWM)
struct lcd_platform_data *pd = NULL;
dev_info(mdnie->dev, "+%s\n", __func__);
@@ -718,6 +814,11 @@ void mdnie_late_resume(struct early_suspend *h)
mdnie->bd_enable = TRUE;
dev_info(mdnie->dev, "-%s\n", __func__);
+#endif
+ for (i = 0; i < 5; i++) {
+ if (negative[i].enable)
+ dev_info(mdnie->dev, "pid=%d, %s, %s\n", negative[i].pid, negative[i].comm, negative[i].time);
+ }
return ;
}
@@ -756,12 +857,22 @@ static int mdnie_probe(struct platform_device *pdev)
}
#if defined(CONFIG_FB_MDNIE_PWM)
+ if (!pdata) {
+ pr_err("no platform data specified\n");
+ ret = -EINVAL;
+ goto error2;
+ }
+
mdnie->bd = backlight_device_register("panel", mdnie->dev,
mdnie, &mdnie_backlight_ops, NULL);
mdnie->bd->props.max_brightness = MAX_BRIGHTNESS_LEVEL;
mdnie->bd->props.brightness = DEFAULT_BRIGHTNESS;
mdnie->bd_enable = TRUE;
mdnie->lcd_pd = pdata->lcd_pd;
+
+ ret = device_create_file(&mdnie->bd->dev, &dev_attr_auto_brightness);
+ if (ret < 0)
+ dev_err(&mdnie->bd->dev, "failed to add sysfs entries, %d\n", __LINE__);
#endif
mdnie->scenario = CYANOGENMOD_MODE;
@@ -770,9 +881,15 @@ static int mdnie_probe(struct platform_device *pdev)
mdnie->outdoor = OUTDOOR_OFF;
#if defined(CONFIG_FB_MDNIE_PWM)
mdnie->cabc = CABC_ON;
+ mdnie->power_lut_idx = LUT_LEVEL_MANUAL_AND_INDOOR;
+ mdnie->auto_brightness = 0;
#else
mdnie->cabc = CABC_OFF;
#endif
+
+#if defined(CONFIG_FB_S5P_S6C1372)
+ mdnie->cabc = CABC_OFF;
+#endif
mdnie->enable = TRUE;
mdnie->tunning = FALSE;
mdnie->negative = NEGATIVE_OFF;
@@ -785,7 +902,7 @@ static int mdnie_probe(struct platform_device *pdev)
#ifdef CONFIG_HAS_WAKELOCK
#ifdef CONFIG_HAS_EARLYSUSPEND
-#if defined(CONFIG_FB_MDNIE_PWM)
+#if 1 /* defined(CONFIG_FB_MDNIE_PWM) */
mdnie->early_suspend.suspend = mdnie_early_suspend;
mdnie->early_suspend.resume = mdnie_late_resume;
mdnie->early_suspend.level = EARLY_SUSPEND_LEVEL_DISABLE_FB - 1;
@@ -803,8 +920,8 @@ static int mdnie_probe(struct platform_device *pdev)
b_value.low = 16;
b_value.dim = 16;
} else {
- b_value.max = 1137; /* 71% */
- b_value.mid = 482; /* 38% */
+ b_value.max = 1216; /* 76% */
+ b_value.mid = 679; /* 39% */
b_value.low = 16; /* 1% */
b_value.dim = 16; /* 1% */
}
@@ -812,20 +929,17 @@ static int mdnie_probe(struct platform_device *pdev)
#if defined(CONFIG_FB_S5P_S6F1202A)
if (pdata->display_type == 0) {
- memcpy(tunning_table, tunning_table_hy, sizeof(tunning_table));
- memcpy(etc_table, etc_table_hy, sizeof(etc_table));
- tune_camera = tune_camera_hy;
- tune_camera_outdoor = tune_camera_outdoor_hy;
+ memcpy(tunning_table, tunning_table_hydis, sizeof(tunning_table));
+ memcpy(etc_table, etc_table_hydis, sizeof(etc_table));
+ memcpy(camera_table, camera_table_hydis, sizeof(camera_table));
} else if (pdata->display_type == 1) {
memcpy(tunning_table, tunning_table_sec, sizeof(tunning_table));
memcpy(etc_table, etc_table_sec, sizeof(etc_table));
- tune_camera = tune_camera_sec;
- tune_camera_outdoor = tune_camera_outdoor_sec;
+ memcpy(camera_table, camera_table_sec, sizeof(camera_table));
} else if (pdata->display_type == 2) {
- memcpy(tunning_table, tunning_table_bo, sizeof(tunning_table));
- memcpy(etc_table, etc_table_bo, sizeof(etc_table));
- tune_camera = tune_camera_bo;
- tune_camera_outdoor = tune_camera_outdoor_bo;
+ memcpy(tunning_table, tunning_table_boe, sizeof(tunning_table));
+ memcpy(etc_table, etc_table_boe, sizeof(etc_table));
+ memcpy(camera_table, camera_table_boe, sizeof(camera_table));
}
#endif
diff --git a/drivers/video/samsung/mdnie.h b/drivers/video/samsung/mdnie.h
index 1e05dc6..136f6f8 100644
--- a/drivers/video/samsung/mdnie.h
+++ b/drivers/video/samsung/mdnie.h
@@ -69,6 +69,13 @@ enum POWER_LUT {
LUT_MAX,
};
+enum POWER_LUT_LEVEL {
+ LUT_LEVEL_MANUAL_AND_INDOOR,
+ LUT_LEVEL_OUTDOOR_1,
+ LUT_LEVEL_OUTDOOR_2,
+ LUT_LEVEL_MAX,
+};
+
enum NEGATIVE {
NEGATIVE_OFF,
NEGATIVE_ON,
@@ -92,6 +99,8 @@ struct mdnie_info {
struct lcd_platform_data *lcd_pd;
struct backlight_device *bd;
unsigned int bd_enable;
+ unsigned int auto_brightness;
+ unsigned int power_lut_idx;
#endif
struct mutex lock;
struct mutex dev_lock;
diff --git a/drivers/video/samsung/mdnie_color_tone.h b/drivers/video/samsung/mdnie_color_tone.h
index b54716c..5564eca 100644
--- a/drivers/video/samsung/mdnie_color_tone.h
+++ b/drivers/video/samsung/mdnie_color_tone.h
@@ -64,7 +64,8 @@ static const unsigned short tune_color_tone_3[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_negative_amoled[] = {
+#if !defined(CONFIG_FB_MDNIE_PWM)
+static const unsigned short tune_negative[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x0020, /*SCR*/
0x00e1, 0x00ff, /*SCR RrCr*/
@@ -82,8 +83,8 @@ static const unsigned short tune_negative_amoled[] = {
0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-
-static const unsigned short tune_negative_cabcoff[] = {
+#else
+static const unsigned short tune_negative[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x0020, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
@@ -102,8 +103,9 @@ static const unsigned short tune_negative_cabcoff[] = {
0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
+#endif
-static const unsigned short tune_negative_cabcOn[] = {
+static const unsigned short tune_negative_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x0220, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
@@ -129,20 +131,19 @@ static const unsigned short tune_negative_cabcOn[] = {
END_SEQ, 0x0000,
};
-struct mdnie_tunning_info tune_negative[CABC_MAX] = {
+struct mdnie_tunning_info negative_table[CABC_MAX] = {
#if defined(CONFIG_FB_MDNIE_PWM)
- {"NEGATIVE_CABC_OFF", tune_negative_cabcoff},
- {"NEGATIVE_CABC_ON", tune_negative_cabcOn},
+ {"NEGATIVE", tune_negative},
+ {"NEGATIVE_CABC", tune_negative_cabc},
#else
- {"NEGATIVE_ON", tune_negative_amoled},
+ {"NEGATIVE", tune_negative},
#endif
};
-struct mdnie_tunning_info tune_color_tone[COLOR_TONE_MAX - COLOR_TONE_1] = {
+struct mdnie_tunning_info color_tone_table[COLOR_TONE_MAX - COLOR_TONE_1] = {
{"COLOR_TONE_1", tune_color_tone_1},
{"COLOR_TONE_2", tune_color_tone_2},
{"COLOR_TONE_3", tune_color_tone_3},
};
-
#endif /* __MDNIE_COLOR_TONE_H__ */
diff --git a/drivers/video/samsung/mdnie_color_tone_4210.h b/drivers/video/samsung/mdnie_color_tone_4210.h
index d755a4f..d311909 100644
--- a/drivers/video/samsung/mdnie_color_tone_4210.h
+++ b/drivers/video/samsung/mdnie_color_tone_4210.h
@@ -156,7 +156,7 @@ static const unsigned short tune_color_tone_3[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_negative_lcd_cabc_on[] = {
+static const unsigned short tune_negative_cabc[] = {
/*start p4 note negative cabcon*/
0x0001, 0x0070, /*SCR LABC CABC HDTR*/
0x002c, 0x0fff, /*DNR bypass*/
@@ -190,7 +190,8 @@ static const unsigned short tune_negative_lcd_cabc_on[] = {
};
-static const unsigned short tune_negative_lcd_cabc_off[] = {
+#if defined(CONFIG_FB_MDNIE_PWM)
+static const unsigned short tune_negative[] = {
/*start p4 note negative cabcoff*/
0x0001, 0x0060, /*SCR LABC HDTR*/
0x002c, 0x0fff, /*DNR bypass*/
@@ -217,8 +218,8 @@ static const unsigned short tune_negative_lcd_cabc_off[] = {
/*end*/
END_SEQ, 0x0000,
};
-
-static const unsigned short tune_negative_amoled[] = {
+#else
+static const unsigned short tune_negative[] = {
/*start Q1 negative*/
0x0001, 0x0040, /*SCR HDTR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
@@ -244,17 +245,18 @@ static const unsigned short tune_negative_amoled[] = {
/*end*/
END_SEQ, 0x0000,
};
+#endif
-struct mdnie_tunning_info tune_negative[CABC_MAX] = {
+struct mdnie_tunning_info negative_table[CABC_MAX] = {
#if defined(CONFIG_FB_MDNIE_PWM)
- {"NEGATIVE_CABC_OFF", tune_negative_lcd_cabc_off},
- {"NEGATIVE_CABC_ON", tune_negative_lcd_cabc_on},
+ {"NEGATIVE", tune_negative},
+ {"NEGATIVE_CABC", tune_negative_cabc},
#else
- {"NEGATIVE_ON", tune_negative_amoled},
+ {"NEGATIVE", tune_negative},
#endif
};
-struct mdnie_tunning_info tune_color_tone[COLOR_TONE_MAX - COLOR_TONE_1] = {
+struct mdnie_tunning_info color_tone_table[COLOR_TONE_MAX - COLOR_TONE_1] = {
{"COLOR_TONE_1", tune_color_tone_1},
{"COLOR_TONE_2", tune_color_tone_2},
{"COLOR_TONE_3", tune_color_tone_3},
diff --git a/drivers/video/samsung/mdnie_table.h b/drivers/video/samsung/mdnie_table.h
index f52b662..2ce420f 100644
--- a/drivers/video/samsung/mdnie_table.h
+++ b/drivers/video/samsung/mdnie_table.h
@@ -16,7 +16,7 @@ static const unsigned short tune_dynamic_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_vtcall[] = {
+static const unsigned short tune_dynamic_vt[] = {
END_SEQ, 0x0000,
};
@@ -32,7 +32,7 @@ static const unsigned short tune_movie_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_vtcall[] = {
+static const unsigned short tune_movie_vt[] = {
END_SEQ, 0x0000,
};
@@ -48,7 +48,7 @@ static const unsigned short tune_standard_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_vtcall[] = {
+static const unsigned short tune_standard_vt[] = {
END_SEQ, 0x0000,
};
@@ -64,13 +64,17 @@ static const unsigned short tune_natural_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_natural_vtcall[] = {
+static const unsigned short tune_natural_vt[] = {
END_SEQ, 0x0000,
};
-static const unsigned short *tune_camera;
+static const unsigned short tune_camera[] = {
+ END_SEQ, 0x0000,
+};
-static const unsigned short *tune_camera_outdoor;
+static const unsigned short tune_camera_outdoor[] = {
+ END_SEQ, 0x0000,
+};
static const unsigned short tune_cold[] = {
END_SEQ, 0x0000,
@@ -80,7 +84,7 @@ static const unsigned short tune_cold_outdoor[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor[] = {
+static const unsigned short tune_normal_outdoor[] = {
END_SEQ, 0x0000,
};
@@ -100,7 +104,7 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{"COLD", tune_cold},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor},
{"WARM_OUTDOOR", tune_warm_outdoor},
{"COLD_OUTDOOR", tune_cold_outdoor},
},
@@ -112,61 +116,61 @@ struct mdnie_tunning_info_cabc tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] =
{
{
{"DYNAMIC_UI", tune_dynamic_ui, 0},
- {"DYNAMIC_VIDEO_NORMAL", tune_dynamic_video, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM", tune_dynamic_video, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"DYNAMIC_UI", tune_dynamic_ui, 0},
{"DYNAMIC_GALLERY", tune_dynamic_gallery, 0},
- {"DYNAMIC_VT", tune_dynamic_vtcall, 0},
+ {"DYNAMIC_VT", tune_dynamic_vt, 0},
}, {
{"STANDARD_UI", tune_standard_ui, 0},
- {"STANDARD_VIDEO_NORMAL", tune_standard_video, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM", tune_standard_video, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD", tune_standard_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"STANDARD_UI", tune_standard_ui, 0},
{"STANDARD_GALLERY", tune_standard_gallery, 0},
- {"STANDARD_VT", tune_standard_vtcall, 0},
+ {"STANDARD_VT", tune_standard_vt, 0},
}, {
{"MOVIE_UI", tune_movie_ui, 0},
- {"MOVIE_VIDEO_NORMAL", tune_movie_video, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM", tune_movie_video, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD", tune_movie_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"MOVIE_UI", tune_movie_ui, 0},
{"MOVIE_GALLERY", tune_movie_gallery, 0},
- {"MOVIE_VT", tune_movie_vtcall, 0},
+ {"MOVIE_VT", tune_movie_vt, 0},
},
},
{
{
{"DYNAMIC_UI_CABC", tune_dynamic_ui, 0},
- {"DYNAMIC_VIDEO_NORMAL_CABC", tune_dynamic_video, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM_CABC", tune_dynamic_video, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"DYNAMIC_UI_CABC", tune_dynamic_ui, 0},
{"DYNAMIC_GALLERY_CABC", tune_dynamic_gallery, 0},
- {"DYNAMIC_VT_CABC", tune_dynamic_vtcall, 0},
+ {"DYNAMIC_VT_CABC", tune_dynamic_vt, 0},
}, {
{"STANDARD_UI_CABC", tune_standard_ui, 0},
- {"STANDARD_VIDEO_NORMAL_CABC", tune_standard_video, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM_CABC", tune_standard_video, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD_CABC", tune_standard_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"STANDARD_VIDEO_CABC", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"STANDARD_UI_CABC", tune_standard_ui, 0},
{"STANDARD_GALLERY_CABC", tune_standard_gallery, 0},
- {"STANDARD_VT_CABC", tune_standard_vtcall, 0},
+ {"STANDARD_VT_CABC", tune_standard_vt, 0},
}, {
{"MOVIE_UI_CABC", tune_movie_ui, 0},
- {"MOVIE_VIDEO_NORMAL_CABC", tune_movie_video, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM_CABC", tune_movie_video, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD_CABC", tune_movie_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"MOVIE_VIDEO_CABC", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"MOVIE_UI_CABC", tune_movie_ui, 0},
{"MOVIE_GALLERY_CABC", tune_movie_gallery, 0},
- {"MOVIE_VT_CABC", tune_movie_vtcall, 0},
+ {"MOVIE_VT_CABC", tune_movie_vt, 0},
},
},
};
@@ -175,43 +179,48 @@ struct mdnie_tunning_info tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
{"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_VIDEO_NORMAL", tune_dynamic_video},
- {"DYNAMIC_VIDEO_WARM", tune_dynamic_video},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
{"CAMERA", NULL/*tune_camera*/},
{"DYNAMIC_UI", tune_dynamic_ui},
{"DYNAMIC_GALLERY", tune_dynamic_gallery},
- {"DYNAMIC_VT", tune_dynamic_vtcall},
+ {"DYNAMIC_VT", tune_dynamic_vt},
}, {
{"STANDARD_UI", tune_standard_ui},
- {"STANDARD_VIDEO_NORMAL", tune_standard_video},
- {"STANDARD_VIDEO_WARM", tune_standard_video},
- {"STANDARD_VIDEO_COLD", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
{"CAMERA", NULL/*tune_camera*/},
{"STANDARD_UI", tune_standard_ui},
{"STANDARD_GALLERY", tune_standard_gallery},
- {"STANDARD_VT", tune_standard_vtcall},
+ {"STANDARD_VT", tune_standard_vt},
}, {
{"NATURAL_UI", tune_natural_ui},
- {"NATURAL_VIDEO_NORMAL", tune_natural_video},
- {"NATURAL_VIDEO_WARM", tune_natural_video},
- {"NATURAL_VIDEO_COLD", tune_natural_video},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"NATURAL_VIDEO", tune_natural_video},
{"CAMERA", NULL/*tune_camera*/},
{"NATURAL_UI", tune_natural_ui},
{"NATURAL_GALLERY", tune_natural_gallery},
- {"NATURAL_VT", tune_natural_vtcall},
+ {"NATURAL_VT", tune_natural_vt},
}, {
{"MOVIE_UI", tune_movie_ui},
- {"MOVIE_VIDEO_NORMAL", tune_movie_video},
- {"MOVIE_VIDEO_WARM", tune_movie_video},
- {"MOVIE_VIDEO_COLD", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
{"CAMERA", NULL/*tune_camera*/},
{"MOVIE_UI", tune_movie_ui},
{"MOVIE_GALLERY", tune_movie_gallery},
- {"MOVIE_VT", tune_movie_vtcall},
+ {"MOVIE_VT", tune_movie_vt},
},
}
};
#endif
+struct mdnie_tunning_info camera_table[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor},
+};
+
#endif /* __MDNIE_TABLE_H__ */
diff --git a/drivers/video/samsung/mdnie_table_4412.h b/drivers/video/samsung/mdnie_table_4412.h
index 5fbed85..a5b1e3d 100644
--- a/drivers/video/samsung/mdnie_table_4412.h
+++ b/drivers/video/samsung/mdnie_table_4412.h
@@ -25,7 +25,7 @@ static const unsigned short tune_dynamic_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_vtcall[] = {
+static const unsigned short tune_dynamic_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x00ff, 0x0000, /*Mask Release*/
@@ -53,7 +53,7 @@ static const unsigned short tune_movie_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_vtcall[] = {
+static const unsigned short tune_movie_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x00ff, 0x0000, /*Mask Release*/
@@ -81,7 +81,7 @@ static const unsigned short tune_standard_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_vtcall[] = {
+static const unsigned short tune_standard_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x00ff, 0x0000, /*Mask Release*/
@@ -109,16 +109,24 @@ static const unsigned short tune_natural_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_natural_vtcall[] = {
+static const unsigned short tune_natural_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short *tune_camera;
+static const unsigned short tune_camera[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+};
-static const unsigned short *tune_camera_outdoor;
+static const unsigned short tune_camera_outdoor[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+};
static const unsigned short tune_cold[] = {
0x0000, 0x0000, /*BANK 0*/
@@ -134,7 +142,7 @@ static const unsigned short tune_cold_outdoor[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor[] = {
+static const unsigned short tune_normal_outdoor[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x00ff, 0x0000, /*Mask Release*/
@@ -164,7 +172,7 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{"COLD", tune_cold},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor},
{"WARM_OUTDOOR", tune_warm_outdoor},
{"COLD_OUTDOOR", tune_cold_outdoor},
},
@@ -176,7 +184,7 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{"COLD_CABC", tune_cold},
},
{
- {"NORMAL_OUTDOOR_CABC", tune_outdoor},
+ {"NORMAL_OUTDOOR_CABC", tune_normal_outdoor},
{"WARM_OUTDOOR_CABC", tune_warm_outdoor},
{"COLD_OUTDOOR_CABC", tune_cold_outdoor},
},
@@ -187,61 +195,61 @@ struct mdnie_tunning_info_cabc tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] =
{
{
{"DYNAMIC_UI", tune_dynamic_ui, 0},
- {"DYNAMIC_VIDEO_NORMAL", tune_dynamic_video, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM", tune_dynamic_video, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"DYNAMIC_UI", tune_dynamic_ui, 0},
{"DYNAMIC_GALLERY", tune_dynamic_gallery, 0},
- {"DYNAMIC_VT", tune_dynamic_vtcall, 0},
+ {"DYNAMIC_VT", tune_dynamic_vt, 0},
}, {
{"STANDARD_UI", tune_standard_ui, 0},
- {"STANDARD_VIDEO_NORMAL", tune_standard_video, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM", tune_standard_video, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD", tune_standard_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"STANDARD_UI", tune_standard_ui, 0},
{"STANDARD_GALLERY", tune_standard_gallery, 0},
- {"STANDARD_VT", tune_standard_vtcall, 0},
+ {"STANDARD_VT", tune_standard_vt, 0},
}, {
{"MOVIE_UI", tune_movie_ui, 0},
- {"MOVIE_VIDEO_NORMAL", tune_movie_video, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM", tune_movie_video, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD", tune_movie_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"MOVIE_UI", tune_movie_ui, 0},
{"MOVIE_GALLERY", tune_movie_gallery, 0},
- {"MOVIE_VT", tune_movie_vtcall, 0},
+ {"MOVIE_VT", tune_movie_vt, 0},
},
},
{
{
{"DYNAMIC_UI_CABC", tune_dynamic_ui, 0},
- {"DYNAMIC_VIDEO_NORMAL_CABC", tune_dynamic_video, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM_CABC", tune_dynamic_video, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"DYNAMIC_UI_CABC", tune_dynamic_ui, 0},
{"DYNAMIC_GALLERY_CABC", tune_dynamic_gallery, 0},
- {"DYNAMIC_VT_CABC", tune_dynamic_vtcall, 0},
+ {"DYNAMIC_VT_CABC", tune_dynamic_vt, 0},
}, {
{"STANDARD_UI_CABC", tune_standard_ui, 0},
- {"STANDARD_VIDEO_NORMAL_CABC", tune_standard_video, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM_CABC", tune_standard_video, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD_CABC", tune_standard_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"STANDARD_VIDEO_CABC", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"STANDARD_UI_CABC", tune_standard_ui, 0},
{"STANDARD_GALLERY_CABC", tune_standard_gallery, 0},
- {"STANDARD_VT_CABC", tune_standard_vtcall, 0},
+ {"STANDARD_VT_CABC", tune_standard_vt, 0},
}, {
{"MOVIE_UI_CABC", tune_movie_ui, 0},
- {"MOVIE_VIDEO_NORMAL_CABC", tune_movie_video, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM_CABC", tune_movie_video, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD_CABC", tune_movie_video, LUT_VIDEO},
- {"CAMERA", NULL/*tune_camera*/, 0},
+ {"MOVIE_VIDEO_CABC", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video, LUT_VIDEO},
+ {"CAMERA", NULL/*tune_camera*/, 0},
{"MOVIE_UI_CABC", tune_movie_ui, 0},
{"MOVIE_GALLERY_CABC", tune_movie_gallery, 0},
- {"MOVIE_VT_CABC", tune_movie_vtcall, 0},
+ {"MOVIE_VT_CABC", tune_movie_vt, 0},
},
},
};
@@ -254,7 +262,7 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{"COLD", tune_cold},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor},
{"WARM_OUTDOOR", tune_warm_outdoor},
{"COLD_OUTDOOR", tune_cold_outdoor},
},
@@ -265,43 +273,48 @@ struct mdnie_tunning_info tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
{"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_VIDEO_NORMAL", tune_dynamic_video},
- {"DYNAMIC_VIDEO_WARM", tune_dynamic_video},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
{"CAMERA", NULL/*tune_camera*/},
{"DYNAMIC_UI", tune_dynamic_ui},
{"DYNAMIC_GALLERY", tune_dynamic_gallery},
- {"DYNAMIC_VT", tune_dynamic_vtcall},
+ {"DYNAMIC_VT", tune_dynamic_vt},
}, {
{"STANDARD_UI", tune_standard_ui},
- {"STANDARD_VIDEO_NORMAL", tune_standard_video},
- {"STANDARD_VIDEO_WARM", tune_standard_video},
- {"STANDARD_VIDEO_COLD", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
{"CAMERA", NULL/*tune_camera*/},
{"STANDARD_UI", tune_standard_ui},
{"STANDARD_GALLERY", tune_standard_gallery},
- {"STANDARD_VT", tune_standard_vtcall},
+ {"STANDARD_VT", tune_standard_vt},
}, {
{"NATURAL_UI", tune_natural_ui},
- {"NATURAL_VIDEO_NORMAL", tune_natural_video},
+ {"NATURAL_VIDEO", tune_natural_video},
{"NATURAL_VIDEO_WARM", tune_natural_video},
{"NATURAL_VIDEO_COLD", tune_natural_video},
{"CAMERA", NULL/*tune_camera*/},
{"NATURAL_UI", tune_natural_ui},
{"NATURAL_GALLERY", tune_natural_gallery},
- {"NATURAL_VT", tune_natural_vtcall},
+ {"NATURAL_VT", tune_natural_vt},
}, {
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_VIDEO_NORMAL", tune_movie_video},
- {"MOVIE_VIDEO_WARM", tune_movie_video},
- {"MOVIE_VIDEO_COLD", tune_movie_video},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
{"CAMERA", NULL/*tune_camera*/},
{"MOVIE_UI", tune_movie_ui},
{"MOVIE_GALLERY", tune_movie_gallery},
- {"MOVIE_VT", tune_movie_vtcall},
+ {"MOVIE_VT", tune_movie_vt},
},
}
};
#endif
+struct mdnie_tunning_info camera_table[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor},
+};
+
#endif /* __MDNIE_TABLE_H__ */
diff --git a/drivers/video/samsung/mdnie_table_c1m0.h b/drivers/video/samsung/mdnie_table_c1m0.h
index 6dafe85..c49e279 100644
--- a/drivers/video/samsung/mdnie_table_c1m0.h
+++ b/drivers/video/samsung/mdnie_table_c1m0.h
@@ -129,7 +129,7 @@ static const unsigned short tune_dynamic_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_vtcall[] = {
+static const unsigned short tune_dynamic_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x008e, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0005, /*FA cs1 | de8 dnr4 hdr2 fa1*/
@@ -268,7 +268,7 @@ static const unsigned short tune_movie_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_vtcall[] = {
+static const unsigned short tune_movie_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x00ae, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0005, /*FA cs1 | de8 dnr4 hdr2 fa1*/
@@ -421,7 +421,7 @@ static const unsigned short tune_standard_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_vtcall[] = {
+static const unsigned short tune_standard_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x008e, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0005, /*FA cs1 | de8 dnr4 hdr2 fa1*/
@@ -586,7 +586,7 @@ static const unsigned short tune_natural_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_natural_vtcall[] = {
+static const unsigned short tune_natural_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x00ae, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0005, /*FA cs1 | de8 dnr4 hdr2 fa1*/
@@ -701,7 +701,7 @@ static const unsigned short tune_cold_outdoor[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor[] = {
+static const unsigned short tune_normal_outdoor[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x04ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -743,7 +743,7 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{"COLD", tune_cold},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor},
{"WARM_OUTDOOR", tune_warm_outdoor},
{"COLD_OUTDOOR", tune_cold_outdoor},
},
@@ -754,46 +754,51 @@ struct mdnie_tunning_info tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
{"CYANOGENMOD", tune_cyanogenmod},
- {"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_VIDEO_NORMAL", tune_dynamic_video},
- {"DYNAMIC_VIDEO_WARM", tune_dynamic_video},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video},
- {"CAMERA", tune_camera},
- {"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_GALLERY", tune_dynamic_gallery},
- {"DYNAMIC_VT", tune_dynamic_vtcall},
+ {"DYNAMIC_UI", tune_dynamic_ui},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"CAMERA", NULL},
+ {"DYNAMIC_UI", tune_dynamic_ui},
+ {"DYNAMIC_GALLERY", tune_dynamic_gallery},
+ {"DYNAMIC_VT", tune_dynamic_vt},
}, {
{"CYANOGENMOD", tune_cyanogenmod},
- {"STANDARD_UI", tune_standard_ui},
- {"STANDARD_VIDEO_NORMAL", tune_standard_video},
- {"STANDARD_VIDEO_WARM", tune_standard_video},
- {"STANDARD_VIDEO_COLD", tune_standard_video},
- {"CAMERA", tune_camera},
- {"STANDARD_UI", tune_standard_ui},
- {"STANDARD_GALLERY", tune_standard_gallery},
- {"STANDARD_VT", tune_standard_vtcall},
+ {"STANDARD_UI", tune_standard_ui},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"CAMERA", NULL},
+ {"STANDARD_UI", tune_standard_ui},
+ {"STANDARD_GALLERY", tune_standard_gallery},
+ {"STANDARD_VT", tune_standard_vt},
}, {
{"CYANOGENMOD", tune_cyanogenmod},
- {"NATURAL_UI", tune_natural_ui},
- {"NATURAL_VIDEO_NORMAL", tune_natural_video},
- {"NATURAL_VIDEO_WARM", tune_natural_video},
- {"NATURAL_VIDEO_COLD", tune_natural_video},
- {"CAMERA", tune_camera},
- {"NATURAL_UI", tune_natural_ui},
- {"NATURAL_GALLERY", tune_natural_gallery},
- {"NATURAL_VT", tune_natural_vtcall},
+ {"NATURAL_UI", tune_natural_ui},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"NATURAL_VIDEO_WARM", tune_natural_video},
+ {"NATURAL_VIDEO_COLD", tune_natural_video},
+ {"CAMERA", NULL},
+ {"NATURAL_UI", tune_natural_ui},
+ {"NATURAL_GALLERY", tune_natural_gallery},
+ {"NATURAL_VT", tune_natural_vt},
}, {
{"CYANOGENMOD", tune_cyanogenmod},
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_VIDEO_NORMAL", tune_movie_video},
- {"MOVIE_VIDEO_WARM", tune_movie_video},
- {"MOVIE_VIDEO_COLD", tune_movie_video},
- {"CAMERA", tune_camera},
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_GALLERY", tune_movie_gallery},
- {"MOVIE_VT", tune_movie_vtcall},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"CAMERA", NULL},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_GALLERY", tune_movie_gallery},
+ {"MOVIE_VT", tune_movie_vt},
},
}
};
+struct mdnie_tunning_info camera_table[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor},
+};
+
#endif/* __MDNIE_TABLE_H__ */
diff --git a/drivers/video/samsung/mdnie_table_gc1.h b/drivers/video/samsung/mdnie_table_gc1.h
index 3499fe2..83d9422 100644
--- a/drivers/video/samsung/mdnie_table_gc1.h
+++ b/drivers/video/samsung/mdnie_table_gc1.h
@@ -5,548 +5,545 @@
static const unsigned short tune_dynamic_gallery[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x00ac, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x0092, 0x0080, /* DE pe */
- 0x0093, 0x0080, /* DE pf */
- 0x0094, 0x0080, /* DE pb */
- 0x0095, 0x0080, /* DE ne */
- 0x0096, 0x0080, /* DE nf */
- 0x0097, 0x0080, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0100, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1a04, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00b0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00ff, /* SCR KgWg */
- 0x00ec, 0x00ff, /* SCR KbWb */
- 0x0000, 0x0001, /* BANK 1 */
- 0x001f, 0x0080, /* CC chsel strength */
- 0x0020, 0x0000, /* CC lut r 0 */
- 0x0021, 0x0a94, /* CC lut r 16 144 */
- 0x0022, 0x18a6, /* CC lut r 32 160 */
- 0x0023, 0x28b8, /* CC lut r 48 176 */
- 0x0024, 0x3ac9, /* CC lut r 64 192 */
- 0x0025, 0x4cd9, /* CC lut r 80 208 */
- 0x0026, 0x5ee7, /* CC lut r 96 224 */
- 0x0027, 0x70f4, /* CC lut r 112 240 */
- 0x0028, 0x82ff, /* CC lut r 128 255 */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x00ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x0090, 0x0080, /*DE egth*/
+ 0x0092, 0x0030, /*DE pe*/
+ 0x0093, 0x0080, /*DE pf*/
+ 0x0094, 0x0080, /*DE pb*/
+ 0x0095, 0x0080, /*DE ne*/
+ 0x0096, 0x0080, /*DE nf*/
+ 0x0097, 0x0080, /*DE nb*/
+ 0x0098, 0x1000, /*DE max ratio*/
+ 0x0099, 0x0100, /*DE min ratio*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1a04, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00ff, /*SCR KgWg*/
+ 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0080, /*CC chsel strength*/
+ 0x0020, 0x0000, /*CC lut r 0*/
+ 0x0021, 0x0a94, /*CC lut r 16 144*/
+ 0x0022, 0x18a6, /*CC lut r 32 160*/
+ 0x0023, 0x28b8, /*CC lut r 48 176*/
+ 0x0024, 0x3ac9, /*CC lut r 64 192*/
+ 0x0025, 0x4cd9, /*CC lut r 80 208*/
+ 0x0026, 0x5ee7, /*CC lut r 96 224*/
+ 0x0027, 0x70f4, /*CC lut r 112 240*/
+ 0x0028, 0x82ff, /*CC lut r 128 255*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_dynamic_ui[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x00ac, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x0092, 0x0040, /* DE pe */
- 0x0093, 0x0040, /* DE pf */
- 0x0094, 0x0040, /* DE pb */
- 0x0095, 0x0040, /* DE ne */
- 0x0096, 0x0040, /* DE nf */
- 0x0097, 0x0040, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0100, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1a04, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00ff, /* SCR KgWg */
- 0x00ec, 0x00ff, /* SCR KbWb */
- 0x0000, 0x0001, /* BANK 1 */
- 0x001f, 0x0080, /* CC chsel strength */
- 0x0020, 0x0000, /* CC lut r 0 */
- 0x0021, 0x0a94, /* CC lut r 16 144 */
- 0x0022, 0x18a6, /* CC lut r 32 160 */
- 0x0023, 0x28b8, /* CC lut r 48 176 */
- 0x0024, 0x3ac9, /* CC lut r 64 192 */
- 0x0025, 0x4cd9, /* CC lut r 80 208 */
- 0x0026, 0x5ee7, /* CC lut r 96 224 */
- 0x0027, 0x70f4, /* CC lut r 112 240 */
- 0x0028, 0x82ff, /* CC lut r 128 255 */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x00ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x0092, 0x0020, /*DE pe*/
+ 0x0093, 0x0020, /*DE pf*/
+ 0x0094, 0x0020, /*DE pb*/
+ 0x0095, 0x0020, /*DE ne*/
+ 0x0096, 0x0020, /*DE nf*/
+ 0x0097, 0x0020, /*DE nb*/
+ 0x0098, 0x1000, /*DE max ratio*/
+ 0x0099, 0x0100, /*DE min ratio*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1a04, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00ff, /*SCR KgWg*/
+ 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0080, /*CC chsel strength*/
+ 0x0020, 0x0000, /*CC lut r 0*/
+ 0x0021, 0x0a94, /*CC lut r 16 144*/
+ 0x0022, 0x18a6, /*CC lut r 32 160*/
+ 0x0023, 0x28b8, /*CC lut r 48 176*/
+ 0x0024, 0x3ac9, /*CC lut r 64 192*/
+ 0x0025, 0x4cd9, /*CC lut r 80 208*/
+ 0x0026, 0x5ee7, /*CC lut r 96 224*/
+ 0x0027, 0x70f4, /*CC lut r 112 240*/
+ 0x0028, 0x82ff, /*CC lut r 128 255*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_dynamic_video[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x00ac, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x0092, 0x0080, /* DE pe */
- 0x0093, 0x0080, /* DE pf */
- 0x0094, 0x0080, /* DE pb */
- 0x0095, 0x0080, /* DE ne */
- 0x0096, 0x0080, /* DE nf */
- 0x0097, 0x0080, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0100, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1a04, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00ff, /* SCR KgWg */
- 0x00ec, 0x00ff, /* SCR KbWb */
- 0x0000, 0x0001, /* BANK 1 */
- 0x001f, 0x0080, /* CC chsel strength */
- 0x0020, 0x0000, /* CC lut r 0 */
- 0x0021, 0x0a94, /* CC lut r 16 144 */
- 0x0022, 0x18a6, /* CC lut r 32 160 */
- 0x0023, 0x28b8, /* CC lut r 48 176 */
- 0x0024, 0x3ac9, /* CC lut r 64 192 */
- 0x0025, 0x4cd9, /* CC lut r 80 208 */
- 0x0026, 0x5ee7, /* CC lut r 96 224 */
- 0x0027, 0x70f4, /* CC lut r 112 240 */
- 0x0028, 0x82ff, /* CC lut r 128 255 */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x00ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x0092, 0x0080, /*DE pe*/
+ 0x0093, 0x0080, /*DE pf*/
+ 0x0094, 0x0080, /*DE pb*/
+ 0x0095, 0x0080, /*DE ne*/
+ 0x0096, 0x0080, /*DE nf*/
+ 0x0097, 0x0080, /*DE nb*/
+ 0x0098, 0x1000, /*DE max ratio*/
+ 0x0099, 0x0100, /*DE min ratio*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1a04, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00ff, /*SCR KgWg*/
+ 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0080, /*CC chsel strength*/
+ 0x0020, 0x0000, /*CC lut r 0*/
+ 0x0021, 0x0a94, /*CC lut r 16 144*/
+ 0x0022, 0x18a6, /*CC lut r 32 160*/
+ 0x0023, 0x28b8, /*CC lut r 48 176*/
+ 0x0024, 0x3ac9, /*CC lut r 64 192*/
+ 0x0025, 0x4cd9, /*CC lut r 80 208*/
+ 0x0026, 0x5ee7, /*CC lut r 96 224*/
+ 0x0027, 0x70f4, /*CC lut r 112 240*/
+ 0x0028, 0x82ff, /*CC lut r 128 255*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_vtcall[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x00ae, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0005, /* FA cs1 | de8 dnr4 hdr2 fa1 */
- 0x0039, 0x0080, /* FA dnrWeight */
- 0x0080, 0x0fff, /* DNR dirTh */
- 0x0081, 0x19ff, /* DNR dirnumTh decon7Th */
- 0x0082, 0xff16, /* DNR decon5Th maskTh */
- 0x0083, 0x0000, /* DNR blTh */
- 0x0092, 0x00e0, /* DE pe */
- 0x0093, 0x00e0, /* DE pf */
- 0x0094, 0x00e0, /* DE pb */
- 0x0095, 0x00e0, /* DE ne */
- 0x0096, 0x00e0, /* DE nf */
- 0x0097, 0x00e0, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0010, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1a04, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00ff, /* SCR KgWg */
- 0x00ec, 0x00ff, /* SCR KbWb */
- 0x0000, 0x0001, /* BANK 1 */
- 0x001f, 0x0080, /* CC chsel strength */
- 0x0020, 0x0000, /* CC lut r 0 */
- 0x0021, 0x0a94, /* CC lut r 16 144 */
- 0x0022, 0x18a6, /* CC lut r 32 160 */
- 0x0023, 0x28b8, /* CC lut r 48 176 */
- 0x0024, 0x3ac9, /* CC lut r 64 192 */
- 0x0025, 0x4cd9, /* CC lut r 80 208 */
- 0x0026, 0x5ee7, /* CC lut r 96 224 */
- 0x0027, 0x70f4, /* CC lut r 112 240 */
- 0x0028, 0x82ff, /* CC lut r 128 255 */
- 0x00ff, 0x0000, /* Mask Release */
+static const unsigned short tune_dynamic_vt[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x00ae, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0005, /*FA cs1 | de8 dnr4 hdr2 fa1*/
+ 0x0039, 0x0080, /*FA dnrWeight*/
+ 0x0080, 0x0fff, /*DNR dirTh*/
+ 0x0081, 0x19ff, /*DNR dirnumTh decon7Th*/
+ 0x0082, 0xff16, /*DNR decon5Th maskTh*/
+ 0x0083, 0x0000, /*DNR blTh*/
+ 0x0092, 0x00e0, /*DE pe*/
+ 0x0093, 0x00e0, /*DE pf*/
+ 0x0094, 0x00e0, /*DE pb*/
+ 0x0095, 0x00e0, /*DE ne*/
+ 0x0096, 0x00e0, /*DE nf*/
+ 0x0097, 0x00e0, /*DE nb*/
+ 0x0098, 0x1000, /*DE max ratio*/
+ 0x0099, 0x0010, /*DE min ratio*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1a04, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00ff, /*SCR KgWg*/
+ 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0080, /*CC chsel strength*/
+ 0x0020, 0x0000, /*CC lut r 0*/
+ 0x0021, 0x0a94, /*CC lut r 16 144*/
+ 0x0022, 0x18a6, /*CC lut r 32 160*/
+ 0x0023, 0x28b8, /*CC lut r 48 176*/
+ 0x0024, 0x3ac9, /*CC lut r 64 192*/
+ 0x0025, 0x4cd9, /*CC lut r 80 208*/
+ 0x0026, 0x5ee7, /*CC lut r 96 224*/
+ 0x0027, 0x70f4, /*CC lut r 112 240*/
+ 0x0028, 0x82ff, /*CC lut r 128 255*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
};
static const unsigned short tune_movie_gallery[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x0020, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00f0, /* SCR KgWg */
- 0x00ec, 0x00e6, /* SCR KbWb */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x0020, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00f0, /*SCR KgWg*/
+ 0x00ec, 0x00e6, /*SCR KbWb*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_movie_ui[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x0020, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00f0, /* SCR KgWg */
- 0x00ec, 0x00e6, /* SCR KbWb */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x0020, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00f0, /*SCR KgWg*/
+ 0x00ec, 0x00e6, /*SCR KbWb*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
-};
+ };
static const unsigned short tune_movie_video[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x0020, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x0092, 0x0000, /* DE pe */
- 0x0093, 0x0000, /* DE pf */
- 0x0094, 0x0000, /* DE pb */
- 0x0095, 0x0000, /* DE ne */
- 0x0096, 0x0000, /* DE nf */
- 0x0097, 0x0000, /* DE nb */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1004, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00f0, /* SCR KgWg */
- 0x00ec, 0x00e6, /* SCR KbWb */
- 0x0000, 0x0001, /* BANK 1 */
- 0x001f, 0x0000, /* CC chsel strength */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x0020, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x0092, 0x0000, /*DE pe*/
+ 0x0093, 0x0000, /*DE pf*/
+ 0x0094, 0x0000, /*DE pb*/
+ 0x0095, 0x0000, /*DE ne*/
+ 0x0096, 0x0000, /*DE nf*/
+ 0x0097, 0x0000, /*DE nb*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1004, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00f0, /*SCR KgWg*/
+ 0x00ec, 0x00e6, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0000, /*CC chsel strength*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_vtcall[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x002e, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0005, /* FA cs1 | de8 dnr4 hdr2 fa1 */
- 0x0039, 0x0080, /* FA dnrWeight */
- 0x0080, 0x0fff, /* DNR dirTh */
- 0x0081, 0x19ff, /* DNR dirnumTh decon7Th */
- 0x0082, 0xff16, /* DNR decon5Th maskTh */
- 0x0083, 0x0000, /* DNR blTh */
- 0x0092, 0x0040, /* DE pe */
- 0x0093, 0x0040, /* DE pf */
- 0x0094, 0x0040, /* DE pb */
- 0x0095, 0x0040, /* DE ne */
- 0x0096, 0x0040, /* DE nf */
- 0x0097, 0x0040, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0010, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1204, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00f0, /* SCR KgWg */
- 0x00ec, 0x00e6, /* SCR KbWb */
- 0x00ff, 0x0000, /* Mask Release */
+static const unsigned short tune_movie_vt[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x002e, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0005, /*FA cs1 | de8 dnr4 hdr2 fa1*/
+ 0x0039, 0x0080, /*FA dnrWeight*/
+ 0x0080, 0x0fff, /*DNR dirTh*/
+ 0x0081, 0x19ff, /*DNR dirnumTh decon7Th*/
+ 0x0082, 0xff16, /*DNR decon5Th maskTh*/
+ 0x0083, 0x0000, /*DNR blTh*/
+ 0x0092, 0x0040, /*DE pe*/
+ 0x0093, 0x0040, /*DE pf*/
+ 0x0094, 0x0040, /*DE pb*/
+ 0x0095, 0x0040, /*DE ne*/
+ 0x0096, 0x0040, /*DE nf*/
+ 0x0097, 0x0040, /*DE nb*/
+ 0x0098, 0x1000, /*DE max ratio*/
+ 0x0099, 0x0010, /*DE min ratio*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1204, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00f0, /*SCR KgWg*/
+ 0x00ec, 0x00e6, /*SCR KbWb*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_standard_gallery[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x002c, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x0092, 0x0060, /* DE pe */
- 0x0093, 0x0060, /* DE pf */
- 0x0094, 0x0060, /* DE pb */
- 0x0095, 0x0060, /* DE ne */
- 0x0096, 0x0060, /* DE nf */
- 0x0097, 0x0060, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0100, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1804, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00ff, /* SCR KgWg */
- 0x00ec, 0x00ff, /* SCR KbWb */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x002c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x0090, 0x0080, /*DE egth*/
+ 0x0092, 0x0000, /*DE pe*/
+ 0x0093, 0x0060, /*DE pf*/
+ 0x0094, 0x0060, /*DE pb*/
+ 0x0095, 0x0060, /*DE ne*/
+ 0x0096, 0x0060, /*DE nf*/
+ 0x0097, 0x0060, /*DE nb*/
+ 0x0098, 0x1000, /*DE max ratio*/
+ 0x0099, 0x0100, /*DE min ratio*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00ff, /*SCR KgWg*/
+ 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_standard_ui[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x002c, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x0092, 0x0020, /* DE pe */
- 0x0093, 0x0020, /* DE pf */
- 0x0094, 0x0020, /* DE pb */
- 0x0095, 0x0020, /* DE ne */
- 0x0096, 0x0020, /* DE nf */
- 0x0097, 0x0020, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0100, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1804, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00ff, /* SCR KgWg */
- 0x00ec, 0x00ff, /* SCR KbWb */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x0028, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00ff, /*SCR KgWg*/
+ 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_standard_video[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x002c, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x0092, 0x0060, /* DE pe */
- 0x0093, 0x0060, /* DE pf */
- 0x0094, 0x0060, /* DE pb */
- 0x0095, 0x0060, /* DE ne */
- 0x0096, 0x0060, /* DE nf */
- 0x0097, 0x0060, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0100, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1804, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00ff, /* SCR KgWg */
- 0x00ec, 0x00ff, /* SCR KbWb */
- 0x0000, 0x0001, /* BANK 1 */
- 0x001f, 0x0000, /* CC chsel strength */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x002c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x0092, 0x0060, /*DE pe*/
+ 0x0093, 0x0060, /*DE pf*/
+ 0x0094, 0x0060, /*DE pb*/
+ 0x0095, 0x0060, /*DE ne*/
+ 0x0096, 0x0060, /*DE nf*/
+ 0x0097, 0x0060, /*DE nb*/
+ 0x0098, 0x1000, /*DE max ratio*/
+ 0x0099, 0x0100, /*DE min ratio*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00ff, /*SCR KgWg*/
+ 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0000, /*CC chsel strength*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_vtcall[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x002e, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0005, /* FA cs1 | de8 dnr4 hdr2 fa1 */
- 0x0039, 0x0080, /* FA dnrWeight */
- 0x0080, 0x0fff, /* DNR dirTh */
- 0x0081, 0x19ff, /* DNR dirnumTh decon7Th */
- 0x0082, 0xff16, /* DNR decon5Th maskTh */
- 0x0083, 0x0000, /* DNR blTh */
- 0x0092, 0x00c0, /* DE pe */
- 0x0093, 0x00c0, /* DE pf */
- 0x0094, 0x00c0, /* DE pb */
- 0x0095, 0x00c0, /* DE ne */
- 0x0096, 0x00c0, /* DE nf */
- 0x0097, 0x00c0, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0010, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1804, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00ff, /* SCR KgWg */
- 0x00ec, 0x00ff, /* SCR KbWb */
- 0x00ff, 0x0000, /* Mask Release */
+static const unsigned short tune_standard_vt[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x002e, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0005, /*FA cs1 | de8 dnr4 hdr2 fa1*/
+ 0x0039, 0x0080, /*FA dnrWeight*/
+ 0x0080, 0x0fff, /*DNR dirTh*/
+ 0x0081, 0x19ff, /*DNR dirnumTh decon7Th*/
+ 0x0082, 0xff16, /*DNR decon5Th maskTh*/
+ 0x0083, 0x0000, /*DNR blTh*/
+ 0x0092, 0x00c0, /*DE pe*/
+ 0x0093, 0x00c0, /*DE pf*/
+ 0x0094, 0x00c0, /*DE pb*/
+ 0x0095, 0x00c0, /*DE ne*/
+ 0x0096, 0x00c0, /*DE nf*/
+ 0x0097, 0x00c0, /*DE nb*/
+ 0x0098, 0x1000, /*DE max ratio*/
+ 0x0099, 0x0010, /*DE min ratio*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00ff, /*SCR KgWg*/
+ 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_camera[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x002c, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x0092, 0x0060, /* DE pe */
- 0x0093, 0x0060, /* DE pf */
- 0x0094, 0x0060, /* DE pb */
- 0x0095, 0x0060, /* DE ne */
- 0x0096, 0x0060, /* DE nf */
- 0x0097, 0x0060, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0100, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg ry */
- 0x00b1, 0x1010, /* CS hg gc */
- 0x00b2, 0x1010, /* CS hg bm */
- 0x00b3, 0x1804, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00ff, /* SCR KgWg */
- 0x00ec, 0x00ff, /* SCR KbWb */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x002c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x0090, 0x0080, /*DE egth*/
+ 0x0092, 0x0000, /*DE pe*/
+ 0x0093, 0x0060, /*DE pf*/
+ 0x0094, 0x0060, /*DE pb*/
+ 0x0095, 0x0060, /*DE ne*/
+ 0x0096, 0x0060, /*DE nf*/
+ 0x0097, 0x0060, /*DE nb*/
+ 0x0098, 0x1000, /*DE max ratio*/
+ 0x0099, 0x0100, /*DE min ratio*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00ff, /*SCR KgWg*/
+ 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_camera_outdoor[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x042c, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0030, 0x0000, /* FA cs1 de8 hdr2 fa1 */
- 0x0092, 0x0060, /* DE pe */
- 0x0093, 0x0060, /* DE pf */
- 0x0094, 0x0060, /* DE pb */
- 0x0095, 0x0060, /* DE ne */
- 0x0096, 0x0060, /* DE nf */
- 0x0097, 0x0060, /* DE nb */
- 0x0098, 0x1000, /* DE max ratio */
- 0x0099, 0x0100, /* DE min ratio */
- 0x00b0, 0x1010, /* CS hg RY */
- 0x00b1, 0x1010, /* CS hg GC */
- 0x00b2, 0x1010, /* CS hg BM */
- 0x00b3, 0x1804, /* CS weight grayTH */
- 0x00e1, 0xff00, /* SCR RrCr */
- 0x00e2, 0x00ff, /* SCR RgCg */
- 0x00e3, 0x00ff, /* SCR RbCb */
- 0x00e4, 0x00ff, /* SCR GrMr */
- 0x00e5, 0xff00, /* SCR GgMg */
- 0x00e6, 0x00ff, /* SCR GbMb */
- 0x00e7, 0x00ff, /* SCR BrYr */
- 0x00e8, 0x00d0, /* SCR BgYg */
- 0x00e9, 0xff00, /* SCR BbYb */
- 0x00ea, 0x00ff, /* SCR KrWr */
- 0x00eb, 0x00ff, /* SCR KgWg */
- 0x00ec, 0x00ff, /* SCR KbWb */
- 0x0000, 0x0001, /* BANK 1 */
- 0x00d0, 0x01c0, /* UC y */
- 0x00d1, 0x01ff, /* UC cs */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x042c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x0090, 0x0080, /*DE egth*/
+ 0x0092, 0x0000, /*DE pe*/
+ 0x0093, 0x0060, /*DE pf*/
+ 0x0094, 0x0060, /*DE pb*/
+ 0x0095, 0x0060, /*DE ne*/
+ 0x0096, 0x0060, /*DE nf*/
+ 0x0097, 0x0060, /*DE nb*/
+ 0x0098, 0x1000, /*DE max ratio*/
+ 0x0099, 0x0100, /*DE min ratio*/
+ 0x00b0, 0x1010, /*CS hg RY*/
+ 0x00b1, 0x1010, /*CS hg GC*/
+ 0x00b2, 0x1010, /*CS hg BM*/
+ 0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00e4, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00ff, /*SCR KgWg*/
+ 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x00d0, 0x01c0, /*UC y*/
+ 0x00d1, 0x01ff, /*UC cs*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_cold[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x00ec, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0000, 0x0001, /* BANK 1 */
- 0x0001, 0x0064, /* MCM 10000K */
- 0x0009, 0xa08e, /* MCM 5cb 1cr W */
- 0x000b, 0x7979, /* MCM 4cr 5cr W */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x00ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x0001, 0x0064, /*MCM 10000K*/
+ 0x0009, 0xa08e, /*MCM 5cb 1cr W*/
+ 0x000b, 0x7979, /*MCM 4cr 5cr W*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_cold_outdoor[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x04ec, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0000, 0x0001, /* BANK 1 */
- 0x0001, 0x0064, /* MCM 10000K */
- 0x0009, 0xa08e, /* MCM 5cb 1cr W */
- 0x000b, 0x7979, /* MCM 4cr 5cr W */
- 0x00d0, 0x01c0, /* UC y */
- 0x00d1, 0x01ff, /* UC cs */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x04ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x0001, 0x0064, /*MCM 10000K*/
+ 0x0009, 0xa08e, /*MCM 5cb 1cr W*/
+ 0x000b, 0x7979, /*MCM 4cr 5cr W*/
+ 0x00d0, 0x01c0, /*UC y*/
+ 0x00d1, 0x01ff, /*UC cs*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x04ac, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0000, 0x0001, /* BANK 1 */
- 0x00d0, 0x01c0, /* UC y */
- 0x00d1, 0x01ff, /* UC cs */
- 0x00ff, 0x0000, /* Mask Release */
+static const unsigned short tune_normal_outdoor[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x04ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x00d0, 0x01c0, /*UC y*/
+ 0x00d1, 0x01ff, /*UC cs*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_warm[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x00ec, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0000, 0x0001, /* BANK 1 */
- 0x0001, 0x0028, /* MCM 4000K */
- 0x0007, 0x7575, /* MCM 1cb 2cb W */
- 0x0009, 0xa08e, /* MCM 5cb 1cr W */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x00ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x0001, 0x0028, /*MCM 4000K*/
+ 0x0007, 0x7575, /*MCM 1cb 2cb W*/
+ 0x0009, 0xa08e, /*MCM 5cb 1cr W*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
static const unsigned short tune_warm_outdoor[] = {
- 0x0000, 0x0000, /* BANK 0 */
- 0x0008, 0x04ec, /* Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1 */
- 0x0000, 0x0001, /* BANK 1 */
- 0x0001, 0x0028, /* MCM 4000K */
- 0x0007, 0x7575, /* MCM 1cb 2cb W */
- 0x0009, 0xa08e, /* MCM 5cb 1cr W */
- 0x00d0, 0x01c0, /* UC y */
- 0x00d1, 0x01ff, /* UC cs */
- 0x00ff, 0x0000, /* Mask Release */
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x04ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x0001, 0x0028, /*MCM 4000K*/
+ 0x0007, 0x7575, /*MCM 1cb 2cb W*/
+ 0x0009, 0xa08e, /*MCM 5cb 1cr W*/
+ 0x00d0, 0x01c0, /*UC y*/
+ 0x00d1, 0x01ff, /*UC cs*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
@@ -558,7 +555,7 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{"COLD", tune_cold},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor},
{"WARM_OUTDOOR", tune_warm_outdoor},
{"COLD_OUTDOOR", tune_cold_outdoor},
},
@@ -568,43 +565,39 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
struct mdnie_tunning_info tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
- {"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_VIDEO_NORMAL", tune_dynamic_video},
- {"DYNAMIC_VIDEO_WARM", tune_dynamic_video},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video},
- {"CAMERA", tune_camera},
- {"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_GALLERY", tune_dynamic_gallery},
- {"DYNAMIC_VT", tune_dynamic_vtcall},
- }, {
- {"STANDARD_UI", tune_standard_ui},
- {"STANDARD_VIDEO_NORMAL", tune_standard_video},
- {"STANDARD_VIDEO_WARM", tune_standard_video},
- {"STANDARD_VIDEO_COLD", tune_standard_video},
- {"CAMERA", tune_camera},
- {"STANDARD_UI", tune_standard_ui},
- {"STANDARD_GALLERY", tune_standard_gallery},
- {"STANDARD_VT", tune_standard_vtcall},
+ {"DYNAMIC_UI", tune_dynamic_ui},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"CAMERA", NULL},
+ {"DYNAMIC_UI", tune_dynamic_ui},
+ {"DYNAMIC_GALLERY", tune_dynamic_gallery},
+ {"DYNAMIC_VT", tune_dynamic_vt},
}, {
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_VIDEO_NORMAL", tune_movie_video},
- {"MOVIE_VIDEO_WARM", tune_movie_video},
- {"MOVIE_VIDEO_COLD", tune_movie_video},
- {"CAMERA", tune_camera},
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_GALLERY", tune_movie_gallery},
- {"MOVIE_VT", tune_movie_vtcall},
+ {"STANDARD_UI", tune_standard_ui},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"CAMERA", NULL},
+ {"STANDARD_UI", tune_standard_ui},
+ {"STANDARD_GALLERY", tune_standard_gallery},
+ {"STANDARD_VT", tune_standard_vt},
}, {
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_VIDEO_NORMAL", tune_movie_video},
- {"MOVIE_VIDEO_WARM", tune_movie_video},
- {"MOVIE_VIDEO_COLD", tune_movie_video},
- {"CAMERA", tune_camera},
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_GALLERY", tune_movie_gallery},
- {"MOVIE_VT", tune_movie_vtcall},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"CAMERA", NULL},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_GALLERY", tune_movie_gallery},
+ {"MOVIE_VT", tune_movie_vt},
},
}
};
+struct mdnie_tunning_info camera_table[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor},
+};
+
#endif /* __MDNIE_TABLE_H__ */
diff --git a/drivers/video/samsung/mdnie_table_p2_boe.h b/drivers/video/samsung/mdnie_table_p2_boe.h
index d95a802..a38688c 100644
--- a/drivers/video/samsung/mdnie_table_p2_boe.h
+++ b/drivers/video/samsung/mdnie_table_p2_boe.h
@@ -4,13 +4,23 @@
#include "mdnie.h"
-static const unsigned char power_lut[2][9] = {
- {0x42, 0x47, 0x3E, 0x52, 0x42, 0x3F, 0x3A, 0x37, 0x3F},
- {0x38, 0x3d, 0x34, 0x48, 0x38, 0x35, 0x30, 0x2d, 0x35},
+static const unsigned char power_lut[LUT_LEVEL_MAX][LUT_MAX][9] = {
+ {
+ {0x42, 0x47, 0x3E, 0x52, 0x42, 0x3F, 0x3A, 0x37, 0x3F},
+ {0x38, 0x3d, 0x34, 0x48, 0x38, 0x35, 0x30, 0x2d, 0x35},
+ },
+ {
+ {0x42, 0x47, 0x3E, 0x52, 0x42, 0x3F, 0x3A, 0x37, 0x3F},
+ {0x38, 0x3d, 0x34, 0x48, 0x38, 0x35, 0x30, 0x2d, 0x35},
+ },
+ {
+ {0x42, 0x47, 0x3E, 0x52, 0x42, 0x3F, 0x3A, 0x37, 0x3F},
+ {0x38, 0x3d, 0x34, 0x48, 0x38, 0x35, 0x30, 0x2d, 0x35},
+ },
};
-static const unsigned short tune_dyn_gallery_cabcOff_bo[] = {
- /*start P2 dynamic, gallery, cabcOff*/
+static const unsigned short tune_dynamic_gallery_boe[] = {
+ /*start P2 dynamic, gallery, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -64,8 +74,8 @@ static const unsigned short tune_dyn_gallery_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_ui_cabcOff_bo[] = {
- /*start P2 dynamic, ui, cabcOff*/
+static const unsigned short tune_dynamic_ui_boe[] = {
+ /*start P2 dynamic, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -119,8 +129,8 @@ static const unsigned short tune_dyn_ui_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vid_cabcOff_bo[] = {
- /*start P2 dynamic, video, cabcOff*/
+static const unsigned short tune_dynamic_video_boe[] = {
+ /*start P2 dynamic, videoeo, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -174,8 +184,8 @@ static const unsigned short tune_dyn_vid_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vtcall_cabcOff_bo[] = {
- /*start P2 dynamic, vtcall, cabcOff*/
+static const unsigned short tune_dynamic_vt_boe[] = {
+ /*start P2 dynamic, vt, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -229,8 +239,8 @@ static const unsigned short tune_dyn_vtcall_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_gallery_cabcOff_bo[] = {
- /*start P2 movie, gallery, cabcOff*/
+static const unsigned short tune_movie_gallery_boe[] = {
+ /*start P2 movieie, gallery, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -284,8 +294,8 @@ static const unsigned short tune_mov_gallery_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_ui_cabcOff_bo[] = {
- /*start P2 movie, ui, cabcOff*/
+static const unsigned short tune_movie_ui_boe[] = {
+ /*start P2 movieie, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -339,8 +349,8 @@ static const unsigned short tune_mov_ui_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vid_cabcOff_bo[] = {
- /*start P2 movie, video, cabcOff*/
+static const unsigned short tune_movie_video_boe[] = {
+ /*start P2 movieie, videoeo, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -394,8 +404,8 @@ static const unsigned short tune_mov_vid_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vtcall_cabcOff_bo[] = {
- /*start P2 movie, ui, cabcOff*/
+static const unsigned short tune_movie_vt_boe[] = {
+ /*start P2 movieie, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -449,8 +459,8 @@ static const unsigned short tune_mov_vtcall_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_gallery_cabcOff_bo[] = {
- /*start P2 standard, gallery, cabcOff*/
+static const unsigned short tune_standard_gallery_boe[] = {
+ /*start P2 standard, gallery, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -504,8 +514,8 @@ static const unsigned short tune_std_gallery_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_ui_cabcOff_bo[] = {
- /*start P2 standard, ui, cabcOff*/
+static const unsigned short tune_standard_ui_boe[] = {
+ /*start P2 standard, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -559,8 +569,8 @@ static const unsigned short tune_std_ui_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vid_cabcOff_bo[] = {
- /*start P2 standard, video, cabcOff*/
+static const unsigned short tune_standard_video_boe[] = {
+ /*start P2 standard, videoeo, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -614,8 +624,8 @@ static const unsigned short tune_std_vid_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vtcall_cabcOff_bo[] = {
- /*start P2 standard, vtcall, cabcOff*/
+static const unsigned short tune_standard_vt_boe[] = {
+ /*start P2 standard, vt, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -669,8 +679,8 @@ static const unsigned short tune_std_vtcall_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_gallery_cabcOn_bo[] = {
- /*start P2 dynamic, gallery, cabcOn*/
+static const unsigned short tune_dynamic_gallery_cabc_boe[] = {
+ /*start P2 dynamic, gallery, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -730,8 +740,8 @@ static const unsigned short tune_dyn_gallery_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_ui_cabcOn_bo[] = {
- /*start P2 dynamic, ui, cabcOn*/
+static const unsigned short tune_dynamic_ui_cabc_boe[] = {
+ /*start P2 dynamic, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -791,8 +801,8 @@ static const unsigned short tune_dyn_ui_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vid_cabcOn_bo[] = {
- /*start P2 dynamic, video, cabcOn*/
+static const unsigned short tune_dynamic_video_cabc_boe[] = {
+ /*start P2 dynamic, videoeo, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -852,8 +862,8 @@ static const unsigned short tune_dyn_vid_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vtcall_cabcOn_bo[] = {
- /*start P2 dynamic, vtcall, cabcOn*/
+static const unsigned short tune_dynamic_vt_cabc_boe[] = {
+ /*start P2 dynamic, vt, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -913,8 +923,8 @@ static const unsigned short tune_dyn_vtcall_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_gallery_cabcOn_bo[] = {
- /*start P2 movie, gallery, cabcOn*/
+static const unsigned short tune_movie_gallery_cabc_boe[] = {
+ /*start P2 movieie, gallery, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -974,8 +984,8 @@ static const unsigned short tune_mov_gallery_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_ui_cabcOn_bo[] = {
- /*start P2 movie, ui, cabcOn*/
+static const unsigned short tune_movie_ui_cabc_boe[] = {
+ /*start P2 movieie, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1035,8 +1045,8 @@ static const unsigned short tune_mov_ui_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vid_cabcOn_bo[] = {
- /*start P2 movie, video, cabcOn*/
+static const unsigned short tune_movie_video_cabc_boe[] = {
+ /*start P2 movieie, videoeo, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1096,8 +1106,8 @@ static const unsigned short tune_mov_vid_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vtcall_cabcOn_bo[] = {
- /*start P2 movie, ui, cabcOn*/
+static const unsigned short tune_movie_vt_cabc_boe[] = {
+ /*start P2 movieie, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -1157,8 +1167,8 @@ static const unsigned short tune_mov_vtcall_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_gallery_cabcOn_bo[] = {
- /*start P2 standard, gallery, cabcOn*/
+static const unsigned short tune_standard_gallery_cabc_boe[] = {
+ /*start P2 standard, gallery, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1218,8 +1228,8 @@ static const unsigned short tune_std_gallery_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_ui_cabcOn_bo[] = {
- /*start P2 standard, ui, cabcOn*/
+static const unsigned short tune_standard_ui_cabc_boe[] = {
+ /*start P2 standard, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1279,8 +1289,8 @@ static const unsigned short tune_std_ui_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vid_cabcOn_bo[] = {
- /*start P2 standard, video, cabcOn*/
+static const unsigned short tune_standard_video_cabc_boe[] = {
+ /*start P2 standard, videoeo, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1340,8 +1350,8 @@ static const unsigned short tune_std_vid_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vtcall_cabcOn_bo[] = {
- /*start P2 standard, vtcall, cabcOn*/
+static const unsigned short tune_standard_vt_cabc_boe[] = {
+ /*start P2 standard, vt, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -1401,7 +1411,7 @@ static const unsigned short tune_std_vtcall_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_camera_bo[] = {
+static const unsigned short tune_camera_boe[] = {
/*start P2 camera, bypass*/
0x0001, 0x0020,
0x002c, 0x0fff, /*DNR bypass 0x003C*/
@@ -1444,7 +1454,7 @@ static const unsigned short tune_camera_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_camera_outdoor_bo[] = {
+static const unsigned short tune_camera_outdoor_boe[] = {
/*start P2 camera, ove*/
0x0001, 0x0022, /*LABC OVE*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
@@ -1488,8 +1498,8 @@ static const unsigned short tune_camera_outdoor_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_cabcOff_bo[] = {
- /*start P2 cold, cabcOff*/
+static const unsigned short tune_cold_boe[] = {
+ /*start P2 cold, cabcoff*/
0x0001, 0x0064, /*SCR LABC MCM*/
0x005b, 0x0064, /*MCM 10000K*/
0x0063, 0x8a00, /*cb*/
@@ -1499,8 +1509,8 @@ static const unsigned short tune_cold_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_outdoor_cabcOff_bo[] = {
- /*start P2 cold, ove, cabcOff*/
+static const unsigned short tune_cold_outdoor_boe[] = {
+ /*start P2 cold, ove, cabcoff*/
0x0001, 0x0066, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0064, /*MCM 10000K*/
@@ -1511,8 +1521,8 @@ static const unsigned short tune_cold_outdoor_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor_cabcOff_bo[] = {
- /*start P2 ove, cabcOff*/
+static const unsigned short tune_normal_outdoor_boe[] = {
+ /*start P2 ove, cabcoff*/
0x0001, 0x0062, /*SCR LABC OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x0028, 0x0000, /*Register Mask*/
@@ -1520,8 +1530,8 @@ static const unsigned short tune_outdoor_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_cabcOff_bo[] = {
- /*start P2 warm, cabcOff*/
+static const unsigned short tune_warm_boe[] = {
+ /*start P2 warm, cabcoff*/
0x0001, 0x0064, /*SCR LABC MCM*/
0x005b, 0x0028, /*MCM 4000K*/
0x0061, 0x7600, /*cb*/
@@ -1531,8 +1541,8 @@ static const unsigned short tune_warm_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_outdoor_cabcOff_bo[] = {
- /*start P2 warm, ove, cabcOff*/
+static const unsigned short tune_warm_outdoor_boe[] = {
+ /*start P2 warm, ove, cabcoff*/
0x0001, 0x0066, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0028, /*MCM 4000K*/
@@ -1543,8 +1553,8 @@ static const unsigned short tune_warm_outdoor_cabcOff_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_cabcOn_bo[] = {
- /*start P2 cold, cabcOn*/
+static const unsigned short tune_cold_cabc_boe[] = {
+ /*start P2 cold, cabcon*/
0x0001, 0x0074, /*SCR LABC MCM CABC*/
0x005b, 0x0064, /*MCM 10000K*/
0x0063, 0x8a00, /*cb*/
@@ -1554,8 +1564,8 @@ static const unsigned short tune_cold_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_outdoor_cabcOn_bo[] = {
- /*start P2 cold, ove, cabcOn*/
+static const unsigned short tune_cold_outdoor_cabc_boe[] = {
+ /*start P2 cold, ove, cabcon*/
0x0001, 0x0076, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0064, /*MCM 10000K*/
@@ -1566,8 +1576,8 @@ static const unsigned short tune_cold_outdoor_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor_cabcOn_bo[] = {
- /*start P2 ove, cabcOn*/
+static const unsigned short tune_normal_outdoor_cabc_boe[] = {
+ /*start P2 ove, cabcon*/
0x0001, 0x0072, /*SCR LABC OVE CABC*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x0028, 0x0000, /*Register Mask*/
@@ -1575,8 +1585,8 @@ static const unsigned short tune_outdoor_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_cabcOn_bo[] = {
- /*start P2 warm, cabcOn*/
+static const unsigned short tune_warm_cabc_boe[] = {
+ /*start P2 warm, cabcon*/
0x0001, 0x0074, /*SCR LABC MCM CABC*/
0x005b, 0x0028, /*MCM 4000K*/
0x0061, 0x7600, /*cb*/
@@ -1586,8 +1596,8 @@ static const unsigned short tune_warm_cabcOn_bo[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_outdoor_cabcOn_bo[] = {
- /*start P2 warm, ove, cabcOn*/
+static const unsigned short tune_warm_outdoor_cabc_boe[] = {
+ /*start P2 warm, ove, cabcon*/
0x0001, 0x0076, /*SCR LABC MCM OVE CABC*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0028, /*MCM 4000K*/
@@ -1599,96 +1609,100 @@ static const unsigned short tune_warm_outdoor_cabcOn_bo[] = {
};
-struct mdnie_tunning_info etc_table_bo[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
+struct mdnie_tunning_info etc_table_boe[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{
{
{"NORMAL", NULL},
- {"WARM", tune_warm_cabcOff_bo},
- {"COLD", tune_cold_cabcOff_bo},
+ {"WARM", tune_warm_boe},
+ {"COLD", tune_cold_boe},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor_cabcOff_bo},
- {"WARM_OUTDOOR", tune_warm_outdoor_cabcOff_bo},
- {"COLD_OUTDOOR", tune_cold_outdoor_cabcOff_bo},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor_boe},
+ {"WARM_OUTDOOR", tune_warm_outdoor_boe},
+ {"COLD_OUTDOOR", tune_cold_outdoor_boe},
},
},
{
{
{"NORMAL_CABC", NULL},
- {"WARM_CABC", tune_warm_cabcOn_bo},
- {"COLD_CABC", tune_cold_cabcOn_bo},
+ {"WARM_CABC", tune_warm_cabc_boe},
+ {"COLD_CABC", tune_cold_cabc_boe},
},
{
- {"NORMAL_OUTDOOR_CABC", tune_outdoor_cabcOn_bo},
- {"WARM_OUTDOOR_CABC", tune_warm_outdoor_cabcOn_bo},
- {"COLD_OUTDOOR_CABC", tune_cold_outdoor_cabcOn_bo},
+ {"NORMAL_OUTDOOR_CABC", tune_normal_outdoor_cabc_boe},
+ {"WARM_OUTDOOR_CABC", tune_warm_outdoor_cabc_boe},
+ {"COLD_OUTDOOR_CABC", tune_cold_outdoor_cabc_boe},
},
},
};
-struct mdnie_tunning_info_cabc tunning_table_bo
- [CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
+struct mdnie_tunning_info_cabc tunning_table_boe[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
- {"DYNAMIC_UI", tune_dyn_ui_cabcOff_bo, 0},
- {"DYNAMIC_VIDEO_NOR", tune_dyn_vid_cabcOff_bo, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM", tune_dyn_vid_cabcOff_bo, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dyn_vid_cabcOff_bo, LUT_VIDEO},
- {"CAMERA", tune_camera_bo, 0},
- {"DYNAMIC_UI", tune_dyn_ui_cabcOff_bo, 0},
- {"DYNAMIC_GALLERY", tune_dyn_gallery_cabcOff_bo, 0},
- {"DYNAMIC_VT", tune_dyn_vtcall_cabcOff_bo, 0},
+ {"DYNAMIC_UI", tune_dynamic_ui_boe, 0},
+ {"DYNAMIC_VIDEO", tune_dynamic_video_boe, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video_boe, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video_boe, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"DYNAMIC_UI", tune_dynamic_ui_boe, 0},
+ {"DYNAMIC_GALLERY", tune_dynamic_gallery_boe, 0},
+ {"DYNAMIC_VT", tune_dynamic_vt_boe, 0},
}, {
- {"STANDARD_UI", tune_std_ui_cabcOff_bo, 0},
- {"STANDARD_VIDEO_NOR", tune_std_vid_cabcOff_bo, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM", tune_std_vid_cabcOff_bo, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD", tune_std_vid_cabcOff_bo, LUT_VIDEO},
- {"CAMERA", tune_camera_bo, 0},
- {"STANDARD_UI", tune_std_ui_cabcOff_bo, 0},
- {"STANDARD_GALLERY", tune_std_gallery_cabcOff_bo, 0},
- {"STANDARD_VT", tune_std_vtcall_cabcOff_bo, 0},
+ {"STANDARD_UI", tune_standard_ui_boe, 0},
+ {"STANDARD_VIDEO", tune_standard_video_boe, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video_boe, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video_boe, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"STANDARD_UI", tune_standard_ui_boe, 0},
+ {"STANDARD_GALLERY", tune_standard_gallery_boe, 0},
+ {"STANDARD_VT", tune_standard_vt_boe, 0},
}, {
- {"MOVIE_UI", tune_mov_ui_cabcOff_bo, 0},
- {"MOVIE_VIDEO_NOR", tune_mov_vid_cabcOff_bo, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM", tune_mov_vid_cabcOff_bo, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD", tune_mov_vid_cabcOff_bo, LUT_VIDEO},
- {"CAMERA", tune_camera_bo, 0},
- {"MOVIE_UI", tune_mov_ui_cabcOff_bo, 0},
- {"MOVIE_GALLERY", tune_mov_gallery_cabcOff_bo, 0},
- {"MOVIE_VT", tune_mov_vtcall_cabcOff_bo, 0},
+ {"MOVIE_UI", tune_movie_ui_boe, 0},
+ {"MOVIE_VIDEO", tune_movie_video_boe, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video_boe, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video_boe, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"MOVIE_UI", tune_movie_ui_boe, 0},
+ {"MOVIE_GALLERY", tune_movie_gallery_boe, 0},
+ {"MOVIE_VT", tune_movie_vt_boe, 0},
},
},
{
{
- {"DYNAMIC_UI_CABC", tune_dyn_ui_cabcOn_bo, 0},
- {"DYNAMIC_VIDEO_NOR_CABC", tune_dyn_vid_cabcOn_bo, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM_CABC", tune_dyn_vid_cabcOn_bo, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dyn_vid_cabcOn_bo, LUT_VIDEO},
- {"CAMERA", tune_camera_bo, 0},
- {"DYNAMIC_UI_CABC", tune_dyn_ui_cabcOn_bo, 0},
- {"DYNAMIC_GALLERY_CABC", tune_dyn_gallery_cabcOn_bo, 0},
- {"DYNAMIC_VT_CABC", tune_dyn_vtcall_cabcOn_bo, 0},
+ {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabc_boe, 0},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc_boe, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc_boe, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc_boe, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabc_boe, 0},
+ {"DYNAMIC_GALLERY_CABC", tune_dynamic_gallery_cabc_boe, 0},
+ {"DYNAMIC_VT_CABC", tune_dynamic_vt_cabc_boe, 0},
}, {
- {"STANDARD_UI_CABC", tune_std_ui_cabcOn_bo, 0},
- {"STANDARD_VIDEO_NOR_CABC", tune_std_vid_cabcOn_bo, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM_CABC", tune_std_vid_cabcOn_bo, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD_CABC", tune_std_vid_cabcOn_bo, LUT_VIDEO},
- {"CAMERA", tune_camera_bo, 0},
- {"STANDARD_UI_CABC", tune_std_ui_cabcOn_bo, 0},
- {"STANDARD_GALLERY_CABC", tune_std_gallery_cabcOn_bo, 0},
- {"STANDARD_VT_CABC", tune_std_vtcall_cabcOn_bo, 0},
+ {"STANDARD_UI_CABC", tune_standard_ui_cabc_boe, 0},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc_boe, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc_boe, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc_boe, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"STANDARD_UI_CABC", tune_standard_ui_cabc_boe, 0},
+ {"STANDARD_GALLERY_CABC", tune_standard_gallery_cabc_boe, 0},
+ {"STANDARD_VT_CABC", tune_standard_vt_cabc_boe, 0},
}, {
- {"MOVIE_UI_CABC", tune_mov_ui_cabcOn_bo, 0},
- {"MOVIE_VIDEO_NOR_CABC", tune_mov_vid_cabcOn_bo, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM_CABC", tune_mov_vid_cabcOn_bo, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD_CABC", tune_mov_vid_cabcOn_bo, LUT_VIDEO},
- {"CAMERA", tune_camera_bo, 0},
- {"MOVIE_UI_CABC", tune_mov_ui_cabcOn_bo, 0},
- {"MOVIE_GALLERY_CABC", tune_mov_gallery_cabcOn_bo, 0},
- {"MOVIE_VT_CABC", tune_mov_vtcall_cabcOn_bo, 0},
+ {"MOVIE_UI_CABC", tune_movie_ui_cabc_boe, 0},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc_boe, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc_boe, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc_boe, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"MOVIE_UI_CABC", tune_movie_ui_cabc_boe, 0},
+ {"MOVIE_GALLERY_CABC", tune_movie_gallery_cabc_boe, 0},
+ {"MOVIE_VT_CABC", tune_movie_vt_cabc_boe, 0},
},
},
};
+struct mdnie_tunning_info camera_table_boe[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera_boe},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor_boe},
+};
+
#endif /* __MDNIE_TABLE_P2_BOE_H__ */
diff --git a/drivers/video/samsung/mdnie_table_p2_hydis.h b/drivers/video/samsung/mdnie_table_p2_hydis.h
index 7901ab4..ee23286 100644
--- a/drivers/video/samsung/mdnie_table_p2_hydis.h
+++ b/drivers/video/samsung/mdnie_table_p2_hydis.h
@@ -1,11 +1,11 @@
-#ifndef __MDNIE_TABLE_P2_hy_H__
-#define __MDNIE_TABLE_P2_hy_H__
+#ifndef __MDNIE_TABLE_P2_HYDIS_H__
+#define __MDNIE_TABLE_P2_HYDIS_H__
#include "mdnie.h"
-static const unsigned short tune_dyn_gallery_cabcOff_hy[] = {
- /*start P2 dynamic, gallery, cabcOff*/
+static const unsigned short tune_dynamic_gallery_hydis[] = {
+ /*start P2 dynamic, gallery, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -59,8 +59,8 @@ static const unsigned short tune_dyn_gallery_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_ui_cabcOff_hy[] = {
- /*start P2 dynamic, ui, cabcOff*/
+static const unsigned short tune_dynamic_ui_hydis[] = {
+ /*start P2 dynamic, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -114,8 +114,8 @@ static const unsigned short tune_dyn_ui_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vid_cabcOff_hy[] = {
- /*start P2 dynamic, video, cabcOff*/
+static const unsigned short tune_dynamic_video_hydis[] = {
+ /*start P2 dynamic, video, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -169,8 +169,8 @@ static const unsigned short tune_dyn_vid_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vtcall_cabcOff_hy[] = {
- /*start P2 dynamic, vtcall, cabcOff*/
+static const unsigned short tune_dynamic_vt_hydis[] = {
+ /*start P2 dynamic, vt, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -224,8 +224,8 @@ static const unsigned short tune_dyn_vtcall_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_gallery_cabcOff_hy[] = {
- /*start P2 movie, gallery, cabcOff*/
+static const unsigned short tune_movie_gallery_hydis[] = {
+ /*start P2 movie, gallery, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -279,8 +279,8 @@ static const unsigned short tune_mov_gallery_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_ui_cabcOff_hy[] = {
- /*start P2 movie, ui, cabcOff*/
+static const unsigned short tune_movie_ui_hydis[] = {
+ /*start P2 movie, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -334,8 +334,8 @@ static const unsigned short tune_mov_ui_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vid_cabcOff_hy[] = {
- /*start P2 movie, video, cabcOff*/
+static const unsigned short tune_movie_video_hydis[] = {
+ /*start P2 movie, video, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -389,8 +389,8 @@ static const unsigned short tune_mov_vid_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vtcall_cabcOff_hy[] = {
- /*start P2 movie, ui, cabcOff*/
+static const unsigned short tune_movie_vt_hydis[] = {
+ /*start P2 movie, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -444,8 +444,8 @@ static const unsigned short tune_mov_vtcall_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_gallery_cabcOff_hy[] = {
- /*start P2 standard, gallery, cabcOff*/
+static const unsigned short tune_standard_gallery_hydis[] = {
+ /*start P2 standard, gallery, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -499,8 +499,8 @@ static const unsigned short tune_std_gallery_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_ui_cabcOff_hy[] = {
- /*start P2 standard, ui, cabcOff*/
+static const unsigned short tune_standard_ui_hydis[] = {
+ /*start P2 standard, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -554,8 +554,8 @@ static const unsigned short tune_std_ui_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vid_cabcOff_hy[] = {
- /*start P2 standard, video, cabcOff*/
+static const unsigned short tune_standard_video_hydis[] = {
+ /*start P2 standard, video, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -609,8 +609,8 @@ static const unsigned short tune_std_vid_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vtcall_cabcOff_hy[] = {
- /*start P2 standard, vtcall, cabcOff*/
+static const unsigned short tune_standard_vt_hydis[] = {
+ /*start P2 standard, vt, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -664,8 +664,8 @@ static const unsigned short tune_std_vtcall_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_gallery_cabcOn_hy[] = {
- /*start P2 dynamic, gallery, cabcOn*/
+static const unsigned short tune_dynamic_gallery_cabc_hydis[] = {
+ /*start P2 dynamic, gallery, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -725,8 +725,8 @@ static const unsigned short tune_dyn_gallery_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_ui_cabcOn_hy[] = {
- /*start P2 dynamic, ui, cabcOn*/
+static const unsigned short tune_dynamic_ui_cabc_hydis[] = {
+ /*start P2 dynamic, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -786,8 +786,8 @@ static const unsigned short tune_dyn_ui_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vid_cabcOn_hy[] = {
- /*start P2 dynamic, video, cabcOn*/
+static const unsigned short tune_dynamic_video_cabc_hydis[] = {
+ /*start P2 dynamic, video, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -847,8 +847,8 @@ static const unsigned short tune_dyn_vid_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vtcall_cabcOn_hy[] = {
- /*start P2 dynamic, vtcall, cabcOn*/
+static const unsigned short tune_dynamic_vt_cabc_hydis[] = {
+ /*start P2 dynamic, vt, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -908,8 +908,8 @@ static const unsigned short tune_dyn_vtcall_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_gallery_cabcOn_hy[] = {
- /*start P2 movie, gallery, cabcOn*/
+static const unsigned short tune_movie_gallery_cabc_hydis[] = {
+ /*start P2 movie, gallery, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -969,8 +969,8 @@ static const unsigned short tune_mov_gallery_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_ui_cabcOn_hy[] = {
- /*start P2 movie, ui, cabcOn*/
+static const unsigned short tune_movie_ui_cabc_hydis[] = {
+ /*start P2 movie, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1030,8 +1030,8 @@ static const unsigned short tune_mov_ui_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vid_cabcOn_hy[] = {
- /*start P2 movie, video, cabcOn*/
+static const unsigned short tune_movie_video_cabc_hydis[] = {
+ /*start P2 movie, video, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1091,8 +1091,8 @@ static const unsigned short tune_mov_vid_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vtcall_cabcOn_hy[] = {
- /*start P2 movie, ui, cabcOn*/
+static const unsigned short tune_movie_vt_cabc_hydis[] = {
+ /*start P2 movie, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -1152,8 +1152,8 @@ static const unsigned short tune_mov_vtcall_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_gallery_cabcOn_hy[] = {
- /*start P2 standard, gallery, cabcOn*/
+static const unsigned short tune_standard_gallery_cabc_hydis[] = {
+ /*start P2 standard, gallery, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1213,8 +1213,8 @@ static const unsigned short tune_std_gallery_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_ui_cabcOn_hy[] = {
- /*start P2 standard, ui, cabcOn*/
+static const unsigned short tune_standard_ui_cabc_hydis[] = {
+ /*start P2 standard, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1274,8 +1274,8 @@ static const unsigned short tune_std_ui_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vid_cabcOn_hy[] = {
- /*start P2 standard, video, cabcOn*/
+static const unsigned short tune_standard_video_cabc_hydis[] = {
+ /*start P2 standard, video, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1335,8 +1335,8 @@ static const unsigned short tune_std_vid_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vtcall_cabcOn_hy[] = {
- /*start P2 standard, vtcall, cabcOn*/
+static const unsigned short tune_standard_vt_cabc_hydis[] = {
+ /*start P2 standard, vt, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -1396,7 +1396,7 @@ static const unsigned short tune_std_vtcall_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_camera_hy[] = {
+static const unsigned short tune_camera_hydis[] = {
/*start P2 camera, bypass*/
0x0001, 0x0020,
0x002c, 0x0fff, /*DNR bypass 0x003C*/
@@ -1439,7 +1439,7 @@ static const unsigned short tune_camera_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_camera_outdoor_hy[] = {
+static const unsigned short tune_camera_outdoor_hydis[] = {
/*start P2 camera, ove*/
0x0001, 0x0022, /*LABC OVE*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
@@ -1483,8 +1483,8 @@ static const unsigned short tune_camera_outdoor_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_cabcOff_hy[] = {
- /*start P2 cold, cabcOff*/
+static const unsigned short tune_cold_hydis[] = {
+ /*start P2 cold, cabcoff*/
0x0001, 0x0064, /*SCR LABC MCM*/
0x005b, 0x0064, /*MCM 10000K*/
0x0063, 0x8a00, /*cb*/
@@ -1494,8 +1494,8 @@ static const unsigned short tune_cold_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_outdoor_cabcOff_hy[] = {
- /*start P2 cold, ove, cabcOff*/
+static const unsigned short tune_cold_outdoor_hydis[] = {
+ /*start P2 cold, ove, cabcoff*/
0x0001, 0x0066, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0064, /*MCM 10000K*/
@@ -1506,8 +1506,8 @@ static const unsigned short tune_cold_outdoor_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor_cabcOff_hy[] = {
- /*start P2 ove, cabcOff*/
+static const unsigned short tune_normal_outdoor_hydis[] = {
+ /*start P2 ove, cabcoff*/
0x0001, 0x0062, /*SCR LABC OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x0028, 0x0000, /*Register Mask*/
@@ -1515,8 +1515,8 @@ static const unsigned short tune_outdoor_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_cabcOff_hy[] = {
- /*start P2 warm, cabcOff*/
+static const unsigned short tune_warm_hydis[] = {
+ /*start P2 warm, cabcoff*/
0x0001, 0x0064, /*SCR LABC MCM*/
0x005b, 0x0028, /*MCM 4000K*/
0x0061, 0x7600, /*cb*/
@@ -1526,8 +1526,8 @@ static const unsigned short tune_warm_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_outdoor_cabcOff_hy[] = {
- /*start P2 warm, ove, cabcOff*/
+static const unsigned short tune_warm_outdoor_hydis[] = {
+ /*start P2 warm, ove, cabcoff*/
0x0001, 0x0066, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0028, /*MCM 4000K*/
@@ -1538,8 +1538,8 @@ static const unsigned short tune_warm_outdoor_cabcOff_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_cabcOn_hy[] = {
- /*start P2 cold, cabcOn*/
+static const unsigned short tune_cold_cabc_hydis[] = {
+ /*start P2 cold, cabcon*/
0x0001, 0x0074, /*SCR LABC MCM CABC*/
0x005b, 0x0064, /*MCM 10000K*/
0x0063, 0x8a00, /*cb*/
@@ -1549,8 +1549,8 @@ static const unsigned short tune_cold_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_outdoor_cabcOn_hy[] = {
- /*start P2 cold, ove, cabcOn*/
+static const unsigned short tune_cold_outdoor_cabc_hydis[] = {
+ /*start P2 cold, ove, cabcon*/
0x0001, 0x0076, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0064, /*MCM 10000K*/
@@ -1561,8 +1561,8 @@ static const unsigned short tune_cold_outdoor_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor_cabcOn_hy[] = {
- /*start P2 ove, cabcOn*/
+static const unsigned short tune_normal_outdoor_cabc_hydis[] = {
+ /*start P2 ove, cabcon*/
0x0001, 0x0072, /*SCR LABC OVE CABC*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x0028, 0x0000, /*Register Mask*/
@@ -1570,8 +1570,8 @@ static const unsigned short tune_outdoor_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_cabcOn_hy[] = {
- /*start P2 warm, cabcOn*/
+static const unsigned short tune_warm_cabc_hydis[] = {
+ /*start P2 warm, cabcon*/
0x0001, 0x0074, /*SCR LABC MCM CABC*/
0x005b, 0x0028, /*MCM 4000K*/
0x0061, 0x7600, /*cb*/
@@ -1581,8 +1581,8 @@ static const unsigned short tune_warm_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_outdoor_cabcOn_hy[] = {
- /*start P2 warm, ove, cabcOn*/
+static const unsigned short tune_warm_outdoor_cabc_hydis[] = {
+ /*start P2 warm, ove, cabcon*/
0x0001, 0x0076, /*SCR LABC MCM OVE CABC*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0028, /*MCM 4000K*/
@@ -1593,97 +1593,100 @@ static const unsigned short tune_warm_outdoor_cabcOn_hy[] = {
END_SEQ, 0x0000,
};
-
-struct mdnie_tunning_info etc_table_hy[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
+struct mdnie_tunning_info etc_table_hydis[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{
{
{"NORMAL", NULL},
- {"WARM", tune_warm_cabcOff_hy},
- {"COLD", tune_cold_cabcOff_hy},
+ {"WARM", tune_warm_hydis},
+ {"COLD", tune_cold_hydis},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor_cabcOff_hy},
- {"WARM_OUTDOOR", tune_warm_outdoor_cabcOff_hy},
- {"COLD_OUTDOOR", tune_cold_outdoor_cabcOff_hy},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor_hydis},
+ {"WARM_OUTDOOR", tune_warm_outdoor_hydis},
+ {"COLD_OUTDOOR", tune_cold_outdoor_hydis},
},
},
{
{
{"NORMAL_CABC", NULL},
- {"WARM_CABC", tune_warm_cabcOn_hy},
- {"COLD_CABC", tune_cold_cabcOn_hy},
+ {"WARM_CABC", tune_warm_cabc_hydis},
+ {"COLD_CABC", tune_cold_cabc_hydis},
},
{
- {"NORMAL_OUTDOOR_CABC", tune_outdoor_cabcOn_hy},
- {"WARM_OUTDOOR_CABC", tune_warm_outdoor_cabcOn_hy},
- {"COLD_OUTDOOR_CABC", tune_cold_outdoor_cabcOn_hy},
+ {"NORMAL_OUTDOOR_CABC", tune_normal_outdoor_cabc_hydis},
+ {"WARM_OUTDOOR_CABC", tune_warm_outdoor_cabc_hydis},
+ {"COLD_OUTDOOR_CABC", tune_cold_outdoor_cabc_hydis},
},
},
};
-struct mdnie_tunning_info_cabc tunning_table_hy
- [CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
+struct mdnie_tunning_info_cabc tunning_table_hydis[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
- {"DYNAMIC_UI", tune_dyn_ui_cabcOff_hy, 0},
- {"DYNAMIC_VIDEO_NOR", tune_dyn_vid_cabcOff_hy, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM", tune_dyn_vid_cabcOff_hy, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dyn_vid_cabcOff_hy, LUT_VIDEO},
- {"CAMERA", tune_camera_hy, 0},
- {"DYNAMIC_UI", tune_dyn_ui_cabcOff_hy, 0},
- {"DYNAMIC_GALLERY", tune_dyn_gallery_cabcOff_hy, 0},
- {"DYNAMIC_VT", tune_dyn_vtcall_cabcOff_hy, 0},
+ {"DYNAMIC_UI", tune_dynamic_ui_hydis, 0},
+ {"DYNAMIC_VIDEO", tune_dynamic_video_hydis, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video_hydis, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video_hydis, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"DYNAMIC_UI", tune_dynamic_ui_hydis, 0},
+ {"DYNAMIC_GALLERY", tune_dynamic_gallery_hydis, 0},
+ {"DYNAMIC_VT", tune_dynamic_vt_hydis, 0},
}, {
- {"STANDARD_UI", tune_std_ui_cabcOff_hy, 0},
- {"STANDARD_VIDEO_NOR", tune_std_vid_cabcOff_hy, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM", tune_std_vid_cabcOff_hy, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD", tune_std_vid_cabcOff_hy, LUT_VIDEO},
- {"CAMERA", tune_camera_hy, 0},
- {"STANDARD_UI", tune_std_ui_cabcOff_hy, 0},
- {"STANDARD_GALLERY", tune_std_gallery_cabcOff_hy, 0},
- {"STANDARD_VT", tune_std_vtcall_cabcOff_hy, 0},
+ {"STANDARD_UI", tune_standard_ui_hydis, 0},
+ {"STANDARD_VIDEO", tune_standard_video_hydis, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video_hydis, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video_hydis, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"STANDARD_UI", tune_standard_ui_hydis, 0},
+ {"STANDARD_GALLERY", tune_standard_gallery_hydis, 0},
+ {"STANDARD_VT", tune_standard_vt_hydis, 0},
}, {
- {"MOVIE_UI", tune_mov_ui_cabcOff_hy, 0},
- {"MOVIE_VIDEO_NOR", tune_mov_vid_cabcOff_hy, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM", tune_mov_vid_cabcOff_hy, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD", tune_mov_vid_cabcOff_hy, LUT_VIDEO},
- {"CAMERA", tune_camera_hy, 0},
- {"MOVIE_UI", tune_mov_ui_cabcOff_hy, 0},
- {"MOVIE_GALLERY", tune_mov_gallery_cabcOff_hy, 0},
- {"MOVIE_VT", tune_mov_vtcall_cabcOff_hy, 0},
+ {"MOVIE_UI", tune_movie_ui_hydis, 0},
+ {"MOVIE_VIDEO", tune_movie_video_hydis, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video_hydis, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video_hydis, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"MOVIE_UI", tune_movie_ui_hydis, 0},
+ {"MOVIE_GALLERY", tune_movie_gallery_hydis, 0},
+ {"MOVIE_VT", tune_movie_vt_hydis, 0},
},
},
{
{
- {"DYNAMIC_UI_CABC", tune_dyn_ui_cabcOn_hy, 0},
- {"DYNAMIC_VIDEO_NOR_CABC", tune_dyn_vid_cabcOn_hy, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM_CABC", tune_dyn_vid_cabcOn_hy, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dyn_vid_cabcOn_hy, LUT_VIDEO},
- {"CAMERA", tune_camera_hy, 0},
- {"DYNAMIC_UI_CABC", tune_dyn_ui_cabcOn_hy, 0},
- {"DYNAMIC_GALLERY_CABC", tune_dyn_gallery_cabcOn_hy, 0},
- {"DYNAMIC_VT_CABC", tune_dyn_vtcall_cabcOn_hy, 0},
+ {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabc_hydis, 0},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc_hydis, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc_hydis, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc_hydis, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabc_hydis, 0},
+ {"DYNAMIC_GALLERY_CABC", tune_dynamic_gallery_cabc_hydis, 0},
+ {"DYNAMIC_VT_CABC", tune_dynamic_vt_cabc_hydis, 0},
}, {
- {"STANDARD_UI_CABC", tune_std_ui_cabcOn_hy, 0},
- {"STANDARD_VIDEO_NOR_CABC", tune_std_vid_cabcOn_hy, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM_CABC", tune_std_vid_cabcOn_hy, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD_CABC", tune_std_vid_cabcOn_hy, LUT_VIDEO},
- {"CAMERA", tune_camera_hy, 0},
- {"STANDARD_UI_CABC", tune_std_ui_cabcOn_hy, 0},
- {"STANDARD_GALLERY_CABC", tune_std_gallery_cabcOn_hy, 0},
- {"STANDARD_VT_CABC", tune_std_vtcall_cabcOn_hy, 0},
+ {"STANDARD_UI_CABC", tune_standard_ui_cabc_hydis, 0},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc_hydis, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc_hydis, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc_hydis, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"STANDARD_UI_CABC", tune_standard_ui_cabc_hydis, 0},
+ {"STANDARD_GALLERY_CABC", tune_standard_gallery_cabc_hydis, 0},
+ {"STANDARD_VT_CABC", tune_standard_vt_cabc_hydis, 0},
}, {
- {"MOVIE_UI_CABC", tune_mov_ui_cabcOn_hy, 0},
- {"MOVIE_VIDEO_NOR_CABC", tune_mov_vid_cabcOn_hy, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM_CABC", tune_mov_vid_cabcOn_hy, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD_CABC", tune_mov_vid_cabcOn_hy, LUT_VIDEO},
- {"CAMERA", tune_camera_hy, 0},
- {"MOVIE_UI_CABC", tune_mov_ui_cabcOn_hy, 0},
- {"MOVIE_GALLERY_CABC", tune_mov_gallery_cabcOn_hy, 0},
- {"MOVIE_VT_CABC", tune_mov_vtcall_cabcOn_hy, 0},
+ {"MOVIE_UI_CABC", tune_movie_ui_cabc_hydis, 0},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc_hydis, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc_hydis, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc_hydis, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"MOVIE_UI_CABC", tune_movie_ui_cabc_hydis, 0},
+ {"MOVIE_GALLERY_CABC", tune_movie_gallery_cabc_hydis, 0},
+ {"MOVIE_VT_CABC", tune_movie_vt_cabc_hydis, 0},
},
},
};
-#endif /* __MDNIE_TABLE_P2_hy_H__ */
+struct mdnie_tunning_info camera_table_hydis[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera_hydis},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor_hydis},
+};
+
+#endif /* __MDNIE_TABLE_P2_HYDIS_H__ */
diff --git a/drivers/video/samsung/mdnie_table_p2_sec.h b/drivers/video/samsung/mdnie_table_p2_sec.h
index 741cab7..7af4614 100644
--- a/drivers/video/samsung/mdnie_table_p2_sec.h
+++ b/drivers/video/samsung/mdnie_table_p2_sec.h
@@ -4,8 +4,8 @@
#include "mdnie.h"
-static const unsigned short tune_dyn_gallery_cabcOff_sec[] = {
- /*start P2 dynamic, gallery, cabcOff*/
+static const unsigned short tune_dynamic_gallery_sec[] = {
+ /*start P2 dynamic, gallery, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -59,8 +59,8 @@ static const unsigned short tune_dyn_gallery_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_ui_cabcOff_sec[] = {
- /*start P2 dynamic, ui, cabcOff*/
+static const unsigned short tune_dynamic_ui_sec[] = {
+ /*start P2 dynamic, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -114,8 +114,8 @@ static const unsigned short tune_dyn_ui_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vid_cabcOff_sec[] = {
- /*start P2 dynamic, video, cabcOff*/
+static const unsigned short tune_dynamic_video_sec[] = {
+ /*start P2 dynamic, video, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -169,8 +169,8 @@ static const unsigned short tune_dyn_vid_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vtcall_cabcOff_sec[] = {
- /*start P2 dynamic, vtcall, cabcOff*/
+static const unsigned short tune_dynamic_vt_sec[] = {
+ /*start P2 dynamic, vt, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -224,8 +224,8 @@ static const unsigned short tune_dyn_vtcall_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_gallery_cabcOff_sec[] = {
- /*start P2 movie, gallery, cabcOff*/
+static const unsigned short tune_movie_gallery_sec[] = {
+ /*start P2 movie, gallery, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -279,8 +279,8 @@ static const unsigned short tune_mov_gallery_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_ui_cabcOff_sec[] = {
- /*start P2 movie, ui, cabcOff*/
+static const unsigned short tune_movie_ui_sec[] = {
+ /*start P2 movie, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -334,8 +334,8 @@ static const unsigned short tune_mov_ui_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vid_cabcOff_sec[] = {
- /*start P2 movie, video, cabcOff*/
+static const unsigned short tune_movie_video_sec[] = {
+ /*start P2 movie, video, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -389,8 +389,8 @@ static const unsigned short tune_mov_vid_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vtcall_cabcOff_sec[] = {
- /*start P2 movie, ui, cabcOff*/
+static const unsigned short tune_movie_vt_sec[] = {
+ /*start P2 movie, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -444,8 +444,8 @@ static const unsigned short tune_mov_vtcall_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_gallery_cabcOff_sec[] = {
- /*start P2 standard, gallery, cabcOff*/
+static const unsigned short tune_standard_gallery_sec[] = {
+ /*start P2 standard, gallery, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -499,8 +499,8 @@ static const unsigned short tune_std_gallery_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_ui_cabcOff_sec[] = {
- /*start P2 standard, ui, cabcOff*/
+static const unsigned short tune_standard_ui_sec[] = {
+ /*start P2 standard, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC 0060*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -554,8 +554,8 @@ static const unsigned short tune_std_ui_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vid_cabcOff_sec[] = {
- /*start P2 standard, video, cabcOff*/
+static const unsigned short tune_standard_video_sec[] = {
+ /*start P2 standard, video, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -609,8 +609,8 @@ static const unsigned short tune_std_vid_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vtcall_cabcOff_sec[] = {
- /*start P2 standard, vtcall, cabcOff*/
+static const unsigned short tune_standard_vt_sec[] = {
+ /*start P2 standard, vt, cabcoff*/
0x0001, 0x0060, /* LABC 0060 LABC SCR*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -664,8 +664,8 @@ static const unsigned short tune_std_vtcall_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_gallery_cabcOn_sec[] = {
- /*start P2 dynamic, gallery, cabcOn*/
+static const unsigned short tune_dynamic_gallery_cabc_sec[] = {
+ /*start P2 dynamic, gallery, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -725,8 +725,8 @@ static const unsigned short tune_dyn_gallery_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_ui_cabcOn_sec[] = {
- /*start P2 dynamic, ui, cabcOn*/
+static const unsigned short tune_dynamic_ui_cabc_sec[] = {
+ /*start P2 dynamic, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -786,8 +786,8 @@ static const unsigned short tune_dyn_ui_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vid_cabcOn_sec[] = {
- /*start P2 dynamic, video, cabcOn*/
+static const unsigned short tune_dynamic_video_cabc_sec[] = {
+ /*start P2 dynamic, video, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -847,8 +847,8 @@ static const unsigned short tune_dyn_vid_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vtcall_cabcOn_sec[] = {
- /*start P2 dynamic, vtcall, cabcOn*/
+static const unsigned short tune_dynamic_vt_cabc_sec[] = {
+ /*start P2 dynamic, vt, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -908,8 +908,8 @@ static const unsigned short tune_dyn_vtcall_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_gallery_cabcOn_sec[] = {
- /*start P2 movie, gallery, cabcOn*/
+static const unsigned short tune_movie_gallery_cabc_sec[] = {
+ /*start P2 movie, gallery, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -969,8 +969,8 @@ static const unsigned short tune_mov_gallery_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_ui_cabcOn_sec[] = {
- /*start P2 movie, ui, cabcOn*/
+static const unsigned short tune_movie_ui_cabc_sec[] = {
+ /*start P2 movie, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1030,8 +1030,8 @@ static const unsigned short tune_mov_ui_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vid_cabcOn_sec[] = {
- /*start P2 movie, video, cabcOn*/
+static const unsigned short tune_movie_video_cabc_sec[] = {
+ /*start P2 movie, video, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1091,8 +1091,8 @@ static const unsigned short tune_mov_vid_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vtcall_cabcOn_sec[] = {
- /*start P2 movie, ui, cabcOn*/
+static const unsigned short tune_movie_vt_cabc_sec[] = {
+ /*start P2 movie, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -1152,8 +1152,8 @@ static const unsigned short tune_mov_vtcall_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_gallery_cabcOn_sec[] = {
- /*start P2 standard, gallery, cabcOn*/
+static const unsigned short tune_standard_gallery_cabc_sec[] = {
+ /*start P2 standard, gallery, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1213,8 +1213,8 @@ static const unsigned short tune_std_gallery_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_ui_cabcOn_sec[] = {
- /*start P2 standard, ui, cabcOn*/
+static const unsigned short tune_standard_ui_cabc_sec[] = {
+ /*start P2 standard, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1274,8 +1274,8 @@ static const unsigned short tune_std_ui_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vid_cabcOn_sec[] = {
- /*start P2 standard, video, cabcOn*/
+static const unsigned short tune_standard_video_cabc_sec[] = {
+ /*start P2 standard, video, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1335,8 +1335,8 @@ static const unsigned short tune_std_vid_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vtcall_cabcOn_sec[] = {
- /*start P2 standard, vtcall, cabcOn*/
+static const unsigned short tune_standard_vt_cabc_sec[] = {
+ /*start P2 standard, vt, cabcon*/
0x0001, 0x0070, /* LABC SCR CABC*/
0x002c, 0x0fff, /*DNR VTcall,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -1483,8 +1483,8 @@ static const unsigned short tune_camera_outdoor_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_cabcOff_sec[] = {
- /*start P2 cold, cabcOff*/
+static const unsigned short tune_cold_sec[] = {
+ /*start P2 cold, cabcoff*/
0x0001, 0x0064, /*SCR LABC MCM*/
0x005b, 0x0064, /*MCM 10000K*/
0x0063, 0x8a00, /*cb*/
@@ -1494,8 +1494,8 @@ static const unsigned short tune_cold_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_outdoor_cabcOff_sec[] = {
- /*start P2 cold, ove, cabcOff*/
+static const unsigned short tune_cold_outdoor_sec[] = {
+ /*start P2 cold, ove, cabcoff*/
0x0001, 0x0066, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0064, /*MCM 10000K*/
@@ -1506,8 +1506,8 @@ static const unsigned short tune_cold_outdoor_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor_cabcOff_sec[] = {
- /*start P2 ove, cabcOff*/
+static const unsigned short tune_normal_outdoor_sec[] = {
+ /*start P2 ove, cabcoff*/
0x0001, 0x0062, /*SCR LABC OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x0028, 0x0000, /*Register Mask*/
@@ -1515,8 +1515,8 @@ static const unsigned short tune_outdoor_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_cabcOff_sec[] = {
- /*start P2 warm, cabcOff*/
+static const unsigned short tune_warm_sec[] = {
+ /*start P2 warm, cabcoff*/
0x0001, 0x0064, /*SCR LABC MCM*/
0x005b, 0x0028, /*MCM 4000K*/
0x0061, 0x7600, /*cb*/
@@ -1526,8 +1526,8 @@ static const unsigned short tune_warm_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_outdoor_cabcOff_sec[] = {
- /*start P2 warm, ove, cabcOff*/
+static const unsigned short tune_warm_outdoor_sec[] = {
+ /*start P2 warm, ove, cabcoff*/
0x0001, 0x0066, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0028, /*MCM 4000K*/
@@ -1538,8 +1538,8 @@ static const unsigned short tune_warm_outdoor_cabcOff_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_cabcOn_sec[] = {
- /*start P2 cold, cabcOn*/
+static const unsigned short tune_cold_cabc_sec[] = {
+ /*start P2 cold, cabcon*/
0x0001, 0x0074, /*SCR LABC MCM CABC*/
0x005b, 0x0064, /*MCM 10000K*/
0x0063, 0x8a00, /*cb*/
@@ -1549,8 +1549,8 @@ static const unsigned short tune_cold_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_outdoor_cabcOn_sec[] = {
- /*start P2 cold, ove, cabcOn*/
+static const unsigned short tune_cold_outdoor_cabc_sec[] = {
+ /*start P2 cold, ove, cabcon*/
0x0001, 0x0076, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0064, /*MCM 10000K*/
@@ -1561,8 +1561,8 @@ static const unsigned short tune_cold_outdoor_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor_cabcOn_sec[] = {
- /*start P2 ove, cabcOn*/
+static const unsigned short tune_normal_outdoor_cabc_sec[] = {
+ /*start P2 ove, cabcon*/
0x0001, 0x0072, /*SCR LABC OVE CABC*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x0028, 0x0000, /*Register Mask*/
@@ -1570,8 +1570,8 @@ static const unsigned short tune_outdoor_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_cabcOn_sec[] = {
- /*start P2 warm, cabcOn*/
+static const unsigned short tune_warm_cabc_sec[] = {
+ /*start P2 warm, cabcon*/
0x0001, 0x0074, /*SCR LABC MCM CABC*/
0x005b, 0x0028, /*MCM 4000K*/
0x0061, 0x7600, /*cb*/
@@ -1581,8 +1581,8 @@ static const unsigned short tune_warm_cabcOn_sec[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_outdoor_cabcOn_sec[] = {
- /*start P2 warm, ove, cabcOn*/
+static const unsigned short tune_warm_outdoor_cabc_sec[] = {
+ /*start P2 warm, ove, cabcon*/
0x0001, 0x0076, /*SCR LABC MCM OVE CABC*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0028, /*MCM 4000K*/
@@ -1598,92 +1598,96 @@ struct mdnie_tunning_info etc_table_sec[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{
{
{"NORMAL", NULL},
- {"WARM", tune_warm_cabcOff_sec},
- {"COLD", tune_cold_cabcOff_sec},
+ {"WARM", tune_warm_sec},
+ {"COLD", tune_cold_sec},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor_cabcOff_sec},
- {"WARM_OUTDOOR", tune_warm_outdoor_cabcOff_sec},
- {"COLD_OUTDOOR", tune_cold_outdoor_cabcOff_sec},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor_sec},
+ {"WARM_OUTDOOR", tune_warm_outdoor_sec},
+ {"COLD_OUTDOOR", tune_cold_outdoor_sec},
},
},
{
{
{"NORMAL_CABC", NULL},
- {"WARM_CABC", tune_warm_cabcOn_sec},
- {"COLD_CABC", tune_cold_cabcOn_sec},
+ {"WARM_CABC", tune_warm_cabc_sec},
+ {"COLD_CABC", tune_cold_cabc_sec},
},
{
- {"NORMAL_OUTDOOR_CABC", tune_outdoor_cabcOn_sec},
- {"WARM_OUTDOOR_CABC", tune_warm_outdoor_cabcOn_sec},
- {"COLD_OUTDOOR_CABC", tune_cold_outdoor_cabcOn_sec},
+ {"NORMAL_OUTDOOR_CABC", tune_normal_outdoor_cabc_sec},
+ {"WARM_OUTDOOR_CABC", tune_warm_outdoor_cabc_sec},
+ {"COLD_OUTDOOR_CABC", tune_cold_outdoor_cabc_sec},
},
},
};
-struct mdnie_tunning_info_cabc tunning_table_sec
- [CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
+struct mdnie_tunning_info_cabc tunning_table_sec[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
- {"DYNAMIC_UI", tune_dyn_ui_cabcOff_sec, 0},
- {"DYNAMIC_VIDEO_NOR", tune_dyn_vid_cabcOff_sec, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM", tune_dyn_vid_cabcOff_sec, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dyn_vid_cabcOff_sec, LUT_VIDEO},
- {"CAMERA", tune_camera_sec, 0},
- {"DYNAMIC_UI", tune_dyn_ui_cabcOff_sec, 0},
- {"DYNAMIC_GALLERY", tune_dyn_gallery_cabcOff_sec, 0},
- {"DYNAMIC_VT", tune_dyn_vtcall_cabcOff_sec, 0},
+ {"DYNAMIC_UI", tune_dynamic_ui_sec, 0},
+ {"DYNAMIC_VIDEO", tune_dynamic_video_sec, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video_sec, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video_sec, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"DYNAMIC_UI", tune_dynamic_ui_sec, 0},
+ {"DYNAMIC_GALLERY", tune_dynamic_gallery_sec, 0},
+ {"DYNAMIC_VT", tune_dynamic_vt_sec, 0},
}, {
- {"STANDARD_UI", tune_std_ui_cabcOff_sec, 0},
- {"STANDARD_VIDEO_NOR", tune_std_vid_cabcOff_sec, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM", tune_std_vid_cabcOff_sec, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD", tune_std_vid_cabcOff_sec, LUT_VIDEO},
- {"CAMERA", tune_camera_sec, 0},
- {"STANDARD_UI", tune_std_ui_cabcOff_sec, 0},
- {"STANDARD_GALLERY", tune_std_gallery_cabcOff_sec, 0},
- {"STANDARD_VT", tune_std_vtcall_cabcOff_sec, 0},
+ {"STANDARD_UI", tune_standard_ui_sec, 0},
+ {"STANDARD_VIDEO", tune_standard_video_sec, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video_sec, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video_sec, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"STANDARD_UI", tune_standard_ui_sec, 0},
+ {"STANDARD_GALLERY", tune_standard_gallery_sec, 0},
+ {"STANDARD_VT", tune_standard_vt_sec, 0},
}, {
- {"MOVIE_UI", tune_mov_ui_cabcOff_sec, 0},
- {"MOVIE_VIDEO_NOR", tune_mov_vid_cabcOff_sec, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM", tune_mov_vid_cabcOff_sec, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD", tune_mov_vid_cabcOff_sec, LUT_VIDEO},
- {"CAMERA", tune_camera_sec, 0},
- {"MOVIE_UI", tune_mov_ui_cabcOff_sec, 0},
- {"MOVIE_GALLERY", tune_mov_gallery_cabcOff_sec, 0},
- {"MOVIE_VT", tune_mov_vtcall_cabcOff_sec, 0},
+ {"MOVIE_UI", tune_movie_ui_sec, 0},
+ {"MOVIE_VIDEO", tune_movie_video_sec, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video_sec, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video_sec, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"MOVIE_UI", tune_movie_ui_sec, 0},
+ {"MOVIE_GALLERY", tune_movie_gallery_sec, 0},
+ {"MOVIE_VT", tune_movie_vt_sec, 0},
},
},
{
{
- {"DYNAMIC_UI_CABC", tune_dyn_ui_cabcOn_sec, 0},
- {"DYNAMIC_VIDEO_NOR_CABC", tune_dyn_vid_cabcOn_sec, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WAR_CABC", tune_dyn_vid_cabcOn_sec, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dyn_vid_cabcOn_sec, LUT_VIDEO},
- {"CAMERA", tune_camera_sec, 0},
- {"DYNAMIC_UI_CABC", tune_dyn_ui_cabcOn_sec, 0},
- {"DYNAMIC_GALLERY_CABC", tune_dyn_gallery_cabcOn_sec, 0},
- {"DYNAMIC_VT_CABC", tune_dyn_vtcall_cabcOn_sec, 0},
+ {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabc_sec, 0},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc_sec, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc_sec, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc_sec, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabc_sec, 0},
+ {"DYNAMIC_GALLERY_CABC", tune_dynamic_gallery_cabc_sec, 0},
+ {"DYNAMIC_VT_CABC", tune_dynamic_vt_cabc_sec, 0},
}, {
- {"STANDARD_UI_CABC", tune_std_ui_cabcOn_sec, 0},
- {"STANDARD_VIDEO_NOR_CABC", tune_std_vid_cabcOn_sec, LUT_VIDEO},
- {"STANDARD_VIDEO_WAR_CABC", tune_std_vid_cabcOn_sec, LUT_VIDEO},
- {"STANDARD_VIDEO_COL_CABC", tune_std_vid_cabcOn_sec, LUT_VIDEO},
- {"CAMERA", tune_camera_sec, 0},
- {"STANDARD_UI_CABC", tune_std_ui_cabcOn_sec, 0},
- {"STANDARD_GALLERY_CABC", tune_std_gallery_cabcOn_sec, 0},
- {"STANDARD_VT_CABC", tune_std_vtcall_cabcOn_sec, 0},
+ {"STANDARD_UI_CABC", tune_standard_ui_cabc_sec, 0},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc_sec, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc_sec, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc_sec, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"STANDARD_UI_CABC", tune_standard_ui_cabc_sec, 0},
+ {"STANDARD_GALLERY_CABC", tune_standard_gallery_cabc_sec, 0},
+ {"STANDARD_VT_CABC", tune_standard_vt_cabc_sec, 0},
}, {
- {"MOVIE_UI_CABC", tune_mov_ui_cabcOn_sec, 0},
- {"MOVIE_VIDEO_NOR_CABC", tune_mov_vid_cabcOn_sec, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM_CABC", tune_mov_vid_cabcOn_sec, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD_CABC", tune_mov_vid_cabcOn_sec, LUT_VIDEO},
- {"CAMERA", tune_camera_sec, 0},
- {"MOVIE_UI_CABC", tune_mov_ui_cabcOn_sec, 0},
- {"MOVIE_GALLERY_CABC", tune_mov_gallery_cabcOn_sec, 0},
- {"MOVIE_VT_CABC", tune_mov_vtcall_cabcOn_sec, 0},
+ {"MOVIE_UI_CABC", tune_movie_ui_cabc_sec, 0},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc_sec, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc_sec, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc_sec, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"MOVIE_UI_CABC", tune_movie_ui_cabc_sec, 0},
+ {"MOVIE_GALLERY_CABC", tune_movie_gallery_cabc_sec, 0},
+ {"MOVIE_VT_CABC", tune_movie_vt_cabc_sec, 0},
},
},
};
+struct mdnie_tunning_info camera_table_sec[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera_sec},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor_sec},
+};
+
#endif /* __MDNIE_TABLE_P2_SEC_H__ */
diff --git a/drivers/video/samsung/mdnie_table_p4.h b/drivers/video/samsung/mdnie_table_p4.h
index 1265de4..94c542b 100644
--- a/drivers/video/samsung/mdnie_table_p4.h
+++ b/drivers/video/samsung/mdnie_table_p4.h
@@ -9,8 +9,8 @@ static const unsigned char power_lut[2][9] = {
{0x38, 0x3d, 0x34, 0x48, 0x38, 0x35, 0x30, 0x2d, 0x35},
};
-static const unsigned short tune_dyn_gallery_cabcOff[] = {
- /*start P4 dynamic, gallery, cabcOff*/
+static const unsigned short tune_dynamic_gallery[] = {
+ /*start P4 dynamic, gallery, cabcoff*/
0x0001, 0x0060, /*SCR LABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -64,8 +64,8 @@ static const unsigned short tune_dyn_gallery_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_ui_cabcOff[] = {
- /*start P4 dynamic, ui, cabcOff*/
+static const unsigned short tune_dynamic_ui[] = {
+ /*start P4 dynamic, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -119,8 +119,8 @@ static const unsigned short tune_dyn_ui_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_video_cabcOff[] = {
- /*start P4 dynamic, video, cabcOff*/
+static const unsigned short tune_dynamic_video[] = {
+ /*start P4 dynamic, video, cabcoff*/
0x0001, 0x0060, /*SCR LABC*/
0x002c, 0x0FFF, /*DNR*/
0x002d, 0x1905, /*dirnum,decon7*/
@@ -174,8 +174,8 @@ static const unsigned short tune_dyn_video_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vtcall_cabcOff[] = {
- /*start P4 standard, vtcall, cabcOff*/
+static const unsigned short tune_dynamic_vt[] = {
+ /*start P4 standard, vt, cabcoff*/
0x0001, 0x0060, /*LABC CABC*/
0x002c, 0x0fff, /*DNR bypass,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -229,8 +229,8 @@ static const unsigned short tune_dyn_vtcall_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_gallery_cabcOff[] = {
- /*start P4 movie, gallery, cabcOff*/
+static const unsigned short tune_movie_gallery[] = {
+ /*start P4 movie, gallery, cabcoff*/
0x0001, 0x0060, /*SCR LABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -284,8 +284,8 @@ static const unsigned short tune_mov_gallery_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_ui_cabcOff[] = {
- /*start P4 movie, ui, cabcOff*/
+static const unsigned short tune_movie_ui[] = {
+ /*start P4 movie, ui, cabcoff*/
0x0001, 0x0060, /*SCR LABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -339,8 +339,8 @@ static const unsigned short tune_mov_ui_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_video_cabcOff[] = {
- /*start P4 movie, video, cabcOff*/
+static const unsigned short tune_movie_video[] = {
+ /*start P4 movie, video, cabcoff*/
0x0001, 0x0060, /*SCR LABC*/
0x002c, 0x0FFF, /*DNR*/
0x002d, 0x1905, /*dirnum,decon7*/
@@ -394,8 +394,8 @@ static const unsigned short tune_mov_video_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vtcall_cabcOff[] = {
- /*start P4 movie, vtcall, cabcOff*/
+static const unsigned short tune_movie_vt[] = {
+ /*start P4 movie, vt, cabcoff*/
0x0001, 0x0060, /*SCR LABC*/
0x002c, 0x0fff, /*DNR bypass,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -449,8 +449,8 @@ static const unsigned short tune_mov_vtcall_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_gallery_cabcOff[] = {
- /* start P4 standard, gallery, cabcOff */
+static const unsigned short tune_standard_gallery[] = {
+ /* start P4 standard, gallery, cabcoff */
0x0001, 0x0060, /* LABC CABC */
0x002c, 0x0fff, /* DNR bypass */
0x002d, 0x1900, /* DNR bypass */
@@ -504,8 +504,8 @@ static const unsigned short tune_std_gallery_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_ui_cabcOff[] = {
- /*start P4 standard, ui, cabcOff */
+static const unsigned short tune_standard_ui[] = {
+ /*start P4 standard, ui, cabcoff */
0x0001, 0x0020, /*SCR LABC */
0x002c, 0x0fff, /*DNR bypass 0x003C */
0x002d, 0x1900, /*DNR bypass 0x0a08 */
@@ -559,8 +559,8 @@ static const unsigned short tune_std_ui_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vid_cabcOff[] = {
- /*start P4 standard, video, cabcOff*/
+static const unsigned short tune_standard_video[] = {
+ /*start P4 standard, video, cabcoff*/
0x0001, 0x0060, /*SCR LABC*/
0x002c, 0x0FFF, /*DNR*/
0x002d, 0x1905, /* dirnum,decon7 */
@@ -614,8 +614,8 @@ static const unsigned short tune_std_vid_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vtcall_cabcOff[] = {
- /*start P4 standard, vtcall, cabcOff*/
+static const unsigned short tune_standard_vt[] = {
+ /*start P4 standard, vt, cabcoff*/
0x0001, 0x0060, /*LABC CABC*/
0x002c, 0x0fff, /*DNR bypass,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -669,8 +669,8 @@ static const unsigned short tune_std_vtcall_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_gallery_cabcOn[] = {
- /*start P4 dynamic, gallery, cabcOn*/
+static const unsigned short tune_dynamic_gallery_cabc[] = {
+ /*start P4 dynamic, gallery, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -734,8 +734,8 @@ static const unsigned short tune_dyn_gallery_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_ui_cabcOn[] = {
- /*start P4 dynamic, ui, cabcOn*/
+static const unsigned short tune_dynamic_ui_cabc[] = {
+ /*start P4 dynamic, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -799,8 +799,8 @@ static const unsigned short tune_dyn_ui_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vid_cabcOn[] = {
- /*start P4 dynamic, video, cabcOn*/
+static const unsigned short tune_dynamic_video_cabc[] = {
+ /*start P4 dynamic, video, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0FFF, /*DNR*/
0x002d, 0x1905, /*dirnum,decon7*/
@@ -864,8 +864,8 @@ static const unsigned short tune_dyn_vid_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dyn_vtcall_cabcOn[] = {
- /*start P4 dynamic, vtcall, cabcOn*/
+static const unsigned short tune_dynamic_vt_cabc[] = {
+ /*start P4 dynamic, vt, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -929,8 +929,8 @@ static const unsigned short tune_dyn_vtcall_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_gallery_cabcOn[] = {
- /*start P4 movie, gallery, cabcOn*/
+static const unsigned short tune_movie_gallery_cabc[] = {
+ /*start P4 movie, gallery, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -994,8 +994,8 @@ static const unsigned short tune_mov_gallery_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_ui_cabcOn[] = {
- /*start P4 movie, ui, cabcOn*/
+static const unsigned short tune_movie_ui_cabc[] = {
+ /*start P4 movie, ui, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass 0x003C*/
0x002d, 0x1900, /*DNR bypass 0x0a08*/
@@ -1059,8 +1059,8 @@ static const unsigned short tune_mov_ui_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vid_cabcOn[] = {
- /*start P4 movie, video, cabcOn*/
+static const unsigned short tune_movie_video_cabc[] = {
+ /*start P4 movie, video, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0FFF, /*DNR*/
0x002d, 0x1905, /*dirnum,decon7*/
@@ -1124,8 +1124,8 @@ static const unsigned short tune_mov_vid_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_mov_vtcall_cabcOn[] = {
- /*start P4 movie, vtcall, cabcOn*/
+static const unsigned short tune_movie_vt_cabc[] = {
+ /*start P4 movie, vt, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -1189,8 +1189,8 @@ static const unsigned short tune_mov_vtcall_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_gallery_cabcOn[] = {
- /* start P4 standard, gallery, cabcOn */
+static const unsigned short tune_standard_gallery_cabc[] = {
+ /* start P4 standard, gallery, cabcon */
0x0001, 0x0070, /* SCR LABC CABC */
0x002c, 0x0fff, /* DNR bypass 0x003C */
0x002d, 0x1900, /* DNR bypass 0x0a08 */
@@ -1254,8 +1254,8 @@ static const unsigned short tune_std_gallery_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_ui_cabcOn[] = {
- /*start P4 standard, ui, cabcOn */
+static const unsigned short tune_standard_ui_cabc[] = {
+ /*start P4 standard, ui, cabcon */
0x0001, 0x0030, /*SCR LABC CABC */
0x002c, 0x0fff, /*DNR bypass 0x003C */
0x002d, 0x1900, /*DNR bypass 0x0a08 */
@@ -1319,8 +1319,8 @@ static const unsigned short tune_std_ui_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vid_cabcOn[] = {
- /* start P4 standard, video, cabcOn */
+static const unsigned short tune_standard_video_cabc[] = {
+ /* start P4 standard, video, cabcon */
0x0001, 0x0070, /* SCR LABC CABC */
0x002c, 0x0FFF, /* DNR */
0x002d, 0x1905, /* dirnum,decon7 */
@@ -1384,8 +1384,8 @@ static const unsigned short tune_std_vid_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_std_vtcall_cabcOn[] = {
- /*start P4 standard, vtcall, cabcOn*/
+static const unsigned short tune_standard_vt_cabc[] = {
+ /*start P4 standard, vt, cabcon*/
0x0001, 0x0070, /*SCR LABC CABC*/
0x002c, 0x0fff, /*DNR bypass,dir_th 0x003c*/
0x002d, 0x19ff, /*DNR dir_num,decont7 0x0a08*/
@@ -1560,8 +1560,8 @@ static const unsigned short tune_camera_outdoor[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_cabcOff[] = {
- /*start P4 cold, cabcOff*/
+static const unsigned short tune_cold[] = {
+ /*start P4 cold, cabcoff*/
0x0001, 0x0064, /*SCR LABC MCM*/
0x005b, 0x0064, /*MCM 10000K*/
0x0063, 0x8a00, /*cb*/
@@ -1571,8 +1571,8 @@ static const unsigned short tune_cold_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_outdoor_cabcOff[] = {
- /*start P4 cold, ove, cabcOff*/
+static const unsigned short tune_cold_outdoor[] = {
+ /*start P4 cold, ove, cabcoff*/
0x0001, 0x0066, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0064, /*MCM 10000K*/
@@ -1583,8 +1583,8 @@ static const unsigned short tune_cold_outdoor_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor_cabcOff[] = {
- /*start P4 ove, cabcOff*/
+static const unsigned short tune_normal_outdoor[] = {
+ /*start P4 ove, cabcoff*/
0x0001, 0x0062, /*SCR LABC OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x0028, 0x0000, /*Register Mask*/
@@ -1592,8 +1592,8 @@ static const unsigned short tune_outdoor_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_cabcOff[] = {
- /*start P4 warm, cabcOff*/
+static const unsigned short tune_warm[] = {
+ /*start P4 warm, cabcoff*/
0x0001, 0x0064, /*SCR LABC MCM*/
0x005b, 0x0028, /*MCM 4000K*/
0x0061, 0x7600, /*cb*/
@@ -1603,8 +1603,8 @@ static const unsigned short tune_warm_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_outdoor_cabcOff[] = {
- /*start P4 warm, ove, cabcOff*/
+static const unsigned short tune_warm_outdoor[] = {
+ /*start P4 warm, ove, cabcoff*/
0x0001, 0x0066, /*SCR LABC MCM OVE*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0028, /*MCM 4000K*/
@@ -1615,8 +1615,8 @@ static const unsigned short tune_warm_outdoor_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_cabcOn[] = {
- /*start P4 cold, cabcOn*/
+static const unsigned short tune_cold_cabc[] = {
+ /*start P4 cold, cabcon*/
0x0001, 0x0074, /*SCR LABC MCM CABC*/
0x005b, 0x0064, /*MCM 10000K*/
0x0063, 0x8a00, /*cb*/
@@ -1626,8 +1626,8 @@ static const unsigned short tune_cold_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_outdoor_cabcOn[] = {
- /*start P4 cold, ove, cabcOn*/
+static const unsigned short tune_cold_outdoor_cabc[] = {
+ /*start P4 cold, ove, cabcon*/
0x0001, 0x0076, /*SCR LABC MCM OVE CABC*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0064, /*MCM 10000K*/
@@ -1638,8 +1638,8 @@ static const unsigned short tune_cold_outdoor_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor_cabcOn[] = {
- /*start P4 ove, cabcOn*/
+static const unsigned short tune_normal_outdoor_cabc[] = {
+ /*start P4 ove, cabcon*/
0x0001, 0x0072, /*SCR LABC OVE CABC*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x0028, 0x0000, /*Register Mask*/
@@ -1647,8 +1647,8 @@ static const unsigned short tune_outdoor_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_cabcOn[] = {
- /*start P4 warm, cabcOn*/
+static const unsigned short tune_warm_cabc[] = {
+ /*start P4 warm, cabcon*/
0x0001, 0x0074, /*SCR LABC MCM CABC*/
0x005b, 0x0028, /*MCM 4000K*/
0x0061, 0x7600, /*cb*/
@@ -1658,8 +1658,8 @@ static const unsigned short tune_warm_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_outdoor_cabcOn[] = {
- /*start P4 warm, ove, cabcOn*/
+static const unsigned short tune_warm_outdoor_cabc[] = {
+ /*start P4 warm, ove, cabcon*/
0x0001, 0x0076, /*SCR LABC MCM OVE CABC*/
0x0054, 0x6050, /*OVE Lightness Chroma*/
0x005b, 0x0028, /*MCM 4000K*/
@@ -1675,91 +1675,95 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{
{
{"NORMAL", NULL},
- {"WARM", tune_warm_cabcOff},
- {"COLD", tune_cold_cabcOff},
+ {"WARM", tune_warm},
+ {"COLD", tune_cold},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor_cabcOff},
- {"WARM_OUTDOOR", tune_warm_outdoor_cabcOff},
- {"COLD_OUTDOOR", tune_cold_outdoor_cabcOff},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor},
+ {"WARM_OUTDOOR", tune_warm_outdoor},
+ {"COLD_OUTDOOR", tune_cold_outdoor},
},
},
{
{
{"NORMAL_CABC", NULL},
- {"WARM_CABC", tune_warm_cabcOn},
- {"COLD_CABC", tune_cold_cabcOn},
+ {"WARM_CABC", tune_warm_cabc},
+ {"COLD_CABC", tune_cold_cabc},
},
{
- {"NORMAL_OUTDOOR_CABC", tune_outdoor_cabcOn},
- {"WARM_OUTDOOR_CABC", tune_warm_outdoor_cabcOn},
- {"COLD_OUTDOOR_CABC", tune_cold_outdoor_cabcOn},
+ {"NORMAL_OUTDOOR_CABC", tune_normal_outdoor_cabc},
+ {"WARM_OUTDOOR_CABC", tune_warm_outdoor_cabc},
+ {"COLD_OUTDOOR_CABC", tune_cold_outdoor_cabc},
},
},
};
-struct mdnie_tunning_info_cabc tunning_table
- [CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
+struct mdnie_tunning_info_cabc tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
- {"DYNAMIC_UI", tune_dyn_ui_cabcOff, 0},
- {"DYNAMIC_VIDEO_NOR", tune_dyn_video_cabcOff, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM", tune_dyn_video_cabcOff, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dyn_video_cabcOff, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"DYNAMIC_UI", tune_dyn_ui_cabcOff, 0},
- {"DYNAMIC_GALLERY", tune_dyn_gallery_cabcOff, 0},
- {"DYNAMIC_VT", tune_dyn_vtcall_cabcOff, 0},
+ {"DYNAMIC_UI", tune_dynamic_ui, 0},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"DYNAMIC_UI", tune_dynamic_ui, 0},
+ {"DYNAMIC_GALLERY", tune_dynamic_gallery, 0},
+ {"DYNAMIC_VT", tune_dynamic_vt, 0},
}, {
- {"STANDARD_UI", tune_std_ui_cabcOff, 0},
- {"STANDARD_VIDEO_NOR", tune_std_vid_cabcOff, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM", tune_std_vid_cabcOff, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD", tune_std_vid_cabcOff, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"STANDARD_UI", tune_std_ui_cabcOff, 0},
- {"STANDARD_GALLERY", tune_std_gallery_cabcOff, 0},
- {"STANDARD_VT", tune_std_vtcall_cabcOff, 0},
+ {"STANDARD_UI", tune_standard_ui, 0},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"STANDARD_UI", tune_standard_ui, 0},
+ {"STANDARD_GALLERY", tune_standard_gallery, 0},
+ {"STANDARD_VT", tune_standard_vt, 0},
}, {
- {"MOVIE_UI", tune_mov_ui_cabcOff, 0},
- {"MOVIE_VIDEO_NOR", tune_mov_video_cabcOff, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM", tune_mov_video_cabcOff, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD", tune_mov_video_cabcOff, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"MOVIE_UI", tune_mov_ui_cabcOff, 0},
- {"MOVIE_GALLERY", tune_mov_gallery_cabcOff, 0},
- {"MOVIE_VT", tune_mov_vtcall_cabcOff, 0},
+ {"MOVIE_UI", tune_movie_ui, 0},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"MOVIE_UI", tune_movie_ui, 0},
+ {"MOVIE_GALLERY", tune_movie_gallery, 0},
+ {"MOVIE_VT", tune_movie_vt, 0},
},
},
{
{
- {"DYNAMIC_UI_CABC", tune_dyn_ui_cabcOn, 0},
- {"DYNAMIC_VIDEO_NOR_CABC", tune_dyn_vid_cabcOn, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM_CABC", tune_dyn_vid_cabcOn, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dyn_vid_cabcOn, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"DYNAMIC_UI_CABC", tune_dyn_ui_cabcOn, 0},
- {"DYNAMIC_GALLERY_CABC", tune_dyn_gallery_cabcOn, 0},
- {"DYNAMIC_VT_CABC", tune_dyn_vtcall_cabcOn, 0},
+ {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabc, 0},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabc, 0},
+ {"DYNAMIC_GALLERY_CABC", tune_dynamic_gallery_cabc, 0},
+ {"DYNAMIC_VT_CABC", tune_dynamic_vt_cabc, 0},
}, {
- {"STANDARD_UI_CABC", tune_std_ui_cabcOn, 0},
- {"STANDARD_VIDEO_NOR_CABC", tune_std_vid_cabcOn, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM_CABC", tune_std_vid_cabcOn, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD_CABC", tune_std_vid_cabcOn, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"STANDARD_UI_CABC", tune_std_ui_cabcOn, 0},
- {"STANDARD_GALLERY_CABC", tune_std_gallery_cabcOn, 0},
- {"STANDARD_VT_CABC", tune_std_vtcall_cabcOn, 0},
+ {"STANDARD_UI_CABC", tune_standard_ui_cabc, 0},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"STANDARD_UI_CABC", tune_standard_ui_cabc, 0},
+ {"STANDARD_GALLERY_CABC", tune_standard_gallery_cabc, 0},
+ {"STANDARD_VT_CABC", tune_standard_vt_cabc, 0},
}, {
- {"MOVIE_UI_CABC", tune_mov_ui_cabcOn, 0},
- {"MOVIE_VIDEO_NOR_CABC", tune_mov_vid_cabcOn, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM_CABC", tune_mov_vid_cabcOn, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD_CABC", tune_mov_vid_cabcOn, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"MOVIE_UI_CABC", tune_mov_ui_cabcOn, 0},
- {"MOVIE_GALLERY_CABC", tune_mov_gallery_cabcOn, 0},
- {"MOVIE_VT_CABC", tune_mov_vtcall_cabcOn, 0},
+ {"MOVIE_UI_CABC", tune_movie_ui_cabc, 0},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"MOVIE_UI_CABC", tune_movie_ui_cabc, 0},
+ {"MOVIE_GALLERY_CABC", tune_movie_gallery_cabc, 0},
+ {"MOVIE_VT_CABC", tune_movie_vt_cabc, 0},
},
},
};
+struct mdnie_tunning_info camera_table[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor},
+};
+
#endif /* __MDNIE_TABLE_P4_H__ */
diff --git a/drivers/video/samsung/mdnie_table_p4note.h b/drivers/video/samsung/mdnie_table_p4note.h
index 85b4a7a..eeda36b 100644
--- a/drivers/video/samsung/mdnie_table_p4note.h
+++ b/drivers/video/samsung/mdnie_table_p4note.h
@@ -4,22 +4,27 @@
#include "mdnie.h"
-static const unsigned char power_lut[2][9] = {
- {0x42, 0x47, 0x3E, 0x52, 0x42, 0x3F, 0x3A, 0x37, 0x3F},
- {0x38, 0x3d, 0x34, 0x48, 0x38, 0x35, 0x30, 0x2d, 0x35},
-};
-
-static const unsigned short tune_std_ui_cabcOff[] = {
- 0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x0000, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
- 0x0030, 0x0000, /*FA cs1 | de8 hdr2 fa1*/
- 0x00ff, 0x0000, /*Mask Release*/
- END_SEQ, 0x0000,
+static const unsigned char power_lut[LUT_LEVEL_MAX][LUT_MAX][9] = {
+ /* Indoor power look up table */
+ {
+ {0x42, 0x3d, 0x3E, 0x48, 0x42, 0x3F, 0x3A, 0x37, 0x3F},
+ {0x38, 0x3d, 0x34, 0x48, 0x38, 0x35, 0x30, 0x2d, 0x35},
+ },
+ /* Outdoor power look up table for outdoor 1 (1k~15k) */
+ {
+ {0x42, 0x47, 0x3E, 0x52, 0x42, 0x3F, 0x3A, 0x37, 0x3F},
+ {0x38, 0x3d, 0x34, 0x48, 0x38, 0x35, 0x30, 0x2d, 0x35},
+ },
+ /* Outdoor power look up table (15k ~) */
+ {
+ {100, 100, 100, 100, 100, 100, 100, 100, 100},
+ {100, 100, 100, 100, 100, 100, 100, 100, 100},
+ },
};
static const unsigned short tune_camera[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x00ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x0092, 0x0030, /*DE pe*/
0x0093, 0x0030, /*DE pf*/
@@ -33,6 +38,18 @@ static const unsigned short tune_camera[] = {
0x00b1, 0x1010, /*CS hg gc*/
0x00b2, 0x1010, /*CS hg bm*/
0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
@@ -46,12 +63,11 @@ static const unsigned short tune_camera[] = {
0x0028, 0x80ff, /*CC lut r 128 255*/
0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
-
};
static const unsigned short tune_camera_outdoor[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x048c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x04ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x0092, 0x0030, /*DE pe*/
0x0093, 0x0030, /*DE pf*/
@@ -65,6 +81,18 @@ static const unsigned short tune_camera_outdoor[] = {
0x00b1, 0x1010, /*CS hg gc*/
0x00b2, 0x1010, /*CS hg bm*/
0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
@@ -82,32 +110,44 @@ static const unsigned short tune_camera_outdoor[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_ui_cabcOff[] = {
+static const unsigned short tune_dynamic_ui[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x0088, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x00a8, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x00b0, 0x1010, /*CS hg ry*/
0x00b1, 0x1010, /*CS hg gc*/
0x00b2, 0x1010, /*CS hg bm*/
0x00b3, 0x1a04, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
- 0x0021, 0x0a84, /*CC lut r 16 144*/
- 0x0022, 0x1498, /*CC lut r 32 160*/
- 0x0023, 0x1eac, /*CC lut r 48 176*/
- 0x0024, 0x2cbf, /*CC lut r 64 192*/
- 0x0025, 0x3ad0, /*CC lut r 80 208*/
- 0x0026, 0x4ae0, /*CC lut r 96 224*/
- 0x0027, 0x5cf0, /*CC lut r 112 240*/
- 0x0028, 0x70ff, /*CC lut r 128 255*/
+ 0x0021, 0x0894, /*CC lut r 16 144*/
+ 0x0022, 0x18a6, /*CC lut r 32 160*/
+ 0x0023, 0x28b8, /*CC lut r 48 176*/
+ 0x0024, 0x3ac9, /*CC lut r 64 192*/
+ 0x0025, 0x4cd9, /*CC lut r 80 208*/
+ 0x0026, 0x5ee7, /*CC lut r 96 224*/
+ 0x0027, 0x70f4, /*CC lut r 112 240*/
+ 0x0028, 0x82ff, /*CC lut r 128 255*/
0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_video_cabcOff[] = {
+static const unsigned short tune_dynamic_video[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x00ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x0090, 0x0080, /*DE egth*/
0x0092, 0x0030, /*DE pe*/
@@ -132,8 +172,8 @@ static const unsigned short tune_dynamic_video_cabcOff[] = {
0x00e8, 0x00ff, /*SCR BgYg*/
0x00e9, 0xff00, /*SCR BbYb*/
0x00ea, 0x00ff, /*SCR KrWr*/
- 0x00eb, 0x00ff, /*SCR KgWg*/
- 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
@@ -149,9 +189,9 @@ static const unsigned short tune_dynamic_video_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_gallery_cabcOff[] = {
+static const unsigned short tune_dynamic_gallery[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x00ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x0090, 0x0080, /*DE egth*/
0x0092, 0x0030, /*DE pe*/
@@ -166,6 +206,18 @@ static const unsigned short tune_dynamic_gallery_cabcOff[] = {
0x00b1, 0x1010, /*CS hg gc*/
0x00b2, 0x1010, /*CS hg bm*/
0x00b3, 0x1a04, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
@@ -181,7 +233,7 @@ static const unsigned short tune_dynamic_gallery_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_vt_cabcOff[] = {
+static const unsigned short tune_dynamic_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x0088, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
@@ -204,32 +256,44 @@ static const unsigned short tune_dynamic_vt_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_ui_cabcOff[] = {
+static const unsigned short tune_standard_ui[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x0088, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x00a8, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x00b0, 0x1010, /*CS hg ry*/
0x00b1, 0x1010, /*CS hg gc*/
0x00b2, 0x1010, /*CS hg bm*/
0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
- 0x0021, 0x0a82, /*CC lut r 16 144*/
- 0x0022, 0x1693, /*CC lut r 32 160*/
- 0x0023, 0x23a4, /*CC lut r 48 176*/
- 0x0024, 0x32b6, /*CC lut r 64 192*/
- 0x0025, 0x41c8, /*CC lut r 80 208*/
- 0x0026, 0x50da, /*CC lut r 96 224*/
- 0x0027, 0x60ed, /*CC lut r 112 240*/
- 0x0028, 0x71ff, /*CC lut r 128 255*/
+ 0x0021, 0x0890, /*CC lut r 16 144*/
+ 0x0022, 0x18a0, /*CC lut r 32 160*/
+ 0x0023, 0x30b0, /*CC lut r 48 176*/
+ 0x0024, 0x40c0, /*CC lut r 64 192*/
+ 0x0025, 0x50d0, /*CC lut r 80 208*/
+ 0x0026, 0x60e0, /*CC lut r 96 224*/
+ 0x0027, 0x70f0, /*CC lut r 112 240*/
+ 0x0028, 0x80ff, /*CC lut r 128 255*/
0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_video_cabcOff[] = {
+static const unsigned short tune_standard_video[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x00ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x0090, 0x0080, /*DE egth*/
0x0092, 0x0030, /*DE pe*/
@@ -254,8 +318,8 @@ static const unsigned short tune_standard_video_cabcOff[] = {
0x00e8, 0x00ff, /*SCR BgYg*/
0x00e9, 0xff00, /*SCR BbYb*/
0x00ea, 0x00ff, /*SCR KrWr*/
- 0x00eb, 0x00ff, /*SCR KgWg*/
- 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
@@ -271,9 +335,9 @@ static const unsigned short tune_standard_video_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_gallery_cabcOff[] = {
+static const unsigned short tune_standard_gallery[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x00ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x0090, 0x0080, /*DE egth*/
0x0092, 0x0030, /*DE pe*/
@@ -288,6 +352,18 @@ static const unsigned short tune_standard_gallery_cabcOff[] = {
0x00b1, 0x1010, /*CS hg gc*/
0x00b2, 0x1010, /*CS hg bm*/
0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
@@ -303,7 +379,7 @@ static const unsigned short tune_standard_gallery_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_vt_cabcOff[] = {
+static const unsigned short tune_standard_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x0088, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
@@ -326,110 +402,110 @@ static const unsigned short tune_standard_vt_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_ui_cabcOff[] = {
- 0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x00a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
- 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
- 0x00e1, 0xff00, /*SCR RrCr*/
- 0x00e2, 0x00ff, /*SCR RgCg*/
- 0x00e3, 0x00ff, /*SCR RbCb*/
- 0x00e4, 0x00ff, /*SCR GrMr*/
- 0x00e5, 0xff00, /*SCR GgMg*/
- 0x00e6, 0x00ff, /*SCR GbMb*/
- 0x00e7, 0x00ff, /*SCR BrYr*/
- 0x00e8, 0x00ff, /*SCR BgYg*/
- 0x00e9, 0xff00, /*SCR BbYb*/
- 0x00ea, 0x00ff, /*SCR KrWr*/
- 0x00eb, 0x00f7, /*SCR KgWg*/
- 0x00ec, 0x00e8, /*SCR KbWb*/
- 0x0000, 0x0001, /*BANK 1*/
- 0x001f, 0x0080, /*CC chsel strength*/
- 0x0020, 0x0000, /*CC lut r 0*/
- 0x0021, 0x0a82, /*CC lut r 16 144*/
- 0x0022, 0x1693, /*CC lut r 32 160*/
- 0x0023, 0x23a4, /*CC lut r 48 176*/
- 0x0024, 0x32b6, /*CC lut r 64 192*/
- 0x0025, 0x41c8, /*CC lut r 80 208*/
- 0x0026, 0x50da, /*CC lut r 96 224*/
- 0x0027, 0x60ed, /*CC lut r 112 240*/
- 0x0028, 0x71ff, /*CC lut r 128 255*/
- 0x00ff, 0x0000, /*Mask Release*/
+static const unsigned short tune_movie_ui[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x00a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fa, /*SCR KgWg*/
+ 0x00ec, 0x00f3, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0080, /*CC chsel strength*/
+ 0x0020, 0x0000, /*CC lut r 0*/
+ 0x0021, 0x0890, /*CC lut r 16 144*/
+ 0x0022, 0x18a0, /*CC lut r 32 160*/
+ 0x0023, 0x30b0, /*CC lut r 48 176*/
+ 0x0024, 0x40c0, /*CC lut r 64 192*/
+ 0x0025, 0x50d0, /*CC lut r 80 208*/
+ 0x0026, 0x60e0, /*CC lut r 96 224*/
+ 0x0027, 0x70f0, /*CC lut r 112 240*/
+ 0x0028, 0x80ff, /*CC lut r 128 255*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_video_cabcOff[] = {
- 0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x00a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
- 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
- 0x0092, 0x0000, /*DE pe*/
- 0x0093, 0x0000, /*DE pf*/
- 0x0094, 0x0000, /*DE pb*/
- 0x0095, 0x0000, /*DE ne*/
- 0x0096, 0x0000, /*DE nf*/
- 0x0097, 0x0000, /*DE nb*/
- 0x00b0, 0x1010, /*CS hg ry*/
- 0x00b1, 0x1010, /*CS hg gc*/
- 0x00b2, 0x1010, /*CS hg bm*/
- 0x00b3, 0x1004, /*CS weight grayTH*/
- 0x00e1, 0xff00, /*SCR RrCr*/
- 0x00e2, 0x00ff, /*SCR RgCg*/
- 0x00e3, 0x00ff, /*SCR RbCb*/
- 0x00e4, 0x00ff, /*SCR GrMr*/
- 0x00e5, 0xff00, /*SCR GgMg*/
- 0x00e6, 0x00ff, /*SCR GbMb*/
- 0x00e7, 0x00ff, /*SCR BrYr*/
- 0x00e8, 0x00ff, /*SCR BgYg*/
- 0x00e9, 0xff00, /*SCR BbYb*/
- 0x00ea, 0x00ff, /*SCR KrWr*/
- 0x00eb, 0x00f7, /*SCR KgWg*/
- 0x00ec, 0x00e8, /*SCR KbWb*/
- 0x0000, 0x0001, /*BANK 1*/
- 0x001f, 0x0080, /*CC chsel strength*/
- 0x0020, 0x0000, /*CC lut r 0*/
- 0x0021, 0x0890, /*CC lut r 16 144*/
- 0x0022, 0x18a0, /*CC lut r 32 160*/
- 0x0023, 0x30b0, /*CC lut r 48 176*/
- 0x0024, 0x40c0, /*CC lut r 64 192*/
- 0x0025, 0x50d0, /*CC lut r 80 208*/
- 0x0026, 0x60e0, /*CC lut r 96 224*/
- 0x0027, 0x70f0, /*CC lut r 112 240*/
- 0x0028, 0x80ff, /*CC lut r 128 255*/
- 0x00ff, 0x0000, /*Mask Release*/
+static const unsigned short tune_movie_video[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x00a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x0092, 0x0000, /*DE pe*/
+ 0x0093, 0x0000, /*DE pf*/
+ 0x0094, 0x0000, /*DE pb*/
+ 0x0095, 0x0000, /*DE ne*/
+ 0x0096, 0x0000, /*DE nf*/
+ 0x0097, 0x0000, /*DE nb*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1004, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fa, /*SCR KgWg*/
+ 0x00ec, 0x00f3, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0080, /*CC chsel strength*/
+ 0x0020, 0x0000, /*CC lut r 0*/
+ 0x0021, 0x0890, /*CC lut r 16 144*/
+ 0x0022, 0x18a0, /*CC lut r 32 160*/
+ 0x0023, 0x30b0, /*CC lut r 48 176*/
+ 0x0024, 0x40c0, /*CC lut r 64 192*/
+ 0x0025, 0x50d0, /*CC lut r 80 208*/
+ 0x0026, 0x60e0, /*CC lut r 96 224*/
+ 0x0027, 0x70f0, /*CC lut r 112 240*/
+ 0x0028, 0x80ff, /*CC lut r 128 255*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_gallery_cabcOff[] = {
- 0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x00a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
- 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
- 0x00e1, 0xff00, /*SCR RrCr*/
- 0x00e2, 0x00ff, /*SCR RgCg*/
- 0x00e3, 0x00ff, /*SCR RbCb*/
- 0x00e4, 0x00ff, /*SCR GrMr*/
- 0x00e5, 0xff00, /*SCR GgMg*/
- 0x00e6, 0x00ff, /*SCR GbMb*/
- 0x00e7, 0x00ff, /*SCR BrYr*/
- 0x00e8, 0x00ff, /*SCR BgYg*/
- 0x00e9, 0xff00, /*SCR BbYb*/
- 0x00ea, 0x00ff, /*SCR KrWr*/
- 0x00eb, 0x00f7, /*SCR KgWg*/
- 0x00ec, 0x00e8, /*SCR KbWb*/
- 0x0000, 0x0001, /*BANK 1*/
- 0x001f, 0x0080, /*CC chsel strength*/
- 0x0020, 0x0000, /*CC lut r 0*/
- 0x0021, 0x0890, /*CC lut r 16 144*/
- 0x0022, 0x18a0, /*CC lut r 32 160*/
- 0x0023, 0x30b0, /*CC lut r 48 176*/
- 0x0024, 0x40c0, /*CC lut r 64 192*/
- 0x0025, 0x50d0, /*CC lut r 80 208*/
- 0x0026, 0x60e0, /*CC lut r 96 224*/
- 0x0027, 0x70f0, /*CC lut r 112 240*/
- 0x0028, 0x80ff, /*CC lut r 128 255*/
- 0x00ff, 0x0000, /*Mask Release*/
+static const unsigned short tune_movie_gallery[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x00a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fa, /*SCR KgWg*/
+ 0x00ec, 0x00f3, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0080, /*CC chsel strength*/
+ 0x0020, 0x0000, /*CC lut r 0*/
+ 0x0021, 0x0890, /*CC lut r 16 144*/
+ 0x0022, 0x18a0, /*CC lut r 32 160*/
+ 0x0023, 0x30b0, /*CC lut r 48 176*/
+ 0x0024, 0x40c0, /*CC lut r 64 192*/
+ 0x0025, 0x50d0, /*CC lut r 80 208*/
+ 0x0026, 0x60e0, /*CC lut r 96 224*/
+ 0x0027, 0x70f0, /*CC lut r 112 240*/
+ 0x0028, 0x80ff, /*CC lut r 128 255*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_vt_cabcOff[] = {
+static const unsigned short tune_movie_vt[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x0088, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
@@ -452,25 +528,37 @@ static const unsigned short tune_movie_vt_cabcOff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_ui_cabcOn[] = {
+static const unsigned short tune_dynamic_ui_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x0288, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x02a8, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x00b0, 0x1010, /*CS hg ry*/
0x00b1, 0x1010, /*CS hg gc*/
0x00b2, 0x1010, /*CS hg bm*/
0x00b3, 0x1a04, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
- 0x0021, 0x0c8c, /*CC lut r 16 144*/
- 0x0022, 0x17a1, /*CC lut r 32 160*/
- 0x0023, 0x22b6, /*CC lut r 48 176*/
- 0x0024, 0x30c9, /*CC lut r 64 192*/
- 0x0025, 0x3fd9, /*CC lut r 80 208*/
- 0x0026, 0x50e7, /*CC lut r 96 224*/
- 0x0027, 0x63f4, /*CC lut r 112 240*/
- 0x0028, 0x77ff, /*CC lut r 128 255*/
+ 0x0021, 0x0c98, /*CC lut r 16 144*/
+ 0x0022, 0x1caa, /*CC lut r 32 160*/
+ 0x0023, 0x2cbc, /*CC lut r 48 176*/
+ 0x0024, 0x3ecd, /*CC lut r 64 192*/
+ 0x0025, 0x50dc, /*CC lut r 80 208*/
+ 0x0026, 0x62e9, /*CC lut r 96 224*/
+ 0x0027, 0x74f5, /*CC lut r 112 240*/
+ 0x0028, 0x86ff, /*CC lut r 128 255*/
0x0075, 0x0000, /*CABC dgain*/
0x0076, 0x0000,
0x0077, 0x0000,
@@ -480,9 +568,9 @@ static const unsigned short tune_dynamic_ui_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_video_cabcOn[] = {
+static const unsigned short tune_dynamic_video_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x028c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x02ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x0090, 0x0080, /*DE egth*/
0x0092, 0x0030, /*DE pe*/
@@ -505,10 +593,10 @@ static const unsigned short tune_dynamic_video_cabcOn[] = {
0x00e6, 0x00ff, /*SCR GbMb*/
0x00e7, 0x00ff, /*SCR BrYr*/
0x00e8, 0x00ff, /*SCR BgYg*/
- 0x00e9, 0xff00, /*SCR BbYbv*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
0x00ea, 0x00ff, /*SCR KrWr*/
- 0x00eb, 0x00f7, /*SCR KgWg*/
- 0x00ec, 0x00e8, /*SCR KbWb*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
@@ -529,7 +617,7 @@ static const unsigned short tune_dynamic_video_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_gallery_cabcOn[] = {
+static const unsigned short tune_dynamic_gallery_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x028c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
@@ -546,6 +634,18 @@ static const unsigned short tune_dynamic_gallery_cabcOn[] = {
0x00b1, 0x1010, /*CS hg gc*/
0x00b2, 0x1010, /*CS hg bm*/
0x00b3, 0x1a04, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
@@ -566,7 +666,7 @@ static const unsigned short tune_dynamic_gallery_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_vt_cabcOn[] = {
+static const unsigned short tune_dynamic_vt_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x0288, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
@@ -603,25 +703,37 @@ static const unsigned short tune_dynamic_vt_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_ui_cabcOn[] = {
+static const unsigned short tune_standard_ui_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x0288, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x02a8, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x00b0, 0x1010, /*CS hg ry*/
0x00b1, 0x1010, /*CS hg gc*/
0x00b2, 0x1010, /*CS hg bm*/
0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
- 0x0021, 0x0c8b, /*CC lut r 16 144*/
- 0x0022, 0x1a9d, /*CC lut r 32 160*/
- 0x0023, 0x29af, /*CC lut r 48 176*/
- 0x0024, 0x38c0, /*CC lut r 64 192*/
- 0x0025, 0x48d0, /*CC lut r 80 208*/
- 0x0026, 0x58e0, /*CC lut r 96 224*/
- 0x0027, 0x68f0, /*CC lut r 112 240*/
- 0x0028, 0x79ff, /*CC lut r 128 255*/
+ 0x0021, 0x0c96, /*CC lut r 16 144*/
+ 0x0022, 0x1ca7, /*CC lut r 32 160*/
+ 0x0023, 0x34b8, /*CC lut r 48 176*/
+ 0x0024, 0x44c9, /*CC lut r 64 192*/
+ 0x0025, 0x54d9, /*CC lut r 80 208*/
+ 0x0026, 0x64e7, /*CC lut r 96 224*/
+ 0x0027, 0x74f4, /*CC lut r 112 240*/
+ 0x0028, 0x85ff, /*CC lut r 128 255*/
0x0075, 0x0000, /*CABC dgain*/
0x0076, 0x0000,
0x0077, 0x0000,
@@ -631,9 +743,9 @@ static const unsigned short tune_standard_ui_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_video_cabcOn[] = {
+static const unsigned short tune_standard_video_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x028c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x02ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x0090, 0x0080, /*DE egth*/
0x0092, 0x0030, /*DE pe*/
@@ -658,8 +770,8 @@ static const unsigned short tune_standard_video_cabcOn[] = {
0x00e8, 0x00ff, /*SCR BgYg*/
0x00e9, 0xff00, /*SCR BbYb*/
0x00ea, 0x00ff, /*SCR KrWr*/
- 0x00eb, 0x00ff, /*SCR KgWg*/
- 0x00ec, 0x00ff, /*SCR KbWb*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
@@ -680,9 +792,9 @@ static const unsigned short tune_standard_video_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_gallery_cabcOn[] = {
+static const unsigned short tune_standard_gallery_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x028c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0008, 0x02ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
0x0090, 0x0080, /*DE egth*/
0x0092, 0x0030, /*DE pe*/
@@ -697,6 +809,18 @@ static const unsigned short tune_standard_gallery_cabcOn[] = {
0x00b1, 0x1010, /*CS hg gc*/
0x00b2, 0x1010, /*CS hg bm*/
0x00b3, 0x1804, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fd, /*SCR KgWg*/
+ 0x00ec, 0x00fc, /*SCR KbWb*/
0x0000, 0x0001, /*BANK 1*/
0x001f, 0x0080, /*CC chsel strength*/
0x0020, 0x0000, /*CC lut r 0*/
@@ -717,7 +841,7 @@ static const unsigned short tune_standard_gallery_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_vt_cabcOn[] = {
+static const unsigned short tune_standard_vt_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x0288, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
@@ -754,125 +878,125 @@ static const unsigned short tune_standard_vt_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_ui_cabcOn[] = {
- 0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x02a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
- 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
- 0x00e1, 0xff00, /*SCR RrCr*/
- 0x00e2, 0x00ff, /*SCR RgCg*/
- 0x00e3, 0x00ff, /*SCR RbCb*/
- 0x00e4, 0x00ff, /*SCR GrMr*/
- 0x00e5, 0xff00, /*SCR GgMg*/
- 0x00e6, 0x00ff, /*SCR GbMb*/
- 0x00e7, 0x00ff, /*SCR BrYr*/
- 0x00e8, 0x00ff, /*SCR BgYg*/
- 0x00e9, 0xff00, /*SCR BbYb*/
- 0x00ea, 0x00ff, /*SCR KrWr*/
- 0x00eb, 0x00f7, /*SCR KgWg*/
- 0x00ec, 0x00e8, /*SCR KbWb*/
- 0x0000, 0x0001, /*BANK 1*/
- 0x001f, 0x0080, /*CC chsel strength*/
- 0x0020, 0x0000, /*CC lut r 0*/
- 0x0021, 0x0c8b, /*CC lut r 16 144*/
- 0x0022, 0x1a9d, /*CC lut r 32 160*/
- 0x0023, 0x29af, /*CC lut r 48 176*/
- 0x0024, 0x38c0, /*CC lut r 64 192*/
- 0x0025, 0x48d0, /*CC lut r 80 208*/
- 0x0026, 0x58e0, /*CC lut r 96 224*/
- 0x0027, 0x68f0, /*CC lut r 112 240*/
- 0x0028, 0x79ff, /*CC lut r 128 255*/
- 0x0075, 0x0000, /*CABC dgain*/
- 0x0076, 0x0000,
- 0x0077, 0x0000,
- 0x0078, 0x0000,
- 0x007f, 0x0002, /*dynamic lcd*/
- 0x00ff, 0x0000, /*Mask Release*/
+static const unsigned short tune_movie_ui_cabc[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x02a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fa, /*SCR KgWg*/
+ 0x00ec, 0x00f3, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0080, /*CC chsel strength*/
+ 0x0020, 0x0000, /*CC lut r 0*/
+ 0x0021, 0x0c96, /*CC lut r 16 144*/
+ 0x0022, 0x1ca7, /*CC lut r 32 160*/
+ 0x0023, 0x34b8, /*CC lut r 48 176*/
+ 0x0024, 0x44c9, /*CC lut r 64 192*/
+ 0x0025, 0x54d9, /*CC lut r 80 208*/
+ 0x0026, 0x64e7, /*CC lut r 96 224*/
+ 0x0027, 0x74f4, /*CC lut r 112 240*/
+ 0x0028, 0x85ff, /*CC lut r 128 255*/
+ 0x0075, 0x0000, /*CABC dgain*/
+ 0x0076, 0x0000,
+ 0x0077, 0x0000,
+ 0x0078, 0x0000,
+ 0x007f, 0x0002, /*dynamic lcd*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_video_cabcOn[] = {
- 0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x02a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
- 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
- 0x0092, 0x0000, /*DE pe*/
- 0x0093, 0x0000, /*DE pf*/
- 0x0094, 0x0000, /*DE pb*/
- 0x0095, 0x0000, /*DE ne*/
- 0x0096, 0x0000, /*DE nf*/
- 0x0097, 0x0000, /*DE nb*/
- 0x00b0, 0x1010, /*CS hg ry*/
- 0x00b1, 0x1010, /*CS hg gc*/
- 0x00b2, 0x1010, /*CS hg bm*/
- 0x00b3, 0x1004, /*CS weight grayTH*/
- 0x00e1, 0xff00, /*SCR RrCr*/
- 0x00e2, 0x00ff, /*SCR RgCg*/
- 0x00e3, 0x00ff, /*SCR RbCb*/
- 0x00e4, 0x00ff, /*SCR GrMr*/
- 0x00e5, 0xff00, /*SCR GgMg*/
- 0x00e6, 0x00ff, /*SCR GbMb*/
- 0x00e7, 0x00ff, /*SCR BrYr*/
- 0x00e8, 0x00ff, /*SCR BgYg*/
- 0x00e9, 0xff00, /*SCR BbYb*/
- 0x00ea, 0x00ff, /*SCR KrWr*/
- 0x00eb, 0x00f7, /*SCR KgWg*/
- 0x00ec, 0x00e8, /*SCR KbWb*/
- 0x0000, 0x0001, /*BANK 1*/
- 0x001f, 0x0080, /*CC chsel strength*/
- 0x0020, 0x0000, /*CC lut r 0*/
- 0x0021, 0x0c96, /*CC lut r 16 144*/
- 0x0022, 0x1ca7, /*CC lut r 32 160*/
- 0x0023, 0x34b8, /*CC lut r 48 176*/
- 0x0024, 0x44c9, /*CC lut r 64 192*/
- 0x0025, 0x54d9, /*CC lut r 80 208*/
- 0x0026, 0x64e7, /*CC lut r 96 224*/
- 0x0027, 0x74f4, /*CC lut r 112 240*/
- 0x0028, 0x85ff, /*CC lut r 128 255*/
- 0x0075, 0x0000, /*CABC dgain*/
- 0x0076, 0x0000,
- 0x0077, 0x0000,
- 0x0078, 0x0000,
- 0x007f, 0x0002, /*dynamic lcd*/
- 0x00ff, 0x0000, /*Mask Release*/
+static const unsigned short tune_movie_video_cabc[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x02a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x0092, 0x0000, /*DE pe*/
+ 0x0093, 0x0000, /*DE pf*/
+ 0x0094, 0x0000, /*DE pb*/
+ 0x0095, 0x0000, /*DE ne*/
+ 0x0096, 0x0000, /*DE nf*/
+ 0x0097, 0x0000, /*DE nb*/
+ 0x00b0, 0x1010, /*CS hg ry*/
+ 0x00b1, 0x1010, /*CS hg gc*/
+ 0x00b2, 0x1010, /*CS hg bm*/
+ 0x00b3, 0x1004, /*CS weight grayTH*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fa, /*SCR KgWg*/
+ 0x00ec, 0x00f3, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0080, /*CC chsel strength*/
+ 0x0020, 0x0000, /*CC lut r 0*/
+ 0x0021, 0x0c96, /*CC lut r 16 144*/
+ 0x0022, 0x1ca7, /*CC lut r 32 160*/
+ 0x0023, 0x34b8, /*CC lut r 48 176*/
+ 0x0024, 0x44c9, /*CC lut r 64 192*/
+ 0x0025, 0x54d9, /*CC lut r 80 208*/
+ 0x0026, 0x64e7, /*CC lut r 96 224*/
+ 0x0027, 0x74f4, /*CC lut r 112 240*/
+ 0x0028, 0x85ff, /*CC lut r 128 255*/
+ 0x0075, 0x0000, /*CABC dgain*/
+ 0x0076, 0x0000,
+ 0x0077, 0x0000,
+ 0x0078, 0x0000,
+ 0x007f, 0x0002, /*dynamic lcd*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_gallery_cabcOn[] = {
- 0x0000, 0x0000, /*BANK 0*/
- 0x0008, 0x02a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
- 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
- 0x00e1, 0xff00, /*SCR RrCr*/
- 0x00e2, 0x00ff, /*SCR RgCg*/
- 0x00e3, 0x00ff, /*SCR RbCb*/
- 0x00e4, 0x00ff, /*SCR GrMr*/
- 0x00e5, 0xff00, /*SCR GgMg*/
- 0x00e6, 0x00ff, /*SCR GbMb*/
- 0x00e7, 0x00ff, /*SCR BrYr*/
- 0x00e8, 0x00ff, /*SCR BgYg*/
- 0x00e9, 0xff00, /*SCR BbYb*/
- 0x00ea, 0x00ff, /*SCR KrWr*/
- 0x00eb, 0x00f7, /*SCR KgWg*/
- 0x00ec, 0x00e8, /*SCR KbWb*/
- 0x0000, 0x0001, /*BANK 1*/
- 0x001f, 0x0080, /*CC chsel strength*/
- 0x0020, 0x0000, /*CC lut r 0*/
- 0x0021, 0x0c96, /*CC lut r 16 144*/
- 0x0022, 0x1ca7, /*CC lut r 32 160*/
- 0x0023, 0x34b8, /*CC lut r 48 176*/
- 0x0024, 0x44c9, /*CC lut r 64 192*/
- 0x0025, 0x54d9, /*CC lut r 80 208*/
- 0x0026, 0x64e7, /*CC lut r 96 224*/
- 0x0027, 0x74f4, /*CC lut r 112 240*/
- 0x0028, 0x85ff, /*CC lut r 128 255*/
- 0x0075, 0x0000, /*CABC dgain*/
- 0x0076, 0x0000,
- 0x0077, 0x0000,
- 0x0078, 0x0000,
- 0x007f, 0x0002, /*dynamic lcd*/
- 0x00ff, 0x0000, /*Mask Release*/
+static const unsigned short tune_movie_gallery_cabc[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x02a0, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
+ 0x00e1, 0xff00, /*SCR RrCr*/
+ 0x00e2, 0x00ff, /*SCR RgCg*/
+ 0x00e3, 0x00ff, /*SCR RbCb*/
+ 0x00e4, 0x00ff, /*SCR GrMr*/
+ 0x00e5, 0xff00, /*SCR GgMg*/
+ 0x00e6, 0x00ff, /*SCR GbMb*/
+ 0x00e7, 0x00ff, /*SCR BrYr*/
+ 0x00e8, 0x00ff, /*SCR BgYg*/
+ 0x00e9, 0xff00, /*SCR BbYb*/
+ 0x00ea, 0x00ff, /*SCR KrWr*/
+ 0x00eb, 0x00fa, /*SCR KgWg*/
+ 0x00ec, 0x00f3, /*SCR KbWb*/
+ 0x0000, 0x0001, /*BANK 1*/
+ 0x001f, 0x0080, /*CC chsel strength*/
+ 0x0020, 0x0000, /*CC lut r 0*/
+ 0x0021, 0x0c96, /*CC lut r 16 144*/
+ 0x0022, 0x1ca7, /*CC lut r 32 160*/
+ 0x0023, 0x34b8, /*CC lut r 48 176*/
+ 0x0024, 0x44c9, /*CC lut r 64 192*/
+ 0x0025, 0x54d9, /*CC lut r 80 208*/
+ 0x0026, 0x64e7, /*CC lut r 96 224*/
+ 0x0027, 0x74f4, /*CC lut r 112 240*/
+ 0x0028, 0x85ff, /*CC lut r 128 255*/
+ 0x0075, 0x0000, /*CABC dgain*/
+ 0x0076, 0x0000,
+ 0x0077, 0x0000,
+ 0x0078, 0x0000,
+ 0x007f, 0x0002, /*dynamic lcd*/
+ 0x00ff, 0x0000, /*Mask Release*/
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_vt_cabcOn[] = {
+static const unsigned short tune_movie_vt_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x0288, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0030, 0x0000, /*FA cs1 de8 hdr2 fa1*/
@@ -909,7 +1033,7 @@ static const unsigned short tune_movie_vt_cabcOn[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_cabcoff[] = {
+static const unsigned short tune_warm[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x00ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -920,7 +1044,7 @@ static const unsigned short tune_warm_cabcoff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_cabcoff[] = {
+static const unsigned short tune_cold[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x00ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -931,7 +1055,7 @@ static const unsigned short tune_cold_cabcoff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor_cabcoff[] = {
+static const unsigned short tune_normal_outdoor[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x04ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -941,7 +1065,7 @@ static const unsigned short tune_outdoor_cabcoff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_outdoor_cabcoff[] = {
+static const unsigned short tune_warm_outdoor[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x04ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -954,7 +1078,7 @@ static const unsigned short tune_warm_outdoor_cabcoff[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_outdoor_cabcoff[] = {
+static const unsigned short tune_cold_outdoor[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x00ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -965,8 +1089,7 @@ static const unsigned short tune_cold_outdoor_cabcoff[] = {
END_SEQ, 0x0000,
};
-
-static const unsigned short tune_warm_cabcon[] = {
+static const unsigned short tune_warm_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x02ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -977,7 +1100,7 @@ static const unsigned short tune_warm_cabcon[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_cabcon[] = {
+static const unsigned short tune_cold_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x02ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -988,7 +1111,7 @@ static const unsigned short tune_cold_cabcon[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor_cabcon[] = {
+static const unsigned short tune_normal_outdoor_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x06ac, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -998,7 +1121,7 @@ static const unsigned short tune_outdoor_cabcon[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_warm_outdoor_cabcon[] = {
+static const unsigned short tune_warm_outdoor_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x06ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -1011,7 +1134,7 @@ static const unsigned short tune_warm_outdoor_cabcon[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_cold_outdoor_cabcon[] = {
+static const unsigned short tune_cold_outdoor_cabc[] = {
0x0000, 0x0000, /*BANK 0*/
0x0008, 0x06ec, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
0x0000, 0x0001, /*BANK 1*/
@@ -1029,25 +1152,25 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{
{
{"NORMAL", NULL},
- {"WARM", tune_warm_cabcoff},
- {"COLD", tune_cold_cabcoff},
+ {"WARM", tune_warm},
+ {"COLD", tune_cold},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor_cabcoff},
- {"WARM_OUTDOOR", tune_warm_outdoor_cabcoff},
- {"COLD_OUTDOOR", tune_cold_outdoor_cabcoff},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor},
+ {"WARM_OUTDOOR", tune_warm_outdoor},
+ {"COLD_OUTDOOR", tune_cold_outdoor},
},
},
{
{
{"NORMAL_CABC", NULL},
- {"WARM_CABC", tune_warm_cabcon},
- {"COLD_CABC", tune_cold_cabcon},
+ {"WARM_CABC", tune_warm_cabc},
+ {"COLD_CABC", tune_cold_cabc},
},
{
- {"NORMAL_OUTDOOR_CABC", tune_outdoor_cabcon},
- {"WARM_OUTDOOR_CABC", tune_warm_outdoor_cabcon},
- {"COLD_OUTDOOR_CABC", tune_cold_outdoor_cabcon},
+ {"NORMAL_OUTDOOR_CABC", tune_normal_outdoor_cabc},
+ {"WARM_OUTDOOR_CABC", tune_warm_outdoor_cabc},
+ {"COLD_OUTDOOR_CABC", tune_cold_outdoor_cabc},
},
},
};
@@ -1056,64 +1179,69 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
struct mdnie_tunning_info_cabc tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
- {"DYNAMIC_UI", tune_dynamic_ui_cabcOff, 0},
- {"DYNAMIC_VIDEO_NOR", tune_dynamic_video_cabcOff, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM", tune_dynamic_video_cabcOff, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video_cabcOff, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"DYNAMIC_UI", tune_dynamic_ui_cabcOff, 0},
- {"DYNAMIC_GALLERY", tune_dynamic_gallery_cabcOff, 0},
- {"DYNAMIC_VT", tune_dynamic_vt_cabcOff, 0},
+ {"DYNAMIC_UI", tune_dynamic_ui, 0},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"DYNAMIC_VIDEO", tune_dynamic_video, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"DYNAMIC_UI", tune_dynamic_ui, 0},
+ {"DYNAMIC_GALLERY", tune_dynamic_gallery, 0},
+ {"DYNAMIC_VT", tune_dynamic_vt, 0},
}, {
- {"STANDARD_UI", tune_standard_ui_cabcOff, 0},
- {"STANDARD_VIDEO_NOR", tune_standard_video_cabcOff, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM", tune_standard_video_cabcOff, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD", tune_standard_video_cabcOff, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"STANDARD_UI", tune_standard_ui_cabcOff, 0},
- {"STANDARD_GALLERY", tune_standard_gallery_cabcOff, 0},
- {"STANDARD_VT", tune_standard_vt_cabcOff, 0},
+ {"STANDARD_UI", tune_standard_ui, 0},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"STANDARD_VIDEO", tune_standard_video, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"STANDARD_UI", tune_standard_ui, 0},
+ {"STANDARD_GALLERY", tune_standard_gallery, 0},
+ {"STANDARD_VT", tune_standard_vt, 0},
}, {
- {"MOVIE_UI", tune_movie_ui_cabcOff, 0},
- {"MOVIE_VIDEO_NOR", tune_movie_video_cabcOff, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM", tune_movie_video_cabcOff, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD", tune_movie_video_cabcOff, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"MOVIE_UI", tune_movie_ui_cabcOff, 0},
- {"MOVIE_GALLERY", tune_movie_gallery_cabcOff, 0},
- {"MOVIE_VT", tune_movie_vt_cabcOff, 0},
+ {"MOVIE_UI", tune_movie_ui, 0},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"MOVIE_VIDEO", tune_movie_video, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"MOVIE_UI", tune_movie_ui, 0},
+ {"MOVIE_GALLERY", tune_movie_gallery, 0},
+ {"MOVIE_VT", tune_movie_vt, 0},
},
},
{
{
- {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabcOn, 0},
- {"DYNAMIC_VIDEO_NOR_CABC", tune_dynamic_video_cabcOn, LUT_VIDEO},
- {"DYNAMIC_VIDEO_WARM_CABC", tune_dynamic_video_cabcOn, LUT_VIDEO},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video_cabcOn, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabcOn, 0},
- {"DYNAMIC_GALLERY_CABC", tune_dynamic_gallery_cabcOn, 0},
- {"DYNAMIC_VT_CABC", tune_dynamic_vt_cabcOn, 0},
+ {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabc, 0},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc, LUT_VIDEO},
+ {"DYNAMIC_VIDEO_CABC", tune_dynamic_video_cabc, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"DYNAMIC_UI_CABC", tune_dynamic_ui_cabc, 0},
+ {"DYNAMIC_GALLERY_CABC", tune_dynamic_gallery_cabc, 0},
+ {"DYNAMIC_VT_CABC", tune_dynamic_vt_cabc, 0},
}, {
- {"STANDARD_UI_CABC", tune_standard_ui_cabcOn, 0},
- {"STANDARD_VIDEO_NOR_CABC", tune_standard_video_cabcOn, LUT_VIDEO},
- {"STANDARD_VIDEO_WARM_CABC", tune_standard_video_cabcOn, LUT_VIDEO},
- {"STANDARD_VIDEO_COLD_CABC", tune_standard_video_cabcOn, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"STANDARD_UI_CABC", tune_standard_ui_cabcOn, 0},
- {"STANDARD_GALLERY_CABC", tune_standard_gallery_cabcOn, 0},
- {"STANDARD_VT_CABC", tune_standard_vt_cabcOn, 0},
+ {"STANDARD_UI_CABC", tune_standard_ui_cabc, 0},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc, LUT_VIDEO},
+ {"STANDARD_VIDEO_CABC", tune_standard_video_cabc, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"STANDARD_UI_CABC", tune_standard_ui_cabc, 0},
+ {"STANDARD_GALLERY_CABC", tune_standard_gallery_cabc, 0},
+ {"STANDARD_VT_CABC", tune_standard_vt_cabc, 0},
}, {
- {"MOVIE_UI_CABC", tune_movie_ui_cabcOn, 0},
- {"MOVIE_VIDEO_NOR_CABC", tune_movie_video_cabcOn, LUT_VIDEO},
- {"MOVIE_VIDEO_WARM_CABC", tune_movie_video_cabcOn, LUT_VIDEO},
- {"MOVIE_VIDEO_COLD_CABC", tune_movie_video_cabcOn, LUT_VIDEO},
- {"CAMERA", tune_camera, 0},
- {"MOVIE_UI_CABC", tune_movie_ui_cabcOn, 0},
- {"MOVIE_GALLERY_CABC", tune_movie_gallery_cabcOn, 0},
- {"MOVIE_VT_CABC", tune_movie_vt_cabcOn, 0},
+ {"MOVIE_UI_CABC", tune_movie_ui_cabc, 0},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc, LUT_VIDEO},
+ {"MOVIE_VIDEO_CABC", tune_movie_video_cabc, LUT_VIDEO},
+ {"CAMERA", NULL, 0},
+ {"MOVIE_UI_CABC", tune_movie_ui_cabc, 0},
+ {"MOVIE_GALLERY_CABC", tune_movie_gallery_cabc, 0},
+ {"MOVIE_VT_CABC", tune_movie_vt_cabc, 0},
},
},
};
+struct mdnie_tunning_info camera_table[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor},
+};
+
#endif /* __MDNIE_TABLE_H__ */
diff --git a/drivers/video/samsung/mdnie_table_p8.h b/drivers/video/samsung/mdnie_table_p8.h
index e368c77..d0b548c 100644
--- a/drivers/video/samsung/mdnie_table_p8.h
+++ b/drivers/video/samsung/mdnie_table_p8.h
@@ -166,8 +166,8 @@ static const unsigned short tune_dynamic_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_vtcall[] = {
- /*start P8, dynamic, vtcall */
+static const unsigned short tune_dynamic_vt[] = {
+ /*start P8, dynamic, vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR bypass, dir_th 0x003c */
0x002d, 0x19ff, /*DNR dir_num, decont7 0x0a08 */
@@ -382,8 +382,8 @@ static const unsigned short tune_movie_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_vtcall[] = {
- /*start P8, movie, vtcall */
+static const unsigned short tune_movie_vt[] = {
+ /*start P8, movie, vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR bypass, dir_th 0x003c */
0x002d, 0x19ff, /*DNR dir_num, decont7 0x0a08 */
@@ -598,8 +598,8 @@ static const unsigned short tune_standard_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_vtcall[] = {
- /*start P8, standard, vtcall */
+static const unsigned short tune_standard_vt[] = {
+ /*start P8, standard, vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR bypass, dir_th 0x003c */
0x002d, 0x19ff, /*DNR dir_num, decont7 0x0a08 */
@@ -814,8 +814,8 @@ static const unsigned short tune_natural_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_natural_vtcall[] = {
- /*start P8, natural, vtcall */
+static const unsigned short tune_natural_vt[] = {
+ /*start P8, natural, vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR bypass, dir_th 0x003c */
0x002d, 0x19ff, /*DNR dir_num, decont7 0x0a08 */
@@ -1000,7 +1000,7 @@ static const unsigned short tune_cold_outdoor[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor[] = {
+static const unsigned short tune_normal_outdoor[] = {
/*start P8 outdoor */
0x0001, 0x0042, /*SCR OVE */
0x0054, 0x6050, /*OVE Lightness Chroma */
@@ -1040,7 +1040,7 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{"COLD", tune_cold},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor},
{"WARM_OUTDOOR", tune_warm_outdoor},
{"COLD_OUTDOOR", tune_cold_outdoor},
},
@@ -1050,43 +1050,48 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
struct mdnie_tunning_info tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
- {"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_VIDEO_NORMAL", tune_dynamic_video},
- {"DYNAMIC_VIDEO_WARM", tune_dynamic_video},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video},
- {"CAMERA", tune_camera},
- {"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_GALLERY", tune_dynamic_gallery},
- {"DYNAMIC_VT", tune_dynamic_vtcall},
+ {"DYNAMIC_UI", tune_dynamic_ui},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"CAMERA", NULL},
+ {"DYNAMIC_UI", tune_dynamic_ui},
+ {"DYNAMIC_GALLERY", tune_dynamic_gallery},
+ {"DYNAMIC_VT", tune_dynamic_vt},
}, {
- {"STANDARD_UI", tune_standard_ui},
- {"STANDARD_VIDEO_NORMAL", tune_standard_video},
- {"STANDARD_VIDEO_WARM", tune_standard_video},
- {"STANDARD_VIDEO_COLD", tune_standard_video},
- {"CAMERA", tune_camera},
- {"STANDARD_UI", tune_standard_ui},
- {"STANDARD_GALLERY", tune_standard_gallery},
- {"STANDARD_VT", tune_standard_vtcall},
+ {"STANDARD_UI", tune_standard_ui},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"CAMERA", NULL},
+ {"STANDARD_UI", tune_standard_ui},
+ {"STANDARD_GALLERY", tune_standard_gallery},
+ {"STANDARD_VT", tune_standard_vt},
}, {
- {"NATURAL_UI", tune_natural_ui},
- {"NATURAL_VIDEO_NORMAL", tune_natural_video},
- {"NATURAL_VIDEO_WARM", tune_natural_video},
- {"NATURAL_VIDEO_COLD", tune_natural_video},
- {"CAMERA", tune_camera},
- {"NATURAL_UI", tune_natural_ui},
- {"NATURAL_GALLERY", tune_natural_gallery},
- {"NATURAL_VT", tune_natural_vtcall},
+ {"NATURAL_UI", tune_natural_ui},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"CAMERA", NULL},
+ {"NATURAL_UI", tune_natural_ui},
+ {"NATURAL_GALLERY", tune_natural_gallery},
+ {"NATURAL_VT", tune_natural_vt},
}, {
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_VIDEO_NORMAL", tune_movie_video},
- {"MOVIE_VIDEO_WARM", tune_movie_video},
- {"MOVIE_VIDEO_COLD", tune_movie_video},
- {"CAMERA", tune_camera},
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_GALLERY", tune_movie_gallery},
- {"MOVIE_VT", tune_movie_vtcall},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"CAMERA", NULL},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_GALLERY", tune_movie_gallery},
+ {"MOVIE_VT", tune_movie_vt},
},
}
};
+struct mdnie_tunning_info camera_table[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor},
+};
+
#endif /* __MDNIE_TABLE_H__ */
diff --git a/drivers/video/samsung/mdnie_table_q1.h b/drivers/video/samsung/mdnie_table_q1.h
index 9933a6a..51c3357 100644
--- a/drivers/video/samsung/mdnie_table_q1.h
+++ b/drivers/video/samsung/mdnie_table_q1.h
@@ -166,8 +166,8 @@ static const unsigned short tune_dynamic_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_vtcall[] = {
- /*start Q1 dynamic vtcall */
+static const unsigned short tune_dynamic_vt[] = {
+ /*start Q1 dynamic vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR dirTh */
0x002d, 0x19ff, /*DNR dirnumTh decon7Th */
@@ -373,8 +373,8 @@ static const unsigned short tune_movie_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_vtcall[] = {
- /*start Q1 movie vtcall */
+static const unsigned short tune_movie_vt[] = {
+ /*start Q1 movie vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR dirTh */
0x002d, 0x19ff, /*DNR dirnumTh decon7Th */
@@ -588,8 +588,8 @@ static const unsigned short tune_standard_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_vtcall[] = {
- /*start Q1 standard vtcall */
+static const unsigned short tune_standard_vt[] = {
+ /*start Q1 standard vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR dirTh */
0x002d, 0x19ff, /*DNR dirnumTh decon7Th */
@@ -804,8 +804,8 @@ static const unsigned short tune_natural_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_natural_vtcall[] = {
- /*start Q1 natural vtcall */
+static const unsigned short tune_natural_vt[] = {
+ /*start Q1 natural vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR dirTh */
0x002d, 0x19ff, /*DNR dirnumTh decon7Th */
@@ -990,7 +990,7 @@ static const unsigned short tune_cold_outdoor[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor[] = {
+static const unsigned short tune_normal_outdoor[] = {
/*start Q1 outdoor */
0x0001, 0x0042, /*SCR HDTR OVE */
0x0054, 0x6050, /*OVE LIGHTNESS CHROMA */
@@ -1030,7 +1030,7 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{"COLD", tune_cold},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor},
{"WARM_OUTDOOR", tune_warm_outdoor},
{"COLD_OUTDOOR", tune_cold_outdoor},
},
@@ -1040,43 +1040,48 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
struct mdnie_tunning_info tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
- {"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_VIDEO_NORMAL", tune_dynamic_video},
- {"DYNAMIC_VIDEO_WARM", tune_dynamic_video},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video},
- {"CAMERA", tune_camera},
- {"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_GALLERY", tune_dynamic_gallery},
- {"DYNAMIC_VT", tune_dynamic_vtcall},
+ {"DYNAMIC_UI", tune_dynamic_ui},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"CAMERA", NULL},
+ {"DYNAMIC_UI", tune_dynamic_ui},
+ {"DYNAMIC_GALLERY", tune_dynamic_gallery},
+ {"DYNAMIC_VT", tune_dynamic_vt},
}, {
- {"STANDARD_UI", tune_standard_ui},
- {"STANDARD_VIDEO_NORMAL", tune_standard_video},
- {"STANDARD_VIDEO_WARM", tune_standard_video},
- {"STANDARD_VIDEO_COLD", tune_standard_video},
- {"CAMERA", tune_camera},
- {"STANDARD_UI", tune_standard_ui},
- {"STANDARD_GALLERY", tune_standard_gallery},
- {"STANDARD_VT", tune_standard_vtcall},
+ {"STANDARD_UI", tune_standard_ui},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"CAMERA", NULL},
+ {"STANDARD_UI", tune_standard_ui},
+ {"STANDARD_GALLERY", tune_standard_gallery},
+ {"STANDARD_VT", tune_standard_vt},
}, {
- {"NATURAL_UI", tune_natural_ui},
- {"NATURAL_VIDEO_NORMAL", tune_natural_video},
- {"NATURAL_VIDEO_WARM", tune_natural_video},
- {"NATURAL_VIDEO_COLD", tune_natural_video},
- {"CAMERA", tune_camera},
- {"NATURAL_UI", tune_natural_ui},
- {"NATURAL_GALLERY", tune_natural_gallery},
- {"NATURAL_VT", tune_natural_vtcall},
+ {"NATURAL_UI", tune_natural_ui},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"CAMERA", NULL},
+ {"NATURAL_UI", tune_natural_ui},
+ {"NATURAL_GALLERY", tune_natural_gallery},
+ {"NATURAL_VT", tune_natural_vt},
}, {
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_VIDEO_NORMAL", tune_movie_video},
- {"MOVIE_VIDEO_WARM", tune_movie_video},
- {"MOVIE_VIDEO_COLD", tune_movie_video},
- {"CAMERA", tune_camera},
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_GALLERY", tune_movie_gallery},
- {"MOVIE_VT", tune_movie_vtcall},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"CAMERA", NULL},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_GALLERY", tune_movie_gallery},
+ {"MOVIE_VT", tune_movie_vt},
},
}
};
+struct mdnie_tunning_info camera_table[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor},
+};
+
#endif /* __MDNIE_TABLE_H__ */
diff --git a/drivers/video/samsung/mdnie_table_u1.h b/drivers/video/samsung/mdnie_table_u1.h
index 0756012..71366c0 100644
--- a/drivers/video/samsung/mdnie_table_u1.h
+++ b/drivers/video/samsung/mdnie_table_u1.h
@@ -176,8 +176,8 @@ static const unsigned short tune_dynamic_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_dynamic_vtcall[] = {
- /*start U1 dynamic vtcall */
+static const unsigned short tune_dynamic_vt[] = {
+ /*start U1 dynamic vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR dirTh */
0x002d, 0x19ff, /*DNR dirnumTh decon7Th */
@@ -400,8 +400,8 @@ static const unsigned short tune_movie_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_movie_vtcall[] = {
- /*start U1 movie vtcall */
+static const unsigned short tune_movie_vt[] = {
+ /*start U1 movie vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR dirTh */
0x002d, 0x19ff, /*DNR dirnumTh decon7Th */
@@ -624,8 +624,8 @@ static const unsigned short tune_standard_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_standard_vtcall[] = {
- /*start U1 standard vtcall */
+static const unsigned short tune_standard_vt[] = {
+ /*start U1 standard vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR dirTh */
0x002d, 0x19ff, /*DNR dirnumTh decon7Th */
@@ -848,8 +848,8 @@ static const unsigned short tune_natural_video[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_natural_vtcall[] = {
- /*start U1 natural vtcall */
+static const unsigned short tune_natural_vt[] = {
+ /*start U1 natural vt */
0x0001, 0x0040, /*SCR HDTR */
0x002c, 0x0fff, /*DNR dirTh */
0x002d, 0x19ff, /*DNR dirnumTh decon7Th */
@@ -963,7 +963,7 @@ static const unsigned short tune_cold_outdoor[] = {
END_SEQ, 0x0000,
};
-static const unsigned short tune_outdoor[] = {
+static const unsigned short tune_normal_outdoor[] = {
/*start U1 outdoor */
0x0001, 0x0042, /*OVE */
0x0054, 0x5a50, /*ove */
@@ -1003,7 +1003,7 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
{"COLD", tune_cold},
},
{
- {"NORMAL_OUTDOOR", tune_outdoor},
+ {"NORMAL_OUTDOOR", tune_normal_outdoor},
{"WARM_OUTDOOR", tune_warm_outdoor},
{"COLD_OUTDOOR", tune_cold_outdoor},
},
@@ -1013,43 +1013,48 @@ struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
struct mdnie_tunning_info tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
{
{
- {"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_VIDEO_NORMAL", tune_dynamic_video},
- {"DYNAMIC_VIDEO_WARM", tune_dynamic_video},
- {"DYNAMIC_VIDEO_COLD", tune_dynamic_video},
- {"CAMERA", tune_camera},
- {"DYNAMIC_UI", tune_dynamic_ui},
- {"DYNAMIC_GALLERY", tune_dynamic_gallery},
- {"DYNAMIC_VT", tune_dynamic_vtcall},
+ {"DYNAMIC_UI", tune_dynamic_ui},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"DYNAMIC_VIDEO", tune_dynamic_video},
+ {"CAMERA", NULL},
+ {"DYNAMIC_UI", tune_dynamic_ui},
+ {"DYNAMIC_GALLERY", tune_dynamic_gallery},
+ {"DYNAMIC_VT", tune_dynamic_vt},
}, {
- {"STANDARD_UI", tune_standard_ui},
- {"STANDARD_VIDEO_NORMAL", tune_standard_video},
- {"STANDARD_VIDEO_WARM", tune_standard_video},
- {"STANDARD_VIDEO_COLD", tune_standard_video},
- {"CAMERA", tune_camera},
- {"STANDARD_UI", tune_standard_ui},
- {"STANDARD_GALLERY", tune_standard_gallery},
- {"STANDARD_VT", tune_standard_vtcall},
+ {"STANDARD_UI", tune_standard_ui},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"STANDARD_VIDEO", tune_standard_video},
+ {"CAMERA", NULL},
+ {"STANDARD_UI", tune_standard_ui},
+ {"STANDARD_GALLERY", tune_standard_gallery},
+ {"STANDARD_VT", tune_standard_vt},
}, {
- {"NATURAL_UI", tune_natural_ui},
- {"NATURAL_VIDEO_NORMAL", tune_natural_video},
- {"NATURAL_VIDEO_WARM", tune_natural_video},
- {"NATURAL_VIDEO_COLD", tune_natural_video},
- {"CAMERA", tune_camera},
- {"NATURAL_UI", tune_natural_ui},
- {"NATURAL_GALLERY", tune_natural_gallery},
- {"NATURAL_VT", tune_natural_vtcall},
+ {"NATURAL_UI", tune_natural_ui},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"NATURAL_VIDEO", tune_natural_video},
+ {"CAMERA", NULL},
+ {"NATURAL_UI", tune_natural_ui},
+ {"NATURAL_GALLERY", tune_natural_gallery},
+ {"NATURAL_VT", tune_natural_vt},
}, {
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_VIDEO_NORMAL", tune_movie_video},
- {"MOVIE_VIDEO_WARM", tune_movie_video},
- {"MOVIE_VIDEO_COLD", tune_movie_video},
- {"CAMERA", tune_camera},
- {"MOVIE_UI", tune_movie_ui},
- {"MOVIE_GALLERY", tune_movie_gallery},
- {"MOVIE_VT", tune_movie_vtcall},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"MOVIE_VIDEO", tune_movie_video},
+ {"CAMERA", NULL},
+ {"MOVIE_UI", tune_movie_ui},
+ {"MOVIE_GALLERY", tune_movie_gallery},
+ {"MOVIE_VT", tune_movie_vt},
},
}
};
+struct mdnie_tunning_info camera_table[OUTDOOR_MAX] = {
+ {"CAMERA", tune_camera},
+ {"CAMERA_OUTDOOR", tune_camera_outdoor},
+};
+
#endif /* __MDNIE_TABLE_H__ */
diff --git a/drivers/video/samsung/s3cfb.h b/drivers/video/samsung/s3cfb.h
index 0831ac8..b7267e8 100644
--- a/drivers/video/samsung/s3cfb.h
+++ b/drivers/video/samsung/s3cfb.h
@@ -475,14 +475,6 @@ extern void s3cfb_set_lcd_info(struct s3cfb_global *ctrl);
#ifdef CONFIG_FB_S5P_MIPI_DSIM
extern void s5p_dsim_early_suspend(void);
extern void s5p_dsim_late_resume(void);
-#ifdef CONFIG_FB_S5P_S6E63M0
-extern void s6e63m0_early_suspend(void);
-extern void s6e63m0_late_resume(void);
-#else
-extern void s6e8ax0_early_suspend(void);
-extern void s6e8ax0_late_resume(void);
-#endif
-extern int s5p_dsim_fifo_clear(void);
extern void set_dsim_hs_clk_toggle_count(u8 count);
extern void set_dsim_lcd_enabled(u8 enable);
extern u32 read_dsim_register(u32 num);
diff --git a/drivers/video/samsung/s3cfb_s6e8aa0.c b/drivers/video/samsung/s3cfb_s6e8aa0.c
index 00b543e..c516751 100644
--- a/drivers/video/samsung/s3cfb_s6e8aa0.c
+++ b/drivers/video/samsung/s3cfb_s6e8aa0.c
@@ -532,7 +532,7 @@ static int s6e8ax0_set_acl(struct lcd_info *lcd, u8 force)
break;
}
- if ((!lcd->acl_enable) || (lcd->auto_brightness >= 5))
+ if (!lcd->acl_enable)
level = ACL_STATUS_0P;
enable = !!level;
diff --git a/drivers/video/samsung/s6e8aa0_gamma_jenga.h b/drivers/video/samsung/s6e8aa0_gamma_jenga.h
deleted file mode 100644
index 3d7e46c..0000000
--- a/drivers/video/samsung/s6e8aa0_gamma_jenga.h
+++ /dev/null
@@ -1,933 +0,0 @@
-#ifndef __S6E8AA0_GAMMA_2_2_H__
-#define __S6E8AA0_GAMMA_2_2_H__
-
-
-static const unsigned char SEQ_APPLY_LEVEL_2_KEY[] = {
- 0xF0,
- 0x5A, 0x5A
-};
-
-static const unsigned char SEQ_APPLY_LEVEL_3_KEY[] = {
- 0xF1,
- 0x5A, 0x5A
-};
-
-static const unsigned char SEQ_APPLY_LEVEL_4_KEY[] = {
- 0xFC,
- 0x5A, 0x5A
-};
-
-static const unsigned char SEQ_SLEEP_OUT[] = {
- 0x11
-};
-
-static const unsigned char SEQ_PANEL_CONDITION_SET_1[] = {
- 0xC4,
- 0x13, 0x5c, 0xfa, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x80, 0x2f, 0x3d, 0x2f, 0x05, 0x00, 0x13, 0x00, 0x00, 0x1c,
- 0x0a, 0x6f, 0x28, 0x20, 0x00, 0x01, 0x00, 0x02, 0x00, 0x00,
- 0x00
-};
-
-static const unsigned char SEQ_PANEL_CONDITION_SET_2[] = {
- 0xD2,
- 0x01, 0x00, 0x04, 0x35, 0x00, 0x10, 0x00, 0x01, 0x00, 0x01,
- 0x00, 0x0f, 0xe4, 0x87, 0x07, 0x31, 0x32, 0x32, 0x13, 0x06,
- 0x00, 0xa0, 0x40
-};
-
-static const unsigned char SEQ_DISPLAY_CONDITION_SET_1[] = {
- 0x36,
- 0x02
-};
-
-static const unsigned char SEQ_DISPLAY_CONDITION_SET_2[] = {
- 0xD6,
- 0x0c, 0x07, 0x0f
-};
-
-static const unsigned char SEQ_GAMMA_CONDITION_SET_1[] = {
- 0xD8,
- 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00
-};
-
-static const unsigned char SEQ_GAMMA_CONDITION_SET_2[] = {
- 0xD9,
- 0x01, 0x23, 0x01, 0x14, 0x01, 0x45, 0xcf, 0xd2, 0xcd, 0xc7,
- 0xca, 0xc3, 0xb1, 0xb6, 0xac, 0xc2, 0xca, 0xc4, 0xe3, 0xeb,
- 0xe7, 0xe7, 0xe9, 0xe5, 0xc2, 0xbe, 0xb6, 0x28, 0x00, 0x44,
- 0x11, 0x01
-};
-
-static const unsigned char SEQ_GAMMA_CONDITION_SET_3[] = {
- 0xDA,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00
-};
-
-static const unsigned char SEQ_GAMMA_UPDATE[] = {
- 0xFA, 0x03
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_1[] = {
- 0xB3,
- 0x00,0x33, 0x22, 0x32, 0xc0, 0x44, 0x44
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2[] = {
- 0xD3,
- 0x11, 0x00, 0x00, 0x00, 0x00
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_3[] = {
- 0xD4,
- 0x18, 0x40, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x22,
- 0x33, 0x44, 0x00, 0x30, 0xa6, 0xff, 0x0f, 0x00
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_4[] = {
- 0xD5,
- 0x00, 0x00, 0x18
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_5[] = {
- 0xD7,
- 0x55, 0x02
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_6[] = {
- 0xDE,
- 0xfd, 0xd1, 0xa1, 0x08, 0xaa, 0x73, 0x43, 0x00
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_0[] = {
- 0xF6,
- 0x00, 0x84, 0x09
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_1[] = {
- 0xB0, 0x09
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_2[] = {
- 0xD5, 0x64
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_3[] = {
- 0xB0, 0x0B
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_4[] = {
- 0xD5, 0xA4, 0x7E, 0x20
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_5[] = {
- 0xB0, 0x08
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_6[] = {
- 0xFD, 0xF8
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_7[] = {
- 0xB0, 0x04
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_8[] = {
- 0xF2, 0x4D
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_9[] = {
- 0xB1, 0x01, 0x00, 0x16
-};
-
-static const unsigned char SEQ_ETC_CONDITION_SET_2_10[] = {
- 0xB2, 0x06, 0x06, 0x06, 0x06
-};
-
-static const unsigned char SEQ_MEMORY_WINDOW_SET_1_0[] = {
- 0x2A, 0x00, 0x00, 0x02, 0x57
-};
-
-static const unsigned char SEQ_MEMORY_WINDOW_SET_1_1[] = {
- 0x2B, 0x00, 0x00, 0x03, 0xFF
-};
-
-static const unsigned char SEQ_MEMORY_WINDOW_SET_1_2[] = {
- 0x2C, 0x00
-};
-
-static const unsigned char SEQ_MEMORY_WINDOW_SET_2_0[] = {
- 0x35
-};
-
-static const unsigned char SEQ_MEMORY_WINDOW_SET_2_1[] = {
- 0x36, 0xC0
-};
-
-static const unsigned char SEQ_MEMORY_WINDOW_SET_2_2[] = {
- 0x2A, 0x00, 0x1E, 0x02, 0x39
-};
-
-static const unsigned char SEQ_MEMORY_WINDOW_SET_2_3[] = {
- 0x2B, 0x00, 0x40, 0x03, 0xFF
-};
-
-static const unsigned char SEQ_MEMORY_WINDOW_SET_2_4[] = {
- 0xD1, 0x8A
-};
-
-static const unsigned char SEQ_ETC_SOURCE_CONTROL[] = {
- 0xF6,
- 0x00, 0x84, 0x09
-};
-
-static const unsigned char SEQ_ETC_ELVSS_CONTROL[] = {
- 0xB2,
- 0x04, 0xB4, 0x78, 0x00, 0x00, 0x00, 0x00
-};
-
-static const unsigned char SEQ_ETC_NVM_CONTROL[] = {
- 0xD9,
- 0x14, 0x40, 0x0C, 0xCB, 0xCE, 0x6E, 0xC4, 0x0F, 0x40, 0x41,
- 0xD0, 0x00, 0x60, 0x19
-};
-
-static const unsigned char SEQ_ETC_PENTILE_CONTROL[] = {
- 0xB6,
- 0x0C, 0x02, 0x03, 0x32, 0xFF,
- 0x44, 0x44, 0xC0, 0x10
-};
-
-static const unsigned char SEQ_ETC_MIPI_CONTROL1[] = {
- 0xE1,
- 0x10, 0x1C, 0x17, 0x08, 0x1D
-};
-
-static const unsigned char SEQ_ETC_MIPI_CONTROL2[] = {
- 0xE2,
- 0xED, 0x07, 0xC3, 0x13, 0x0D, 0x03
-};
-
-static const unsigned char SEQ_ETC_POWER_CONTROL[] = {
- 0xF4,
- 0xCF, 0x0A, 0x12, 0x10, 0x19, 0x33, 0x02
-};
-
-static const unsigned char SEQ_ETC_MIPI_CONTROL3[] = {
- 0xE3, 0x40
-};
-
-static const unsigned char SEQ_ETC_MIPI_CONTROL4[] = {
- 0xE4,
- 0x00, 0x00, 0x14, 0x80, 0x00, 0x00, 0x00
-};
-
-static const unsigned char SEQ_ETC_ACL_CONTROL[] = {
- 0xC1,
- 0x47, 0x53, 0x13, 0x53, 0x47, 0x53, 0x13, 0x53, 0x00, 0x00,
- 0x02, 0xCF, 0x00, 0x00, 0x04, 0xFF, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x01, 0x0F, 0x16, 0x1D, 0x24, 0x2A, 0x31, 0x38,
- 0x3F, 0x46
-};
-
-static const unsigned char SEQ_DISPLAY_ON[] = {
- 0x29
-};
-
-static const unsigned char SEQ_DISPLAY_OFF[] = {
- 0x28
-};
-
-static const unsigned char SEQ_STANDBY_ON[] = {
- 0x10
-};
-
-
-typedef enum {
- ACL_STATUS_0P = 0,
- ACL_STATUS_40P,
- ACL_STATUS_43P,
- ACL_STATUS_45P,
- ACL_STATUS_47P,
- ACL_STATUS_48P,
- ACL_STATUS_50P,
- ACL_STATUS_MAX
-} ACL_STATUS;
-
-const unsigned char SEQ_ACL_ON[] = {
- 0xC0, 0x01,
-};
-
-const unsigned char SEQ_ACL_OFF[] = {
- 0xC0, 0x00,
-};
-
-const unsigned char acl_cutoff_40[] = {
- 0xC1,
- 0x47, 0x53, 0x13, 0x53, 0x00, 0x00,
- 0x03, 0x1F, 0x00, 0x00, 0x04, 0xFF,
- 0x00, 0x00, 0x00, 0x00, 0x00,
-
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
- 0x06, 0x0C, 0x11, 0x16, 0x1C, 0x21,
- 0x26, 0x2B, 0x31, 0x36
-};
-
-const unsigned char acl_cutoff_43[] = {
- 0xC1,
- 0x47, 0x53, 0x13, 0x53, 0x00, 0x00,
- 0x03, 0x1F, 0x00, 0x00, 0x04, 0xFF,
- 0x00, 0x00, 0x00, 0x00, 0x00,
-
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
- 0x07, 0x0C, 0x12, 0x18, 0x1E, 0x23,
- 0x29, 0x2F, 0x34, 0x3A
-};
-
-const unsigned char acl_cutoff_45[] = {
- 0xC1,
- 0x47, 0x53, 0x13, 0x53, 0x00, 0x00,
- 0x03, 0x1F, 0x00, 0x00, 0x04, 0xFF,
- 0x00, 0x00, 0x00, 0x00, 0x00,
-
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
- 0x07, 0x0D, 0x13, 0x19, 0x1F, 0x25,
- 0x2B, 0x31, 0x37, 0x3D
-};
-
-const unsigned char acl_cutoff_47[] = {
- 0xC1,
- 0x47, 0x53, 0x13, 0x53, 0x00, 0x00,
- 0x03, 0x1F, 0x00, 0x00, 0x04, 0xFF,
- 0x00, 0x00, 0x00, 0x00, 0x00,
-
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
- 0x07, 0x0E, 0x14, 0x1B, 0x21, 0x27,
- 0x2E, 0x34, 0x3B, 0x41
-};
-
-const unsigned char acl_cutoff_48[] = {
- 0xC1,
- 0x47, 0x53, 0x13, 0x53, 0x00, 0x00,
- 0x03, 0x1F, 0x00, 0x00, 0x04, 0xFF,
- 0x00, 0x00, 0x00, 0x00, 0x00,
-
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
- 0x08, 0x0E, 0x15, 0x1B, 0x22, 0x29,
- 0x2F, 0x36, 0x3C, 0x43
-};
-
-const unsigned char acl_cutoff_50[] = {
- 0xC1,
- 0x47, 0x53, 0x13, 0x53, 0x00, 0x00,
- 0x03, 0x1F, 0x00, 0x00, 0x04, 0xFF,
- 0x00, 0x00, 0x00, 0x00, 0x00,
-
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
- 0x08, 0x0F, 0x16, 0x1D, 0x24, 0x2A,
- 0x31, 0x38, 0x3F, 0x46
-};
-
-const unsigned char * acl_cutoff_table[ACL_STATUS_MAX] = {
- SEQ_ACL_OFF,
- acl_cutoff_40,
- acl_cutoff_43,
- acl_cutoff_45,
- acl_cutoff_47,
- acl_cutoff_48,
- acl_cutoff_50,
-};
-
-#define ACL_PARAM_SIZE ARRAY_SIZE(acl_cutoff_50)
-
-
-typedef enum {
- ELVSS_28 = 0,
- ELVSS_34,
- ELVSS_40,
- ELVSS_44,
- ELVSS_STATUS_MAX,
-} ELVSS_STATUS;
-
-const unsigned char elvss_32[] = {
- 0xD9,
- 0x14, 0x40, 0x0C, 0xCB, 0xCE,
- 0x6E, 0xC4, 0x0F, 0x40, 0x41,
- 0xD0, 0x00, 0x60, 0x19
-};
-
-const unsigned char elvss_34[] = {
- 0xD9,
- 0x14, 0x40, 0x0C, 0xCB, 0xCE,
- 0x6E, 0xC4, 0x0F, 0x40, 0x40,
- 0xDD, 0x00, 0x60, 0x19
-};
-
-const unsigned char elvss_38[] = {
- 0xD9,
- 0x14, 0x40, 0x0C, 0xCB, 0xCE,
- 0x6E, 0xC4, 0x0F, 0x40, 0x40,
- 0xD9, 0x00, 0x60, 0x19
-};
-
-const unsigned char elvss_47[] = {
- 0xD9,
- 0x14, 0x40, 0x0C, 0xCB, 0xCE,
- 0x6E, 0xC4, 0x0F, 0x40, 0x40,
- 0xD0, 0x00, 0x60, 0x19
-};
-
-
-const unsigned char *elvss_table[ELVSS_STATUS_MAX] = {
- elvss_32,
- elvss_34,
- elvss_38,
- elvss_47,
-};
-
-#define ELVSS_PARAM_SIZE ARRAY_SIZE(elvss_47)
-
-enum {
- GAMMA_2_2_30CD = 0,
- GAMMA_2_2_40CD,
- GAMMA_2_2_70CD,
- GAMMA_2_2_90CD,
- GAMMA_2_2_100CD,
- GAMMA_2_2_110CD,
- GAMMA_2_2_120CD,
- GAMMA_2_2_130CD,
- GAMMA_2_2_140CD,
- GAMMA_2_2_150CD,
- GAMMA_2_2_160CD,
- GAMMA_2_2_170CD,
- GAMMA_2_2_180CD,
- GAMMA_2_2_190CD,
- GAMMA_2_2_200CD,
- GAMMA_2_2_210CD,
- GAMMA_2_2_220CD,
- GAMMA_2_2_230CD,
- GAMMA_2_2_240CD,
- GAMMA_2_2_250CD,
- GAMMA_2_2_260CD,
- GAMMA_2_2_270CD,
- GAMMA_2_2_280CD,
- GAMMA_2_2_290CD,
- GAMMA_2_2_300CD = 24,
- GAMMA_2_2_MAX
-};
-
-#define GAMMA_PARAM_SIZE 26
-
-
-const unsigned char gamma22_30[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xDF, 0x1F, 0xD7, 0xDC, 0xB7, 0xE1,
- 0xC0, 0xAF, 0xC4, 0xD2, 0xD0, 0xCF,
- 0x00, 0x4D, 0x00, 0x40, 0x00, 0x5F,
-};
-
-const unsigned char gamma22_40[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xD5, 0x35, 0xCF, 0xDC, 0xC1, 0xE1,
- 0xBF, 0xB3, 0xC1, 0xD2, 0xD1, 0xCE,
- 0x00, 0x53, 0x00, 0x46, 0x00, 0x67,
-};
-
-const unsigned char gamma22_50[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xD2, 0x64, 0xCF, 0xDB, 0xC6, 0xE1,
- 0xBD, 0xB3, 0xBD, 0xD2, 0xD2, 0xCE,
- 0x00, 0x59, 0x00, 0x4B, 0x00, 0x6E,
-};
-
-const unsigned char gamma22_60[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xD0, 0x7C, 0xCF, 0xDB, 0xC9, 0xE0,
- 0xBC, 0xB4, 0xBB, 0xCF, 0xD1, 0xCC,
- 0x00, 0x5F, 0x00, 0x50, 0x00, 0x75,
-};
-
-const unsigned char gamma22_70[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xD0, 0x8E, 0xD1, 0xDB, 0xCC, 0xDF,
- 0xBB, 0xB6, 0xB9, 0xD0, 0xD1, 0xCD,
- 0x00, 0x63, 0x00, 0x54, 0x00, 0x7A,
-};
-
-const unsigned char gamma22_80[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xD1, 0x9E, 0xD5, 0xDA, 0xCD, 0xDD,
- 0xBB, 0xB7, 0xB9, 0xCE, 0xCE, 0xC9,
- 0x00, 0x68, 0x00, 0x59, 0x00, 0x81,
-};
-
-const unsigned char gamma22_90[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xD0, 0xA5, 0xD6, 0xDA, 0xCF, 0xDD,
- 0xBB, 0xB7, 0xB8, 0xCC, 0xCD, 0xC7,
- 0x00, 0x6C, 0x00, 0x5C, 0x00, 0x86,
-};
-
-const unsigned char gamma22_100[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xCF, 0xA7, 0xD6, 0xDA, 0xD0, 0xDC,
- 0xB8, 0xB6, 0xB5, 0xCB, 0xCC, 0xC6,
- 0x00, 0x71, 0x00, 0x60, 0x00, 0x8C,
-};
-
-const unsigned char gamma22_110[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x1F, 0xFE,
- 0xD0, 0xAE, 0xD7, 0xD9, 0xD0, 0xDB,
- 0xB9, 0xB6, 0xB5, 0xCA, 0xCC, 0xC5,
- 0x00, 0x74, 0x00, 0x63, 0x00, 0x90,
-};
-
-const unsigned char gamma22_120[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x1F, 0xF9,
- 0xCF, 0xB0, 0xD6, 0xD9, 0xD1, 0xDB,
- 0xB9, 0xB6, 0xB4, 0xCA, 0xCB, 0xC5,
- 0x00, 0x77, 0x00, 0x66, 0x00, 0x94,
-};
-
-const unsigned char gamma22_130[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x1F, 0xF7,
- 0xCF, 0xB3, 0xD7, 0xD8, 0xD1, 0xD9,
- 0xB7, 0xB6, 0xB3, 0xC9, 0xCA, 0xC3,
- 0x00, 0x7B, 0x00, 0x69, 0x00, 0x99,
-};
-
-const unsigned char gamma22_140[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFD, 0x2F, 0xF7,
- 0xDF, 0xB5, 0xD6, 0xD8, 0xD1, 0xD8,
- 0xB6, 0xB5, 0xB2, 0xCA, 0xCB, 0xC4,
- 0x00, 0x7E, 0x00, 0x6C, 0x00, 0x9D,
-
-};
-
-const unsigned char gamma22_150[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFB, 0x2F, 0xF5,
- 0xD0, 0xB7, 0xD7, 0xD7, 0xD1, 0xD8,
- 0xB6, 0xB5, 0xB1, 0xC8, 0xCA, 0xC3,
- 0x00, 0x81, 0x00, 0x6E, 0x00, 0xA0,
-};
-
-const unsigned char gamma22_160[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFA, 0x2F, 0xF5,
- 0xCE, 0xB6, 0xD5, 0xD7, 0xD2, 0xD8,
- 0xB6, 0xB4, 0xB0, 0xC7, 0xC9, 0xC1,
- 0x00, 0x84, 0x00, 0x71, 0x00, 0xA5,
-};
-
-const unsigned char gamma22_170[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF7, 0x2F, 0xF2,
- 0xCE, 0xB9, 0xD5, 0xD8, 0xD2, 0xD8,
- 0xB4, 0xB4, 0xAF, 0xC7, 0xC9, 0xC1,
- 0x00, 0x87, 0x00, 0x73, 0x00, 0xA8,
-};
-
-const unsigned char gamma22_180[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF5, 0x2F, 0xF0,
- 0xDF, 0xBA, 0xD5, 0xD7, 0xD2, 0xD7,
- 0xB4, 0xB4, 0xAF, 0xC5, 0xC7, 0xBF,
- 0x00, 0x8A, 0x00, 0x76, 0x00, 0xAC,
-};
-
-const unsigned char gamma22_190[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF2, 0x2F, 0xED,
- 0xCE, 0xBB, 0xD4, 0xD6, 0xD2, 0xD6,
- 0xB5, 0xB4, 0xAF, 0xC5, 0xC7, 0xBF,
- 0x00, 0x8c, 0x00, 0x78, 0x00, 0xAF,
-};
-
-const unsigned char gamma22_200[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF2, 0x2F, 0xED,
- 0xCE, 0xBB, 0xD4, 0xD7, 0xD3, 0xD6,
- 0xB3, 0xB3, 0xAE, 0xC6, 0xC7, 0xBF,
- 0x00, 0x8E, 0x00, 0x7A, 0x00, 0xB2,
-};
-
-const unsigned char gamma22_210[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEF, 0x2F, 0xEB,
- 0xCD, 0xBB, 0xD2, 0xD7, 0xD3, 0xD6,
- 0xB3, 0xB4, 0xAE, 0xC5, 0xC6, 0xBE,
- 0x00, 0x91, 0x00, 0x7D, 0x00, 0xB6,
-};
-
-const unsigned char gamma22_220[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEE, 0x2F, 0xEA,
- 0xCE, 0xBD, 0xD4, 0xD6, 0xD2, 0xD5,
- 0xB2, 0xB3, 0xAD, 0xC3, 0xC4, 0xBB,
- 0x00, 0x94, 0x00, 0x7F, 0x00, 0xBA,
-};
-
-const unsigned char gamma22_230[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEC, 0x2F, 0xE8,
- 0xCE, 0xBE, 0xD3, 0xD6, 0xD3, 0xD5,
- 0xB2, 0xB2, 0xAC, 0xC3, 0xC5, 0xBC,
- 0x00, 0x96, 0x00, 0x81, 0x00, 0xBD,
-};
-
-const unsigned char gamma22_240[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEB, 0x2F, 0xE7,
- 0xCE, 0xBF, 0xD3, 0xD6, 0xD2, 0xD5,
- 0xB1, 0xB2, 0xAB, 0xC2, 0xC4, 0xBB,
- 0x00, 0x99, 0x00, 0x83, 0x00, 0xC0,
-};
-
-const unsigned char gamma22_250[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEF, 0x5F, 0xE9,
- 0xCA, 0xBF, 0xD3, 0xD5, 0xD2, 0xD4,
- 0xB2, 0xB2, 0xAB, 0xC1, 0xC4, 0xBA,
- 0x00, 0x9B, 0x00, 0x85, 0x00, 0xC3,
-};
-
-const unsigned char gamma22_260[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEA, 0x5F, 0xE8,
- 0xCE, 0xBF, 0xD2, 0xD5, 0xD2, 0xD4,
- 0xB1, 0xB2, 0xAB, 0xC1, 0xC2, 0xB9,
- 0x00, 0x9D, 0x00, 0x87, 0x00, 0xC6,
-};
-
-const unsigned char gamma22_270[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xE9, 0x5F, 0xE7,
- 0xCD, 0xBF, 0xD2, 0xD6, 0xD2, 0xD4,
- 0xB1, 0xB2, 0xAB, 0xBE, 0xC0, 0xB7,
- 0x00, 0xA1, 0x00, 0x8A, 0x00, 0xCA,
-};
-
-const unsigned char gamma22_280[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xE8, 0x61, 0xE6,
- 0xCD, 0xBF, 0xD1, 0xD6, 0xD3, 0xD4,
- 0xAF, 0xB0, 0xA9, 0xBE, 0xC1, 0xB7,
- 0x00, 0xA3, 0x00, 0x8B, 0x00, 0xCE,
-};
-
-const unsigned char gamma22_290[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xE8, 0x62, 0xE5,
- 0xCC, 0xC0, 0xD0, 0xD6, 0xD2, 0xD4,
- 0xAF, 0xB1, 0xA9, 0xBD, 0xC0, 0xB6,
- 0x00, 0xA5, 0x00, 0x8D, 0x00, 0xD0,
-};
-
-const unsigned char gamma22_300[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xE7, 0x7F, 0xE3,
- 0xCC, 0xC1, 0xD0, 0xD5, 0xD3, 0xD3,
- 0xAE, 0xAF, 0xA8, 0xBE, 0xC0, 0xB7,
- 0x00, 0xA8, 0x00, 0x90, 0x00, 0xD3,
-};
-
-
-const unsigned char gamma19_30[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xD7, 0x6F, 0xD5, 0xDF, 0xC8, 0xE4,
- 0xC7, 0xBA, 0xC8, 0xD7, 0xD6, 0xD5,
- 0x00, 0x4D, 0x00, 0x40, 0x00, 0x5F,
-};
-
-const unsigned char gamma19_40[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xD6, 0xA1, 0xD7, 0xDE, 0xCF, 0xE3,
- 0xC5, 0xBE, 0xC6, 0xD6, 0xD7, 0xD4,
- 0x00, 0x53, 0x00, 0x46, 0x00, 0x67,
-};
-
-const unsigned char gamma19_50[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xD6, 0xAA, 0xD8, 0xE0, 0xD5, 0xE4,
- 0xC4, 0xBD, 0xC2, 0xD7, 0xD7, 0xD4,
- 0x00, 0x59, 0x00, 0x4B, 0x00, 0x6E,
-};
-
-const unsigned char gamma19_60[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFF,
- 0xD5, 0xB0, 0xDB, 0xDF, 0xD4, 0xE1,
- 0xC3, 0xBE, 0xC1, 0xD5, 0xD6, 0xD2,
- 0x00, 0x5F, 0x00, 0x50, 0x00, 0x75,
-};
-
-const unsigned char gamma19_70[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFF, 0x00, 0xFC,
- 0xD6, 0xB7, 0xDC, 0xDF, 0xD6, 0xE1,
- 0xC2, 0xBF, 0xC0, 0xD5, 0xD5, 0xD1,
- 0x00, 0x63, 0x00, 0x54, 0x00, 0x7A,
-};
-
-const unsigned char gamma19_80[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFA, 0x1F, 0xF5,
- 0xD6, 0xBD, 0xDC, 0xDD, 0xD6, 0xDF,
- 0xC3, 0xC0, 0xC0, 0xD3, 0xD2, 0xCE,
- 0x00, 0x68, 0x00, 0x59, 0x00, 0x81,
-};
-
-const unsigned char gamma19_90[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xFA, 0x1F, 0xF5,
- 0xD6, 0xC0, 0xDC, 0xDD, 0xD6, 0xDE,
- 0xC1, 0xBE, 0xBD, 0xD2, 0xD4, 0xCE,
- 0x00, 0x6C, 0x00, 0x5C, 0x00, 0x86,
-};
-
-const unsigned char gamma19_100[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF6, 0x1F, 0xF2,
- 0xD4, 0xC0, 0xDA, 0xDE, 0xD8, 0xDE,
- 0xC0, 0xBE, 0xBC, 0xD0, 0xD2, 0xCC,
- 0x00, 0x71, 0x00, 0x60, 0x00, 0x8C,
-};
-
-const unsigned char gamma19_110[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF5, 0x44, 0xF1,
- 0xD3, 0xC1, 0xD9, 0xDC, 0xD6, 0xDC,
- 0xC0, 0xBF, 0xBC, 0xD1, 0xD2, 0xCC,
- 0x00, 0x74, 0x00, 0x63, 0x00, 0x90,
-};
-
-const unsigned char gamma19_120[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF1, 0x6D, 0xF1,
- 0xD4, 0xC4, 0xD9, 0xDE, 0xD8, 0xDD,
- 0xBE, 0xBE, 0xBA, 0xD1, 0xD1, 0xCC,
- 0x00, 0x77, 0x00, 0x66, 0x00, 0x94,
-};
-
-const unsigned char gamma19_130[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF1, 0x6D, 0xF1,
- 0xD4, 0xCE, 0xD8, 0xDC, 0xD8, 0xDC,
- 0xBD, 0xBD, 0xB9, 0xCF, 0xD0, 0xC9,
- 0x00, 0x7B, 0x00, 0x69, 0x00, 0x99,
-};
-
-const unsigned char gamma19_140[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF1, 0x86, 0xF1,
- 0xD3, 0xC5, 0xD7, 0xDD, 0xD9, 0xDC,
- 0xBC, 0xBC, 0xB8, 0xD0, 0xD1, 0xCA,
- 0x00, 0x7E, 0x00, 0x6C, 0x00, 0x9D,
-};
-
-const unsigned char gamma19_150[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF2, 0xBC, 0xF1,
- 0xD2, 0xC6, 0xD7, 0xDB, 0xD8, 0xDB,
- 0xBC, 0xBC, 0xB7, 0xCE, 0xCF, 0xC9,
- 0x00, 0x81, 0x00, 0x6E, 0x00, 0xA0,
-};
-
-const unsigned char gamma19_160[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEF, 0x97, 0xF1,
- 0xD4, 0xC8, 0xD7, 0xDB, 0xD8, 0xDA,
- 0xBC, 0xBC, 0xB7, 0xCD, 0xCF, 0xC7,
- 0x00, 0x84, 0x00, 0x71, 0x00, 0xA5,
-};
-
-const unsigned char gamma19_170[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF0, 0xA2, 0xF3,
- 0xD4, 0xC8, 0xD6, 0xDB, 0xD9, 0xDA,
- 0xBB, 0xBC, 0xB6, 0xCD, 0xCF, 0xC8,
- 0x00, 0x87, 0x00, 0x73, 0x00, 0xA8,
-};
-
-const unsigned char gamma19_180[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF0, 0xA9, 0xF4,
- 0xD2, 0xC7, 0xD4, 0xDB, 0xD9, 0xDA,
- 0xBB, 0xBC, 0xB6, 0xCD, 0xCE, 0xC7,
- 0x00, 0x8A, 0x00, 0x76, 0x00, 0xAC,
-};
-
-const unsigned char gamma19_190[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF0, 0xB1, 0xF5,
- 0xD3, 0xC8, 0xD4, 0xDA, 0xD8, 0xD9,
- 0xBC, 0xBB, 0xB6, 0xCB, 0xCE, 0xC6,
- 0x00, 0x8c, 0x00, 0x78, 0x00, 0xAF,
-};
-
-const unsigned char gamma19_200[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF0, 0xB1, 0xF5,
- 0xD3, 0xC8, 0xD4, 0xDA, 0xD8, 0xD8,
- 0xBA, 0xBB, 0xB5, 0xCB, 0xCC, 0xC5,
- 0x00, 0x8F, 0x00, 0x7B, 0x00, 0xB3,
-};
-
-const unsigned char gamma19_210[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEF, 0xB3, 0xF4,
- 0xD3, 0xC9, 0xD4, 0xDA, 0xD9, 0xD9,
- 0xBA, 0xBA, 0xB4, 0xCA, 0xCC, 0xC4,
- 0x00, 0x91, 0x00, 0x7D, 0x00, 0xB6,
-};
-
-const unsigned char gamma19_220[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEF, 0xB9, 0xF5,
- 0xD5, 0xCC, 0xD6, 0xD9, 0xD7, 0xD7,
- 0xBA, 0xBA, 0xB4, 0xC8, 0xCB, 0xC2,
- 0x00, 0x94, 0x00, 0x7F, 0x00, 0xBA,
-};
-
-const unsigned char gamma19_230[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEE, 0xB9, 0xF5,
- 0xD1, 0xCA, 0xD2, 0xDB, 0xD9, 0xD9,
- 0xB9, 0xBA, 0xB3, 0xC9, 0xCB, 0xC3,
- 0x00, 0x96, 0x00, 0x81, 0x00, 0xBD,
-};
-
-const unsigned char gamma19_240[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xF0, 0xBD, 0xF7,
- 0xD1, 0xCB, 0xD3, 0xD9, 0xD5, 0xD6,
- 0xB9, 0xBA, 0xB3, 0xC8, 0xCB, 0xC2,
- 0x00, 0x99, 0x00, 0x83, 0x00, 0xC0,
-};
-
-const unsigned char gamma19_250[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEE, 0xBD, 0xF5,
- 0xD0, 0xC8, 0xD1, 0xDA, 0xD8, 0xD7,
- 0xB9, 0xBA, 0xB3, 0xC7, 0xC9, 0xC1,
- 0x00, 0x9C, 0x00, 0x86, 0x00, 0xC4,
-};
-
-const unsigned char gamma19_260[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xED, 0xBE, 0xF4,
- 0xD2, 0xCB, 0xD2, 0xDA, 0xD8, 0xD7,
- 0xB8, 0xBA, 0xB3, 0xC6, 0xC7, 0xBF,
- 0x00, 0x9E, 0x00, 0x88, 0x00, 0xC7,
-};
-
-const unsigned char gamma19_270[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xED, 0xBE, 0xF4,
- 0xD2, 0xCC, 0xD3, 0xD9, 0xD6, 0xD6,
- 0xB8, 0xB9, 0xB2, 0xC5, 0xC8, 0xBF,
- 0x00, 0xA1, 0x00, 0x8A, 0x00, 0xCA,
-};
-
-const unsigned char gamma19_280[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xED, 0xC3, 0xF5,
- 0xD1, 0xCB, 0xD1, 0xDA, 0xD8, 0xD7,
- 0xB7, 0xB8, 0xB1, 0xC5, 0xC8, 0xBE,
- 0x00, 0xA3, 0x00, 0x8C, 0x00, 0xCE,
-};
-
-const unsigned char gamma19_290[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEE, 0xC4, 0xF6,
- 0xD1, 0xC9, 0xD0, 0xD9, 0xD8, 0xD7,
- 0xB6, 0xB8, 0xB0, 0xC5, 0xC6, 0xBE,
- 0x00, 0xA5, 0x00, 0x8E, 0x00, 0xD0,
-};
-
-const unsigned char gamma19_300[GAMMA_PARAM_SIZE] = {
- 0xFA, 0x01,
- 0x1F, 0x1F, 0x1F, 0xEC, 0xC4, 0xF5,
- 0xD1, 0xCB, 0xD1, 0xD8, 0xD7, 0xD6,
- 0xB6, 0xB7, 0xAF, 0xC5, 0xC7, 0xBE,
- 0x00, 0xA8, 0x00, 0x90, 0x00, 0xD3,
-};
-
-const unsigned char *gamma22_table[GAMMA_2_2_MAX] = {
- gamma22_30,
- gamma22_40,
- gamma22_70,
- gamma22_90,
- gamma22_100,
- gamma22_110,
- gamma22_120,
- gamma22_130,
- gamma22_140,
- gamma22_150,
- gamma22_160,
- gamma22_170,
- gamma22_180,
- gamma22_190,
- gamma22_200,
- gamma22_210,
- gamma22_220,
- gamma22_230,
- gamma22_240,
- gamma22_250,
- gamma22_260,
- gamma22_270,
- gamma22_280,
- gamma22_290,
- gamma22_300,
-};
-
-const unsigned char *gamma19_table[GAMMA_2_2_MAX] = {
- gamma19_30,
- gamma19_40,
- gamma19_70,
- gamma19_90,
- gamma19_100,
- gamma19_110,
- gamma19_120,
- gamma19_130,
- gamma19_140,
- gamma19_150,
- gamma19_160,
- gamma19_170,
- gamma19_180,
- gamma19_190,
- gamma19_200,
- gamma19_210,
- gamma19_220,
- gamma19_230,
- gamma19_240,
- gamma19_250,
- gamma19_260,
- gamma19_270,
- gamma19_280,
- gamma19_290,
- gamma19_300,
-};
-
-
-#endif /* __S6E8AA0_GAMMA_2_2_H__ */