FFmpeg
Macros | Functions
lossless_videoencdsp.c File Reference
#include "config.h"
#include "libavutil/attributes.h"
#include "lossless_videoencdsp.h"
#include "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 diff_bytes_c (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, intptr_t w)
 
static void sub_median_pred_c (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, intptr_t w, int *left, int *left_top)
 
static void sub_left_predict_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride, ptrdiff_t width, int height)
 
av_cold void ff_llvidencdsp_init (LLVidEncDSPContext *c)
 

Macro Definition Documentation

◆ pb_7f

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

Definition at line 25 of file lossless_videoencdsp.c.

◆ pb_80

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

Definition at line 26 of file lossless_videoencdsp.c.

Function Documentation

◆ diff_bytes_c()

static void diff_bytes_c ( uint8_t dst,
const uint8_t src1,
const uint8_t src2,
intptr_t  w 
)
static

Definition at line 28 of file lossless_videoencdsp.c.

Referenced by ff_llvidencdsp_init().

◆ sub_median_pred_c()

static void sub_median_pred_c ( uint8_t dst,
const uint8_t src1,
const uint8_t src2,
intptr_t  w,
int left,
int left_top 
)
static

Definition at line 56 of file lossless_videoencdsp.c.

Referenced by ff_llvidencdsp_init().

◆ sub_left_predict_c()

static void sub_left_predict_c ( uint8_t dst,
uint8_t src,
ptrdiff_t  stride,
ptrdiff_t  width,
int  height 
)
static

Definition at line 77 of file lossless_videoencdsp.c.

Referenced by ff_llvidencdsp_init().

◆ ff_llvidencdsp_init()

av_cold void ff_llvidencdsp_init ( LLVidEncDSPContext c)