FFmpeg
Macros | Functions
vc1dsp_msa.c File Reference
#include "vc1dsp_mips.h"
#include "constants.h"
#include "libavutil/mips/generic_macros_msa.h"

Go to the source code of this file.

Macros

#define PUT_VC1_MSPEL_MC_MSA(hmode, vmode)
 

Functions

void ff_vc1_inv_trans_8x8_msa (int16_t block[64])
 
void ff_vc1_inv_trans_4x8_msa (uint8_t *dest, ptrdiff_t linesize, int16_t *block)
 
void ff_vc1_inv_trans_8x4_msa (uint8_t *dest, ptrdiff_t linesize, int16_t *block)
 
static void put_vc1_mspel_mc_h_v_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride, int hmode, int vmode, int rnd)
 
 PUT_VC1_MSPEL_MC_MSA (1, 1)
 
 PUT_VC1_MSPEL_MC_MSA (1, 2)
 
 PUT_VC1_MSPEL_MC_MSA (1, 3)
 
 PUT_VC1_MSPEL_MC_MSA (2, 1)
 
 PUT_VC1_MSPEL_MC_MSA (2, 2)
 
 PUT_VC1_MSPEL_MC_MSA (2, 3)
 
 PUT_VC1_MSPEL_MC_MSA (3, 1)
 
 PUT_VC1_MSPEL_MC_MSA (3, 2)
 
 PUT_VC1_MSPEL_MC_MSA (3, 3)
 

Macro Definition Documentation

◆ PUT_VC1_MSPEL_MC_MSA

#define PUT_VC1_MSPEL_MC_MSA (   hmode,
  vmode 
)
Value:
void ff_put_vc1_mspel_mc ## hmode ## vmode ## _msa(uint8_t *dst, \
const uint8_t *src, \
ptrdiff_t stride, int rnd) \
{ \
put_vc1_mspel_mc_h_v_msa(dst, src, stride, hmode, vmode, rnd); \
} \
void ff_put_vc1_mspel_mc ## hmode ## vmode ## _16_msa(uint8_t *dst, \
const uint8_t *src, \
ptrdiff_t stride, int rnd) \
{ \
put_vc1_mspel_mc_h_v_msa(dst, src, stride, hmode, vmode, rnd); \
put_vc1_mspel_mc_h_v_msa(dst + 8, src + 8, stride, hmode, vmode, rnd); \
dst += 8 * stride, src += 8 * stride; \
put_vc1_mspel_mc_h_v_msa(dst, src, stride, hmode, vmode, rnd); \
put_vc1_mspel_mc_h_v_msa(dst + 8, src + 8, stride, hmode, vmode, rnd); \
}

Definition at line 433 of file vc1dsp_msa.c.

Function Documentation

◆ ff_vc1_inv_trans_8x8_msa()

void ff_vc1_inv_trans_8x8_msa ( int16_t  block[64])

Definition at line 28 of file vc1dsp_msa.c.

Referenced by ff_vc1dsp_init_mips().

◆ ff_vc1_inv_trans_4x8_msa()

void ff_vc1_inv_trans_4x8_msa ( uint8_t *  dest,
ptrdiff_t  linesize,
int16_t *  block 
)

Definition at line 140 of file vc1dsp_msa.c.

Referenced by ff_vc1dsp_init_mips().

◆ ff_vc1_inv_trans_8x4_msa()

void ff_vc1_inv_trans_8x4_msa ( uint8_t *  dest,
ptrdiff_t  linesize,
int16_t *  block 
)

Definition at line 231 of file vc1dsp_msa.c.

Referenced by ff_vc1dsp_init_mips().

◆ put_vc1_mspel_mc_h_v_msa()

static void put_vc1_mspel_mc_h_v_msa ( uint8_t *  dst,
const uint8_t *  src,
ptrdiff_t  stride,
int  hmode,
int  vmode,
int  rnd 
)
static

Definition at line 313 of file vc1dsp_msa.c.

◆ PUT_VC1_MSPEL_MC_MSA() [1/9]

PUT_VC1_MSPEL_MC_MSA ( ,
 
)

◆ PUT_VC1_MSPEL_MC_MSA() [2/9]

PUT_VC1_MSPEL_MC_MSA ( ,
 
)

◆ PUT_VC1_MSPEL_MC_MSA() [3/9]

PUT_VC1_MSPEL_MC_MSA ( ,
 
)

◆ PUT_VC1_MSPEL_MC_MSA() [4/9]

PUT_VC1_MSPEL_MC_MSA ( ,
 
)

◆ PUT_VC1_MSPEL_MC_MSA() [5/9]

PUT_VC1_MSPEL_MC_MSA ( ,
 
)

◆ PUT_VC1_MSPEL_MC_MSA() [6/9]

PUT_VC1_MSPEL_MC_MSA ( ,
 
)

◆ PUT_VC1_MSPEL_MC_MSA() [7/9]

PUT_VC1_MSPEL_MC_MSA ( ,
 
)

◆ PUT_VC1_MSPEL_MC_MSA() [8/9]

PUT_VC1_MSPEL_MC_MSA ( ,
 
)

◆ PUT_VC1_MSPEL_MC_MSA() [9/9]

PUT_VC1_MSPEL_MC_MSA ( ,
 
)
rnd
#define rnd()
Definition: checkasm.h:173
dst
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Definition: dsp.h:83
stride
#define stride
Definition: h264pred_template.c:537
src
#define src
Definition: vp8dsp.c:248