FFmpeg
Loading...
Searching...
No Matches
h2656_sao_template.c File Reference

Go to the source code of this file.

Macros

#define CMP(a, b)
 

Functions

static void FUNC sao_band_filter (uint8_t *_dst, const uint8_t *_src, ptrdiff_t stride_dst, ptrdiff_t stride_src, const int16_t *sao_offset_val, int sao_left_class, int width, int height)
 
static void FUNC sao_edge_filter (uint8_t *_dst, const uint8_t *_src, ptrdiff_t stride_dst, const int16_t *sao_offset_val, int eo, int width, int height)
 
static void FUNC sao_edge_restore_0 (uint8_t *_dst, const uint8_t *_src, ptrdiff_t stride_dst, ptrdiff_t stride_src, const SAOParams *sao, const int *borders, int _width, int _height, int c_idx, const uint8_t *vert_edge, const uint8_t *horiz_edge, const uint8_t *diag_edge)
 
static void FUNC sao_edge_restore_1 (uint8_t *_dst, const uint8_t *_src, ptrdiff_t stride_dst, ptrdiff_t stride_src, const SAOParams *sao, const int *borders, int _width, int _height, int c_idx, const uint8_t *vert_edge, const uint8_t *horiz_edge, const uint8_t *diag_edge)
 

Macro Definition Documentation

◆ CMP

#define CMP ( a,
b )
Value:
(((a) > (b)) - ((a) < (b)))
int a
#define b
Definition input.c:43

Definition at line 48 of file h2656_sao_template.c.

Referenced by sao_edge_filter().

Function Documentation

◆ sao_band_filter()

static void FUNC sao_band_filter ( uint8_t * _dst,
const uint8_t * _src,
ptrdiff_t stride_dst,
ptrdiff_t stride_src,
const int16_t * sao_offset_val,
int sao_left_class,
int width,
int height )
static

Definition at line 24 of file h2656_sao_template.c.

Referenced by ff_vvc_sao_dsp_init(), and sao_band_filter().

◆ sao_edge_filter()

static void FUNC sao_edge_filter ( uint8_t * _dst,
const uint8_t * _src,
ptrdiff_t stride_dst,
const int16_t * sao_offset_val,
int eo,
int width,
int height )
static

Definition at line 50 of file h2656_sao_template.c.

Referenced by ff_vvc_sao_dsp_init(), and sao_edge_filter().

◆ sao_edge_restore_0()

static void FUNC sao_edge_restore_0 ( uint8_t * _dst,
const uint8_t * _src,
ptrdiff_t stride_dst,
ptrdiff_t stride_src,
const SAOParams * sao,
const int * borders,
int _width,
int _height,
int c_idx,
const uint8_t * vert_edge,
const uint8_t * horiz_edge,
const uint8_t * diag_edge )
static

Definition at line 81 of file h2656_sao_template.c.

Referenced by ff_vvc_sao_dsp_init(), and sao_edge_restore_0().

◆ sao_edge_restore_1()

static void FUNC sao_edge_restore_1 ( uint8_t * _dst,
const uint8_t * _src,
ptrdiff_t stride_dst,
ptrdiff_t stride_src,
const SAOParams * sao,
const int * borders,
int _width,
int _height,
int c_idx,
const uint8_t * vert_edge,
const uint8_t * horiz_edge,
const uint8_t * diag_edge )
static

Definition at line 131 of file h2656_sao_template.c.

Referenced by ff_vvc_sao_dsp_init(), and sao_edge_restore_1().