FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
lossless_videodsp.c File Reference
#include "avcodec.h"
#include "lossless_videodsp.h"
#include "libavcodec/mathops.h"

Go to the source code of this file.

Macros

#define pb_7f   (~0UL / 255 * 0x7f)
 
#define pb_80   (~0UL / 255 * 0x80)
 

Functions

static void add_bytes_c (uint8_t *dst, uint8_t *src, ptrdiff_t w)
 
static void add_median_pred_c (uint8_t *dst, const uint8_t *src1, const uint8_t *diff, ptrdiff_t w, int *left, int *left_top)
 
static int add_left_pred_c (uint8_t *dst, const uint8_t *src, ptrdiff_t w, int acc)
 
static int add_left_pred_int16_c (uint16_t *dst, const uint16_t *src, unsigned mask, ptrdiff_t w, unsigned acc)
 
void ff_llviddsp_init (LLVidDSPContext *c)
 

Macro Definition Documentation

#define pb_7f   (~0UL / 255 * 0x7f)

Definition at line 25 of file lossless_videodsp.c.

Referenced by add_bytes_c().

#define pb_80   (~0UL / 255 * 0x80)

Definition at line 26 of file lossless_videodsp.c.

Referenced by add_bytes_c().

Function Documentation

static void add_bytes_c ( uint8_t dst,
uint8_t src,
ptrdiff_t  w 
)
static

Definition at line 28 of file lossless_videodsp.c.

Referenced by ff_llviddsp_init().

static void add_median_pred_c ( uint8_t dst,
const uint8_t src1,
const uint8_t diff,
ptrdiff_t  w,
int left,
int left_top 
)
static

Definition at line 41 of file lossless_videodsp.c.

Referenced by ff_llviddsp_init().

static int add_left_pred_c ( uint8_t dst,
const uint8_t src,
ptrdiff_t  w,
int  acc 
)
static

Definition at line 61 of file lossless_videodsp.c.

Referenced by ff_llviddsp_init().

static int add_left_pred_int16_c ( uint16_t *  dst,
const uint16_t *  src,
unsigned  mask,
ptrdiff_t  w,
unsigned  acc 
)
static

Definition at line 82 of file lossless_videodsp.c.

Referenced by ff_llviddsp_init().

void ff_llviddsp_init ( LLVidDSPContext c)