Defines | Functions

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,
  b 
)    ((a+b+1)>>1)

Definition at line 323 of file qpel.c.

#define avg4 (   a,
  b,
  c,
  d 
)    ((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 901 of file qpel.c.

#define H264_MC (   OPNAME,
  SIZE 
)

Definition at line 1145 of file qpel.c.

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

Definition at line 1285 of file qpel.c.

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

Definition at line 1286 of file qpel.c.

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

Definition at line 1282 of file qpel.c.

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

Definition at line 1282 of file qpel.c.

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

Definition at line 1282 of file qpel.c.

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

Definition at line 1282 of file qpel.c.

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

Definition at line 887 of file qpel.c.

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

Definition at line 1284 of file qpel.c.

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

Definition at line 1284 of file qpel.c.

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

Definition at line 1284 of file qpel.c.

#define op_put (   a,
  b 
)    a = b

Definition at line 1284 of file qpel.c.

#define op_put_no_rnd (   a,
  b 
)    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.

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

Definition at line 1363 of file qpel.c.

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

Definition at line 1383 of file qpel.c.

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

Definition at line 1367 of file qpel.c.

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

Definition at line 1387 of file qpel.c.

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

Definition at line 1373 of file qpel.c.

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

Definition at line 1405 of file qpel.c.

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

Definition at line 1377 of file qpel.c.

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

Definition at line 1396 of file qpel.c.

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