libavcodec/mathops.h File Reference
#include "libavutil/common.h"
#include "config.h"

Go to the source code of this file.

Defines

#define PACK_4U8(a, b, c, d)   (((d) << 24) | ((c) << 16) | ((b) << 8) | (a))

Functions

static av_always_inline int MULH (int a, int b)
static av_always_inline unsigned UMULH (unsigned a, unsigned b)
static av_const int sign_extend (int val, unsigned bits)
static av_const unsigned zero_extend (unsigned val, unsigned bits)

Define Documentation

#define PACK_4U8 (   a,
  b,
  c,
 
)    (((d) << 24) | ((c) << 16) | ((b) << 8) | (a))

Definition at line 164 of file mathops.h.

Referenced by pred4x4_vertical_vp8_c().


Function Documentation

static av_always_inline int MULH ( int  a,
int  b 
) [static]

Definition at line 53 of file mathops.h.

static av_always_inline unsigned UMULH ( unsigned  a,
unsigned  b 
) [static]

Definition at line 59 of file mathops.h.

Referenced by pRNG().

static av_const unsigned zero_extend ( unsigned  val,
unsigned  bits 
) [inline, static]

Definition at line 126 of file mathops.h.