libavcodec/sh4/qpel.c File Reference

Go to the source code of this file.

Defines

#define PIXOP2(OPNAME, OP)
#define op_avg(a, b)   a = rnd_avg32(a,b)
#define op_put(a, b)   a = b
#define avg2(a, b)   ((a+b+1)>>1)
#define avg4(a, b, c, d)   ((a+b+c+d+2)>>2)
#define H264_CHROMA_MC(OPNAME, OP)
#define op_avg(a, b)   a = (((a)+(((b) + 32)>>6)+1)>>1)
#define op_put(a, b)   a = (((b) + 32)>>6)
#define QPEL_MC(r, OPNAME, RND, OP)
#define op_avg(a, b)   a = (((a)+cm[((b) + 16)>>5]+1)>>1)
#define op_avg_no_rnd(a, b)   a = (((a)+cm[((b) + 15)>>5])>>1)
#define op_put(a, b)   a = cm[((b) + 16)>>5]
#define op_put_no_rnd(a, b)   a = cm[((b) + 15)>>5]
#define H264_LOWPASS(OPNAME, OP, OP2)
#define H264_MC(OPNAME, SIZE)
#define op_avg(a, b)   a = (((a)+cm[((b) + 16)>>5]+1)>>1)
#define op_put(a, b)   a = cm[((b) + 16)>>5]
#define op2_avg(a, b)   a = (((a)+cm[((b) + 512)>>10]+1)>>1)
#define op2_put(a, b)   a = cm[((b) + 512)>>10]

Functions

static void gmc1_c (uint8_t *dst, uint8_t *src, int stride, int h, int x16, int y16, int rounder)
static void gmc_c (uint8_t *dst, uint8_t *src, int stride, int h, int ox, int oy, int dxx, int dxy, int dyx, int dyy, int shift, int r, int width, int height)
static void wmv2_mspel8_h_lowpass (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
static void wmv2_mspel8_v_lowpass (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w)
static void put_mspel8_mc00_sh4 (uint8_t *dst, uint8_t *src, int stride)
static void put_mspel8_mc10_sh4 (uint8_t *dst, uint8_t *src, int stride)
static void put_mspel8_mc20_sh4 (uint8_t *dst, uint8_t *src, int stride)
static void put_mspel8_mc30_sh4 (uint8_t *dst, uint8_t *src, int stride)
static void put_mspel8_mc02_sh4 (uint8_t *dst, uint8_t *src, int stride)
static void put_mspel8_mc12_sh4 (uint8_t *dst, uint8_t *src, int stride)
static void put_mspel8_mc32_sh4 (uint8_t *dst, uint8_t *src, int stride)
static void put_mspel8_mc22_sh4 (uint8_t *dst, uint8_t *src, int stride)


Define Documentation

#define avg2 ( a,
 )     ((a+b+1)>>1)

Definition at line 323 of file qpel.c.

#define avg4 ( a,
b,
c,
 )     ((a+b+c+d+2)>>2)

Definition at line 324 of file qpel.c.

#define H264_CHROMA_MC ( OPNAME,
OP   ) 

Definition at line 417 of file qpel.c.

#define H264_LOWPASS ( OPNAME,
OP,
OP2   ) 

Definition at line 900 of file qpel.c.

#define H264_MC ( OPNAME,
SIZE   ) 

Definition at line 1144 of file qpel.c.

#define op2_avg ( a,
 )     a = (((a)+cm[((b) + 512)>>10]+1)>>1)

Definition at line 1284 of file qpel.c.

#define op2_put ( a,
 )     a = cm[((b) + 512)>>10]

Definition at line 1285 of file qpel.c.

#define op_avg ( a,
 )     a = (((a)+cm[((b) + 16)>>5]+1)>>1)

Definition at line 1281 of file qpel.c.

#define op_avg ( a,
 )     a = (((a)+cm[((b) + 16)>>5]+1)>>1)

Definition at line 1281 of file qpel.c.

#define op_avg ( a,
 )     a = (((a)+(((b) + 32)>>6)+1)>>1)

Definition at line 1281 of file qpel.c.

#define op_avg ( a,
 )     a = rnd_avg32(a,b)

Definition at line 1281 of file qpel.c.

#define op_avg_no_rnd ( a,
 )     a = (((a)+cm[((b) + 15)>>5])>>1)

Definition at line 887 of file qpel.c.

#define op_put ( a,
 )     a = cm[((b) + 16)>>5]

Definition at line 1283 of file qpel.c.

#define op_put ( a,
 )     a = cm[((b) + 16)>>5]

Definition at line 1283 of file qpel.c.

#define op_put ( a,
 )     a = (((b) + 32)>>6)

Definition at line 1283 of file qpel.c.

#define op_put ( a,
 )     a = b

Definition at line 1283 of file qpel.c.

#define op_put_no_rnd ( a,
 )     a = cm[((b) + 15)>>5]

Definition at line 889 of file qpel.c.

#define PIXOP2 ( OPNAME,
OP   ) 

Definition at line 24 of file qpel.c.

#define QPEL_MC ( r,
OPNAME,
RND,
OP   ) 

Definition at line 508 of file qpel.c.


Function Documentation

static void gmc1_c ( uint8_t *  dst,
uint8_t *  src,
int  stride,
int  h,
int  x16,
int  y16,
int  rounder 
) [static]

Definition at line 327 of file qpel.c.

static void gmc_c ( uint8_t *  dst,
uint8_t *  src,
int  stride,
int  h,
int  ox,
int  oy,
int  dxx,
int  dxy,
int  dyx,
int  dyy,
int  shift,
int  r,
int  width,
int  height 
) [static]

Definition at line 360 of file qpel.c.

Referenced by dsputil_init_align().

static void put_mspel8_mc00_sh4 ( uint8_t *  dst,
uint8_t *  src,
int  stride 
) [static]

Definition at line 1361 of file qpel.c.

Referenced by dsputil_init_align().

static void put_mspel8_mc02_sh4 ( uint8_t *  dst,
uint8_t *  src,
int  stride 
) [static]

Definition at line 1381 of file qpel.c.

Referenced by dsputil_init_align().

static void put_mspel8_mc10_sh4 ( uint8_t *  dst,
uint8_t *  src,
int  stride 
) [static]

Definition at line 1365 of file qpel.c.

Referenced by dsputil_init_align().

static void put_mspel8_mc12_sh4 ( uint8_t *  dst,
uint8_t *  src,
int  stride 
) [static]

Definition at line 1385 of file qpel.c.

Referenced by dsputil_init_align().

static void put_mspel8_mc20_sh4 ( uint8_t *  dst,
uint8_t *  src,
int  stride 
) [static]

Definition at line 1371 of file qpel.c.

Referenced by dsputil_init_align().

static void put_mspel8_mc22_sh4 ( uint8_t *  dst,
uint8_t *  src,
int  stride 
) [static]

Definition at line 1403 of file qpel.c.

Referenced by dsputil_init_align().

static void put_mspel8_mc30_sh4 ( uint8_t *  dst,
uint8_t *  src,
int  stride 
) [static]

Definition at line 1375 of file qpel.c.

Referenced by dsputil_init_align().

static void put_mspel8_mc32_sh4 ( uint8_t *  dst,
uint8_t *  src,
int  stride 
) [static]

Definition at line 1394 of file qpel.c.

Referenced by dsputil_init_align().

static void wmv2_mspel8_h_lowpass ( uint8_t *  dst,
uint8_t *  src,
int  dstStride,
int  srcStride,
int  h 
) [static]

Definition at line 1301 of file qpel.c.

static void wmv2_mspel8_v_lowpass ( uint8_t *  dst,
uint8_t *  src,
int  dstStride,
int  srcStride,
int  w 
) [static]

Definition at line 1331 of file qpel.c.


Generated on Fri Oct 26 02:39:46 2012 for FFmpeg by  doxygen 1.5.8