FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
qpel.c File Reference
#include "libavutil/common.h"

Go to the source code of this file.

Macros

#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 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)
 

Macro Definition Documentation

#define PIXOP2 (   OPNAME,
  OP 
)

Definition at line 26 of file qpel.c.

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

Definition at line 1226 of file qpel.c.

#define op_put (   a,
  b 
)    a = b

Definition at line 1228 of file qpel.c.

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

Definition at line 325 of file qpel.c.

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

Definition at line 326 of file qpel.c.

#define H264_CHROMA_MC (   OPNAME,
  OP 
)

Definition at line 362 of file qpel.c.

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

Definition at line 1226 of file qpel.c.

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

Definition at line 1228 of file qpel.c.

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

Definition at line 453 of file qpel.c.

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

Definition at line 1226 of file qpel.c.

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

Definition at line 832 of file qpel.c.

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

Definition at line 1228 of file qpel.c.

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

Definition at line 834 of file qpel.c.

#define H264_LOWPASS (   OPNAME,
  OP,
  OP2 
)

Definition at line 845 of file qpel.c.

#define H264_MC (   OPNAME,
  SIZE 
)

Definition at line 1089 of file qpel.c.

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

Definition at line 1226 of file qpel.c.

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

Definition at line 1228 of file qpel.c.

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

Definition at line 1229 of file qpel.c.

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

Definition at line 1230 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 329 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
static void put_mspel8_mc00_sh4 ( uint8_t dst,
uint8_t src,
int  stride 
)
static

Definition at line 1306 of file qpel.c.

Referenced by ff_dsputil_init_align().

static void put_mspel8_mc10_sh4 ( uint8_t dst,
uint8_t src,
int  stride 
)
static

Definition at line 1310 of file qpel.c.

Referenced by ff_dsputil_init_align().

static void put_mspel8_mc20_sh4 ( uint8_t dst,
uint8_t src,
int  stride 
)
static

Definition at line 1316 of file qpel.c.

Referenced by ff_dsputil_init_align().

static void put_mspel8_mc30_sh4 ( uint8_t dst,
uint8_t src,
int  stride 
)
static

Definition at line 1320 of file qpel.c.

Referenced by ff_dsputil_init_align().

static void put_mspel8_mc02_sh4 ( uint8_t dst,
uint8_t src,
int  stride 
)
static

Definition at line 1326 of file qpel.c.

Referenced by ff_dsputil_init_align().

static void put_mspel8_mc12_sh4 ( uint8_t dst,
uint8_t src,
int  stride 
)
static

Definition at line 1330 of file qpel.c.

Referenced by ff_dsputil_init_align().

static void put_mspel8_mc32_sh4 ( uint8_t dst,
uint8_t src,
int  stride 
)
static

Definition at line 1339 of file qpel.c.

Referenced by ff_dsputil_init_align().

static void put_mspel8_mc22_sh4 ( uint8_t dst,
uint8_t src,
int  stride 
)
static

Definition at line 1348 of file qpel.c.

Referenced by ff_dsputil_init_align().