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

Go to the source code of this file.

Macros

#define ALF_DIR_VERT   0
 
#define ALF_DIR_HORZ   1
 
#define ALF_DIR_DIGA0   2
 
#define ALF_DIR_DIGA1   3
 
#define ALF_ALIGN_BY_4(x)
 

Functions

void FUNC2 (ff_alf_filter_luma_kernel, void FUNC2(BIT_DEPTH, _neon)
 
static void FUNC2 (alf_filter_chroma, BIT_DEPTH, _neon)
 
static void FUNC alf_get_idx (int *class_idx, int *transpose_idx, const int *sum, const int ac)
 
static void FUNC alf_classify (int *class_idx, int *transpose_idx, const uint8_t *_src, const ptrdiff_t _src_stride, const int width, const int height, const int vb_pos, int16_t *gradient_tmp)
 
void FUNC2 (ff_alf_classify_grad, static void FUNC2(BIT_DEPTH, _neon)
 
void FUNC2 (ff_vvc_alf_filter_luma, #define ALF_ALIGN_BY_4x BIT_DEPTH, _sme2)
 

Macro Definition Documentation

◆ ALF_DIR_VERT

#define ALF_DIR_VERT   0

Definition at line 159 of file alf_template.c.

Referenced by alf_classify(), alf_get_idx(), and alf_get_idx().

◆ ALF_DIR_HORZ

#define ALF_DIR_HORZ   1

Definition at line 160 of file alf_template.c.

Referenced by alf_classify(), alf_get_idx(), and alf_get_idx().

◆ ALF_DIR_DIGA0

#define ALF_DIR_DIGA0   2

Definition at line 161 of file alf_template.c.

Referenced by alf_classify(), alf_get_idx(), and alf_get_idx().

◆ ALF_DIR_DIGA1

#define ALF_DIR_DIGA1   3

Definition at line 162 of file alf_template.c.

Referenced by alf_classify(), alf_get_idx(), and alf_get_idx().

◆ ALF_ALIGN_BY_4

#define ALF_ALIGN_BY_4 ( x)
Value:
(4*((x - 1) >> 2u)+4)

Referenced by FUNC2().

Function Documentation

◆ FUNC2() [1/4]

void FUNC2 ( ff_alf_filter_luma_kernel ,
void FUNC2( BIT_DEPTH,
_neon  )

Definition at line 25 of file alf_template.c.

◆ FUNC2() [2/4]

static void FUNC2 ( alf_filter_chroma ,
BIT_DEPTH ,
_neon  )
static

Definition at line 102 of file alf_template.c.

◆ alf_get_idx()

static void FUNC alf_get_idx ( int * class_idx,
int * transpose_idx,
const int * sum,
const int ac )
static

Definition at line 164 of file alf_template.c.

Referenced by alf_classify(), alf_classify(), alf_get_idx(), and alf_get_idx().

◆ alf_classify()

static void FUNC alf_classify ( int * class_idx,
int * transpose_idx,
const uint8_t * _src,
const ptrdiff_t _src_stride,
const int width,
const int height,
const int vb_pos,
int16_t * gradient_tmp )
static

Definition at line 193 of file alf_template.c.

Referenced by alf_classify(), alf_classify(), ff_vvc_alf_dsp_init(), and FUNC2().

◆ FUNC2() [3/4]

void FUNC2 ( ff_alf_classify_grad ,
static void FUNC2( BIT_DEPTH,
_neon  )

Definition at line 233 of file alf_template.c.

◆ FUNC2() [4/4]

void FUNC2 ( ff_vvc_alf_filter_luma ,
#define ALF_ALIGN_BY_4x BIT_DEPTH,
_sme2  )

Definition at line 246 of file alf_template.c.