FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
asm.h File Reference
#include <inttypes.h>
#include "libavutil/common.h"

Go to the source code of this file.

Macros

#define likely(x)   (x)
 
#define unlikely(x)   (x)
 
#define AMASK_BWX   (1 << 0)
 
#define AMASK_FIX   (1 << 1)
 
#define AMASK_CIX   (1 << 2)
 
#define AMASK_MVI   (1 << 8)
 
#define sextw(x)   ((int16_t) (x))
 

Functions

static uint64_t BYTE_VEC (uint64_t x)
 
static uint64_t WORD_VEC (uint64_t x)
 

Macro Definition Documentation

#define likely (   x)    (x)

Definition at line 33 of file asm.h.

#define unlikely (   x)    (x)

Definition at line 34 of file asm.h.

#define AMASK_BWX   (1 << 0)

Definition at line 37 of file asm.h.

#define AMASK_FIX   (1 << 1)

Definition at line 38 of file asm.h.

#define AMASK_CIX   (1 << 2)

Definition at line 39 of file asm.h.

#define AMASK_MVI   (1 << 8)

Definition at line 40 of file asm.h.

Referenced by ff_dsputil_init_alpha().

#define sextw (   x)    ((int16_t) (x))

Definition at line 56 of file asm.h.

Referenced by idct_row().

Function Documentation

static uint64_t BYTE_VEC ( uint64_t  x)
inlinestatic

Definition at line 42 of file asm.h.

Referenced by avg2(), avg2_no_rnd(), and avg4().

static uint64_t WORD_VEC ( uint64_t  x)
inlinestatic

Definition at line 49 of file asm.h.

Referenced by dct_unquantize_h263_axp().