FFmpeg
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)
 
static void add_gradient_pred_c (uint8_t *src, const ptrdiff_t stride, const ptrdiff_t width)
 
void ff_llviddsp_init (LLVidDSPContext *c)
 

Macro Definition Documentation

◆ pb_7f

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

Definition at line 25 of file lossless_videodsp.c.

◆ pb_80

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

Definition at line 26 of file lossless_videodsp.c.

Function Documentation

◆ add_bytes_c()

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().

◆ add_median_pred_c()

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().

◆ add_left_pred_c()

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().

◆ add_left_pred_int16_c()

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().

◆ add_gradient_pred_c()

static void add_gradient_pred_c ( uint8_t src,
const ptrdiff_t  stride,
const ptrdiff_t  width 
)
static

Definition at line 101 of file lossless_videodsp.c.

Referenced by ff_llviddsp_init().

◆ ff_llviddsp_init()

void ff_llviddsp_init ( LLVidDSPContext c)