Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
mdp_ppp.c File Reference
#include <linux/fb.h>
#include <linux/file.h>
#include <linux/delay.h>
#include <linux/msm_mdp.h>
#include <linux/platform_data/video-msm_fb.h>
#include "mdp_hw.h"
#include "mdp_scale_tables.h"

Go to the source code of this file.

Data Structures

struct  mdp_regs
 

Macros

#define DLOG(x...)   do {} while (0)
 
#define MDP_DOWNSCALE_BLUR   (MDP_DOWNSCALE_MAX + 1)
 
#define GET_BIT_RANGE(value, high, low)   (((1 << (high - low + 1)) - 1) & (value >> low))
 
#define ONE_HALF   (1LL << 32)
 
#define ONE   (1LL << 33)
 
#define TWO   (2LL << 33)
 
#define THREE   (3LL << 33)
 
#define FRAC_MASK   (ONE - 1)
 
#define INT_MASK   (~FRAC_MASK)
 
#define IMG_LEN(rect_h, w, rect_w, bpp)   (((rect_h) * w) * bpp)
 
#define Y_TO_CRCB_RATIO(format)
 

Enumerations

enum  { IMG_LEFT, IMG_RIGHT, IMG_TOP, IMG_BOTTOM }
 

Functions

int mdp_ppp_blit (const struct mdp_info *mdp, struct mdp_blit_req *req, struct file *src_file, unsigned long src_start, unsigned long src_len, struct file *dst_file, unsigned long dst_start, unsigned long dst_len)
 

Macro Definition Documentation

#define DLOG (   x...)    do {} while (0)

Definition at line 24 of file mdp_ppp.c.

#define FRAC_MASK   (ONE - 1)

Definition at line 210 of file mdp_ppp.c.

#define GET_BIT_RANGE (   value,
  high,
  low 
)    (((1 << (high - low + 1)) - 1) & (value >> low))

Definition at line 143 of file mdp_ppp.c.

#define IMG_LEN (   rect_h,
  w,
  rect_w,
  bpp 
)    (((rect_h) * w) * bpp)

Definition at line 520 of file mdp_ppp.c.

#define INT_MASK   (~FRAC_MASK)

Definition at line 211 of file mdp_ppp.c.

#define MDP_DOWNSCALE_BLUR   (MDP_DOWNSCALE_MAX + 1)

Definition at line 26 of file mdp_ppp.c.

#define ONE   (1LL << 33)

Definition at line 207 of file mdp_ppp.c.

#define ONE_HALF   (1LL << 32)

Definition at line 206 of file mdp_ppp.c.

#define THREE   (3LL << 33)

Definition at line 209 of file mdp_ppp.c.

#define TWO   (2LL << 33)

Definition at line 208 of file mdp_ppp.c.

#define Y_TO_CRCB_RATIO (   format)
Value:

Definition at line 522 of file mdp_ppp.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
IMG_LEFT 
IMG_RIGHT 
IMG_TOP 
IMG_BOTTOM 

Definition at line 296 of file mdp_ppp.c.

Function Documentation

int mdp_ppp_blit ( const struct mdp_info mdp,
struct mdp_blit_req req,
struct file src_file,
unsigned long  src_start,
unsigned long  src_len,
struct file dst_file,
unsigned long  dst_start,
unsigned long  dst_len 
)

Definition at line 646 of file mdp_ppp.c.