FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mmiutils.h File Reference
#include "config.h"
#include "libavutil/mips/asmdefs.h"

Go to the source code of this file.

Macros

#define TRANSPOSE_4H(m1, m2, m3, m4, t1, t2, t3, t4, t5, r1, zero, shift)
 
#define PSRAH_4_MMI(fp1, fp2, fp3, fp4, shift)
 
#define PSRAH_8_MMI(fp1, fp2, fp3, fp4, fp5, fp6, fp7, fp8, shift)
 

Macro Definition Documentation

#define TRANSPOSE_4H (   m1,
  m2,
  m3,
  m4,
  t1,
  t2,
  t3,
  t4,
  t5,
  r1,
  zero,
  shift 
)
Value:
"li "#r1", 0x93 \n\t" \
"xor "#zero","#zero","#zero" \n\t" \
"mtc1 "#r1", "#shift" \n\t" \
"punpcklhw "#t1", "#m1", "#zero" \n\t" \
"punpcklhw "#t5", "#m2", "#zero" \n\t" \
"pshufh "#t5", "#t5", "#shift" \n\t" \
"or "#t1", "#t1", "#t5" \n\t" \
"punpckhhw "#t2", "#m1", "#zero" \n\t" \
"punpckhhw "#t5", "#m2", "#zero" \n\t" \
"pshufh "#t5", "#t5", "#shift" \n\t" \
"or "#t2", "#t2", "#t5" \n\t" \
"punpcklhw "#t3", "#m3", "#zero" \n\t" \
"punpcklhw "#t5", "#m4", "#zero" \n\t" \
"pshufh "#t5", "#t5", "#shift" \n\t" \
"or "#t3", "#t3", "#t5" \n\t" \
"punpckhhw "#t4", "#m3", "#zero" \n\t" \
"punpckhhw "#t5", "#m4", "#zero" \n\t" \
"pshufh "#t5", "#t5", "#shift" \n\t" \
"or "#t4", "#t4", "#t5" \n\t" \
"punpcklwd "#m1", "#t1", "#t3" \n\t" \
"punpckhwd "#m2", "#t1", "#t3" \n\t" \
"punpcklwd "#m3", "#t2", "#t4" \n\t" \
"punpckhwd "#m4", "#t2", "#t4" \n\t"
static int shift(int a, int b)
Definition: sonic.c:82
#define t1
Definition: regdef.h:29
#define zero
Definition: regdef.h:64
#define t3
Definition: regdef.h:31
#define t5
Definition: regdef.h:33
#define t4
Definition: regdef.h:32
#define t2
Definition: regdef.h:30

Definition at line 204 of file mmiutils.h.

#define PSRAH_4_MMI (   fp1,
  fp2,
  fp3,
  fp4,
  shift 
)
Value:
"psrah "#fp1", "#fp1", "#shift" \n\t" \
"psrah "#fp2", "#fp2", "#shift" \n\t" \
"psrah "#fp3", "#fp3", "#shift" \n\t" \
"psrah "#fp4", "#fp4", "#shift" \n\t"
static int shift(int a, int b)
Definition: sonic.c:82

Definition at line 230 of file mmiutils.h.

#define PSRAH_8_MMI (   fp1,
  fp2,
  fp3,
  fp4,
  fp5,
  fp6,
  fp7,
  fp8,
  shift 
)
Value:
PSRAH_4_MMI(fp1, fp2, fp3, fp4, shift) \
PSRAH_4_MMI(fp5, fp6, fp7, fp8, shift)
static int shift(int a, int b)
Definition: sonic.c:82
#define PSRAH_4_MMI(fp1, fp2, fp3, fp4, shift)
Definition: mmiutils.h:230

Definition at line 236 of file mmiutils.h.