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

Go to the source code of this file.

Macros

#define MIN_RESIZE_VALUE   64
 
#define MID_RESIZE_VALUE   512
 
#define MAX_RESIZE_VALUE   1024
 
#define MIN_IN_WIDTH   32
 
#define MIN_IN_HEIGHT   32
 
#define MAX_IN_WIDTH_MEMORY_MODE   4095
 
#define MAX_IN_WIDTH_ONTHEFLY_MODE_ES1   1280
 
#define MAX_IN_WIDTH_ONTHEFLY_MODE_ES2   4095
 
#define MAX_IN_HEIGHT   4095
 
#define MIN_OUT_WIDTH   16
 
#define MIN_OUT_HEIGHT   2
 
#define MAX_OUT_HEIGHT   4095
 
#define MAX_4TAP_OUT_WIDTH_ES1   1280
 
#define MAX_7TAP_OUT_WIDTH_ES1   640
 
#define MAX_4TAP_OUT_WIDTH_ES2   3312
 
#define MAX_7TAP_OUT_WIDTH_ES2   1650
 
#define MAX_4TAP_OUT_WIDTH_3630   4096
 
#define MAX_7TAP_OUT_WIDTH_3630   2048
 
#define RESIZE_DIVISOR   256
 
#define DEFAULT_PHASE   1
 
#define DUMMY   0
 
#define RSZ_PRINT_REGISTER(isp, name)
 

Functions

void omap3isp_resizer_max_rate (struct isp_res_device *res, unsigned int *max_rate)
 
int omap3isp_resizer_busy (struct isp_res_device *res)
 
void omap3isp_resizer_isr_frame_sync (struct isp_res_device *res)
 
void omap3isp_resizer_isr (struct isp_res_device *res)
 
void omap3isp_resizer_unregister_entities (struct isp_res_device *res)
 
int omap3isp_resizer_register_entities (struct isp_res_device *res, struct v4l2_device *vdev)
 
int omap3isp_resizer_init (struct isp_device *isp)
 
void omap3isp_resizer_cleanup (struct isp_device *isp)
 

Macro Definition Documentation

#define DEFAULT_PHASE   1

Definition at line 68 of file ispresizer.c.

#define DUMMY   0
#define MAX_4TAP_OUT_WIDTH_3630   4096

Definition at line 61 of file ispresizer.c.

#define MAX_4TAP_OUT_WIDTH_ES1   1280

Definition at line 57 of file ispresizer.c.

#define MAX_4TAP_OUT_WIDTH_ES2   3312

Definition at line 59 of file ispresizer.c.

#define MAX_7TAP_OUT_WIDTH_3630   2048

Definition at line 62 of file ispresizer.c.

#define MAX_7TAP_OUT_WIDTH_ES1   640

Definition at line 58 of file ispresizer.c.

#define MAX_7TAP_OUT_WIDTH_ES2   1650

Definition at line 60 of file ispresizer.c.

#define MAX_IN_HEIGHT   4095

Definition at line 47 of file ispresizer.c.

#define MAX_IN_WIDTH_MEMORY_MODE   4095

Definition at line 44 of file ispresizer.c.

#define MAX_IN_WIDTH_ONTHEFLY_MODE_ES1   1280

Definition at line 45 of file ispresizer.c.

#define MAX_IN_WIDTH_ONTHEFLY_MODE_ES2   4095

Definition at line 46 of file ispresizer.c.

#define MAX_OUT_HEIGHT   4095

Definition at line 51 of file ispresizer.c.

#define MAX_RESIZE_VALUE   1024

Definition at line 40 of file ispresizer.c.

#define MID_RESIZE_VALUE   512

Definition at line 39 of file ispresizer.c.

#define MIN_IN_HEIGHT   32

Definition at line 43 of file ispresizer.c.

#define MIN_IN_WIDTH   32

Definition at line 42 of file ispresizer.c.

#define MIN_OUT_HEIGHT   2

Definition at line 50 of file ispresizer.c.

#define MIN_OUT_WIDTH   16

Definition at line 49 of file ispresizer.c.

#define MIN_RESIZE_VALUE   64

Definition at line 38 of file ispresizer.c.

#define RESIZE_DIVISOR   256

Definition at line 67 of file ispresizer.c.

#define RSZ_PRINT_REGISTER (   isp,
  name 
)
Value:
dev_dbg(isp->dev, "###RSZ " #name "=0x%08x\n", \
isp_reg_readl(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_##name))

Definition at line 668 of file ispresizer.c.

Function Documentation

int omap3isp_resizer_busy ( struct isp_res_device res)

Definition at line 624 of file ispresizer.c.

void omap3isp_resizer_cleanup ( struct isp_device isp)

Definition at line 1771 of file ispresizer.c.

int omap3isp_resizer_init ( struct isp_device isp)

Definition at line 1762 of file ispresizer.c.

void omap3isp_resizer_isr ( struct isp_res_device res)

Definition at line 1075 of file ispresizer.c.

void omap3isp_resizer_isr_frame_sync ( struct isp_res_device res)

Definition at line 1014 of file ispresizer.c.

void omap3isp_resizer_max_rate ( struct isp_res_device res,
unsigned int max_rate 
)

Definition at line 514 of file ispresizer.c.

int omap3isp_resizer_register_entities ( struct isp_res_device res,
struct v4l2_device vdev 
)

Definition at line 1654 of file ispresizer.c.

void omap3isp_resizer_unregister_entities ( struct isp_res_device res)

Definition at line 1647 of file ispresizer.c.