FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mathops.h File Reference
#include "config.h"

Go to the source code of this file.

Macros

#define MULH(X, Y)
 
#define MUL16(a, b)
 

Macro Definition Documentation

#define MULH (   X,
  Y 
)
Value:
({ int xxo; \
__asm__ ( \
"a1 = %2.L * %1.L (FU);\n\t" \
"a1 = a1 >> 16;\n\t" \
"a1 += %2.H * %1.L (IS,M);\n\t" \
"a0 = %1.H * %2.H, a1+= %1.H * %2.L (IS,M);\n\t"\
"a1 = a1 >>> 16;\n\t" \
"%0 = (a0 += a1);\n\t" \
: "=d" (xxo) : "d" (X), "d" (Y) : "A0","A1"); xxo; })

Definition at line 27 of file mathops.h.

Referenced by calc_transform_coeffs_cpl(), and pRNG().

#define MUL16 (   a,
  b 
)
Value:
({ int xxo; \
__asm__ ( \
"%0 = %1.l*%2.l (is);\n\t" \
: "=W" (xxo) : "d" (a), "d" (b) : "A1"); \
xxo; })

Definition at line 38 of file mathops.h.

Referenced by apply_window_int16_c(), ff_dot_product(), pRNG(), and synth_frame().