drivers/staging/media/atomisp/pci/atomisp_tables.h

Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/atomisp_tables.h

File Facts

System
Linux kernel
Corpus path
drivers/staging/media/atomisp/pci/atomisp_tables.h
Extension
.h
Size
4610 bytes
Lines
178
Domain
Driver Families
Bucket
drivers/staging
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef	__ATOMISP_TABLES_H__
#define	__ATOMISP_TABLES_H__

#include "sh_css_params.h"

/*Sepia image effect table*/
static struct ia_css_cc_config sepia_cc_config = {
	.fraction_bits  = 8,
	.matrix	 = {141, 18, 68, -40, -5, -19, 35, 4, 16},
};

/*Negative image effect table*/
static struct ia_css_cc_config nega_cc_config = {
	.fraction_bits  = 8,
	.matrix	 = {255, 29, 120, 0, 374, 342, 0, 672, -301},
};

/*Mono image effect table*/
static struct ia_css_cc_config mono_cc_config = {
	.fraction_bits  = 8,
	.matrix	 = {255, 29, 120, 0, 0, 0, 0, 0, 0},
};

/*Skin whiten image effect table*/
static struct ia_css_macc_table skin_low_macc_table = {
	.data = {
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		7168, 0, 2048, 8192,
		5120, -1024, 2048, 8192,
		8192, 2048, -1024, 5120,
		8192, 2048, 0, 7168,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192
	}
};

static struct ia_css_macc_table skin_medium_macc_table = {
	.data = {
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		5120, 0, 6144, 8192,
		3072, -1024, 2048, 6144,
		6144, 2048, -1024, 3072,
		8192, 6144, 0, 5120,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192
	}
};

static struct ia_css_macc_table skin_high_macc_table = {
	.data = {
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		4096, 0, 8192, 8192,
		0, -2048, 4096, 6144,
		6144, 4096, -2048, 0,
		8192, 8192, 0, 4096,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192,
		8192, 0, 0, 8192
	}
};

/*Blue enhencement image effect table*/
static struct ia_css_macc_table blue_macc_table = {
	.data = {

Annotation

Implementation Notes