FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rnd_avg.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define BYTE_VEC32(c)   ((c)*0x01010101UL)
 
#define BYTE_VEC64(c)   ((c)*0x0001000100010001UL)
 

Functions

static uint32_t rnd_avg32 (uint32_t a, uint32_t b)
 
static uint32_t no_rnd_avg32 (uint32_t a, uint32_t b)
 
static uint64_t rnd_avg64 (uint64_t a, uint64_t b)
 
static uint64_t no_rnd_avg64 (uint64_t a, uint64_t b)
 

Macro Definition Documentation

#define BYTE_VEC32 (   c)    ((c)*0x01010101UL)

Definition at line 27 of file rnd_avg.h.

Referenced by no_rnd_avg32(), and rnd_avg32().

#define BYTE_VEC64 (   c)    ((c)*0x0001000100010001UL)

Definition at line 28 of file rnd_avg.h.

Referenced by no_rnd_avg64(), and rnd_avg64().

Function Documentation

static uint32_t rnd_avg32 ( uint32_t  a,
uint32_t  b 
)
inlinestatic

Definition at line 30 of file rnd_avg.h.

static uint32_t no_rnd_avg32 ( uint32_t  a,
uint32_t  b 
)
inlinestatic

Definition at line 35 of file rnd_avg.h.

Referenced by put_no_rnd_pixels_l2().

static uint64_t rnd_avg64 ( uint64_t  a,
uint64_t  b 
)
inlinestatic

Definition at line 40 of file rnd_avg.h.

static uint64_t no_rnd_avg64 ( uint64_t  a,
uint64_t  b 
)
inlinestatic

Definition at line 45 of file rnd_avg.h.