Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
isppreview.c File Reference
#include <linux/device.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/uaccess.h>
#include "isp.h"
#include "ispreg.h"
#include "isppreview.h"
#include "cfa_coef_table.h"
#include "gamma_table.h"
#include "noise_filter_table.h"
#include "luma_enhance_table.h"

Go to the source code of this file.

Data Structures

struct  preview_update
 

Macros

#define FLR_CFA_GRADTHRS_HORZ   0x28
 
#define FLR_CFA_GRADTHRS_VERT   0x28
 
#define FLR_CSUP_GAIN   0x0D
 
#define FLR_CSUP_THRES   0xEB
 
#define FLR_NF_STRGTH   0x03
 
#define FLR_WBAL_DGAIN   0x100
 
#define FLR_WBAL_COEF   0x20
 
#define FLR_BLKADJ_BLUE   0x0
 
#define FLR_BLKADJ_GREEN   0x0
 
#define FLR_BLKADJ_RED   0x0
 
#define DEF_DETECT_CORRECT_VAL   0xe
 
#define PREV_MARGIN_LEFT   8
 
#define PREV_MARGIN_RIGHT   6
 
#define PREV_MARGIN_TOP   4
 
#define PREV_MARGIN_BOTTOM   4
 
#define PREV_MIN_IN_WIDTH   64
 
#define PREV_MIN_IN_HEIGHT   8
 
#define PREV_MAX_IN_HEIGHT   16384
 
#define PREV_MIN_OUT_WIDTH   0
 
#define PREV_MIN_OUT_HEIGHT   0
 
#define PREV_MAX_OUT_WIDTH_REV_1   1280
 
#define PREV_MAX_OUT_WIDTH_REV_2   3300
 
#define PREV_MAX_OUT_WIDTH_REV_15   4096
 
#define PREV_PRINT_REGISTER(isp, name)
 

Functions

int omap3isp_preview_busy (struct isp_prev_device *prev)
 
void omap3isp_preview_restore_context (struct isp_device *isp)
 
void omap3isp_preview_isr_frame_sync (struct isp_prev_device *prev)
 
void omap3isp_preview_isr (struct isp_prev_device *prev)
 
void omap3isp_preview_unregister_entities (struct isp_prev_device *prev)
 
int omap3isp_preview_register_entities (struct isp_prev_device *prev, struct v4l2_device *vdev)
 
int omap3isp_preview_init (struct isp_device *isp)
 
void omap3isp_preview_cleanup (struct isp_device *isp)
 

Macro Definition Documentation

#define DEF_DETECT_CORRECT_VAL   0xe

Definition at line 77 of file isppreview.c.

#define FLR_BLKADJ_BLUE   0x0

Definition at line 73 of file isppreview.c.

#define FLR_BLKADJ_GREEN   0x0

Definition at line 74 of file isppreview.c.

#define FLR_BLKADJ_RED   0x0

Definition at line 75 of file isppreview.c.

#define FLR_CFA_GRADTHRS_HORZ   0x28

Definition at line 58 of file isppreview.c.

#define FLR_CFA_GRADTHRS_VERT   0x28

Definition at line 59 of file isppreview.c.

#define FLR_CSUP_GAIN   0x0D

Definition at line 62 of file isppreview.c.

#define FLR_CSUP_THRES   0xEB

Definition at line 63 of file isppreview.c.

#define FLR_NF_STRGTH   0x03

Definition at line 66 of file isppreview.c.

#define FLR_WBAL_COEF   0x20

Definition at line 70 of file isppreview.c.

#define FLR_WBAL_DGAIN   0x100

Definition at line 69 of file isppreview.c.

#define PREV_MARGIN_BOTTOM   4

Definition at line 113 of file isppreview.c.

#define PREV_MARGIN_LEFT   8

Definition at line 110 of file isppreview.c.

#define PREV_MARGIN_RIGHT   6

Definition at line 111 of file isppreview.c.

#define PREV_MARGIN_TOP   4

Definition at line 112 of file isppreview.c.

#define PREV_MAX_IN_HEIGHT   16384

Definition at line 117 of file isppreview.c.

#define PREV_MAX_OUT_WIDTH_REV_1   1280

Definition at line 121 of file isppreview.c.

#define PREV_MAX_OUT_WIDTH_REV_15   4096

Definition at line 123 of file isppreview.c.

#define PREV_MAX_OUT_WIDTH_REV_2   3300

Definition at line 122 of file isppreview.c.

#define PREV_MIN_IN_HEIGHT   8

Definition at line 116 of file isppreview.c.

#define PREV_MIN_IN_WIDTH   64

Definition at line 115 of file isppreview.c.

#define PREV_MIN_OUT_HEIGHT   0

Definition at line 120 of file isppreview.c.

#define PREV_MIN_OUT_WIDTH   0

Definition at line 119 of file isppreview.c.

#define PREV_PRINT_REGISTER (   isp,
  name 
)
Value:
dev_dbg(isp->dev, "###PRV " #name "=0x%08x\n", \
isp_reg_readl(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_##name))

Definition at line 1254 of file isppreview.c.

Function Documentation

int omap3isp_preview_busy ( struct isp_prev_device prev)

Definition at line 1226 of file isppreview.c.

void omap3isp_preview_cleanup ( struct isp_device isp)

Definition at line 2340 of file isppreview.c.

int omap3isp_preview_init ( struct isp_device isp)

Definition at line 2329 of file isppreview.c.

void omap3isp_preview_isr ( struct isp_prev_device prev)

Definition at line 1531 of file isppreview.c.

void omap3isp_preview_isr_frame_sync ( struct isp_prev_device prev)

Definition at line 1468 of file isppreview.c.

int omap3isp_preview_register_entities ( struct isp_prev_device prev,
struct v4l2_device vdev 
)

Definition at line 2209 of file isppreview.c.

void omap3isp_preview_restore_context ( struct isp_device isp)

Definition at line 1237 of file isppreview.c.

void omap3isp_preview_unregister_entities ( struct isp_prev_device prev)

Definition at line 2202 of file isppreview.c.