Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
isppreview.h File Reference
#include <linux/omap3isp.h>
#include <linux/types.h>
#include <media/v4l2-ctrls.h>
#include "ispvideo.h"

Go to the source code of this file.

Data Structures

struct  prev_params
 
struct  isp_prev_device
 

Macros

#define ISPPRV_BRIGHT_STEP   0x1
 
#define ISPPRV_BRIGHT_DEF   0x0
 
#define ISPPRV_BRIGHT_LOW   0x0
 
#define ISPPRV_BRIGHT_HIGH   0xFF
 
#define ISPPRV_BRIGHT_UNITS   0x1
 
#define ISPPRV_CONTRAST_STEP   0x1
 
#define ISPPRV_CONTRAST_DEF   0x10
 
#define ISPPRV_CONTRAST_LOW   0x0
 
#define ISPPRV_CONTRAST_HIGH   0xFF
 
#define ISPPRV_CONTRAST_UNITS   0x1
 
#define OMAP3ISP_PREV_CONTRAST   (1 << 17)
 
#define OMAP3ISP_PREV_BRIGHTNESS   (1 << 18)
 
#define OMAP3ISP_PREV_FEATURES_END   (1 << 19)
 
#define PREVIEW_OUTPUT_RESIZER   (1 << 1)
 
#define PREVIEW_OUTPUT_MEMORY   (1 << 2)
 
#define PREV_PAD_SINK   0
 
#define PREV_PAD_SOURCE   1
 
#define PREV_PADS_NUM   2
 

Enumerations

enum  preview_input_entity { PREVIEW_INPUT_NONE, PREVIEW_INPUT_CCDC, PREVIEW_INPUT_MEMORY }
 
enum  preview_ycpos_mode { YCPOS_YCrYCb = 0, YCPOS_YCbYCr = 1, YCPOS_CbYCrY = 2, YCPOS_CrYCbY = 3 }
 

Functions

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

Macro Definition Documentation

#define ISPPRV_BRIGHT_DEF   0x0

Definition at line 37 of file isppreview.h.

#define ISPPRV_BRIGHT_HIGH   0xFF

Definition at line 39 of file isppreview.h.

#define ISPPRV_BRIGHT_LOW   0x0

Definition at line 38 of file isppreview.h.

#define ISPPRV_BRIGHT_STEP   0x1

Definition at line 36 of file isppreview.h.

#define ISPPRV_BRIGHT_UNITS   0x1

Definition at line 40 of file isppreview.h.

#define ISPPRV_CONTRAST_DEF   0x10

Definition at line 43 of file isppreview.h.

#define ISPPRV_CONTRAST_HIGH   0xFF

Definition at line 45 of file isppreview.h.

#define ISPPRV_CONTRAST_LOW   0x0

Definition at line 44 of file isppreview.h.

#define ISPPRV_CONTRAST_STEP   0x1

Definition at line 42 of file isppreview.h.

#define ISPPRV_CONTRAST_UNITS   0x1

Definition at line 46 of file isppreview.h.

#define OMAP3ISP_PREV_BRIGHTNESS   (1 << 18)

Definition at line 50 of file isppreview.h.

#define OMAP3ISP_PREV_CONTRAST   (1 << 17)

Definition at line 49 of file isppreview.h.

#define OMAP3ISP_PREV_FEATURES_END   (1 << 19)

Definition at line 51 of file isppreview.h.

#define PREV_PAD_SINK   0

Definition at line 111 of file isppreview.h.

#define PREV_PAD_SOURCE   1

Definition at line 112 of file isppreview.h.

#define PREV_PADS_NUM   2

Definition at line 113 of file isppreview.h.

#define PREVIEW_OUTPUT_MEMORY   (1 << 2)

Definition at line 60 of file isppreview.h.

#define PREVIEW_OUTPUT_RESIZER   (1 << 1)

Definition at line 59 of file isppreview.h.

Enumeration Type Documentation

Enumerator:
PREVIEW_INPUT_NONE 
PREVIEW_INPUT_CCDC 
PREVIEW_INPUT_MEMORY 

Definition at line 53 of file isppreview.h.

Enumerator:
YCPOS_YCrYCb 
YCPOS_YCbYCr 
YCPOS_CbYCrY 
YCPOS_CrYCbY 

Definition at line 63 of file isppreview.h.

Function Documentation

int omap3isp_preview_busy ( struct isp_prev_device isp_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 prv,
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 prv)

Definition at line 2202 of file isppreview.c.