FFmpeg
Loading...
Searching...
No Matches
lossless_videoencdsp.c File Reference
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/intreadwrite.h"
#include "lossless_videoencdsp.h"
#include "mathops.h"

Go to the source code of this file.

Macros

#define READ   AV_RN32
 
#define WRITE   AV_WN32
 
#define pb_7f   (~(uint_native)0 / 255 * 0x7f)
 
#define pb_80   (~(uint_native)0 / 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, const uint8_t *src, ptrdiff_t stride, ptrdiff_t width, int height)
 
av_cold void ff_llvidencdsp_init (LLVidEncDSPContext *c)
 

Macro Definition Documentation

◆ READ

#define READ   AV_RN32

Definition at line 31 of file lossless_videoencdsp.c.

Referenced by diff_bytes_c().

◆ WRITE

#define WRITE   AV_WN32

Definition at line 32 of file lossless_videoencdsp.c.

Referenced by diff_bytes_c().

◆ pb_7f

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

Definition at line 35 of file lossless_videoencdsp.c.

◆ pb_80

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

Definition at line 36 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 38 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 65 of file lossless_videoencdsp.c.

Referenced by ff_llvidencdsp_init().

◆ sub_left_predict_c()

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

Definition at line 86 of file lossless_videoencdsp.c.

Referenced by ff_llvidencdsp_init().

◆ ff_llvidencdsp_init()