TUT HEVC Encoder
Loading...
Searching...
No Matches
Macros | Typedefs | Functions | Variables
strategies-sao.h File Reference

Interface for sao functions. More...

#include "encoder.h"
#include "encoderstate.h"
#include "global.h"
#include "kvazaar.h"
#include "sao.h"
Include dependency graph for strategies-sao.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STRATEGIES_SAO_EXPORTS
 

Typedefs

typedef int() sao_edge_ddistortion_func(const kvz_pixel *orig_data, const kvz_pixel *rec_data, int block_width, int block_height, int eo_class, int offsets[NUM_SAO_EDGE_CATEGORIES])
 
typedef void() calc_sao_edge_dir_func(const kvz_pixel *orig_data, const kvz_pixel *rec_data, int eo_class, int block_width, int block_height, int cat_sum_cnt[2][NUM_SAO_EDGE_CATEGORIES])
 
typedef void() sao_reconstruct_color_func(const encoder_control_t *const encoder, const kvz_pixel *rec_data, kvz_pixel *new_rec_data, const sao_info_t *sao, int stride, int new_stride, int block_width, int block_height, color_t color_i)
 
typedef int() sao_band_ddistortion_func(const encoder_state_t *const state, const kvz_pixel *orig_data, const kvz_pixel *rec_data, int block_width, int block_height, int band_pos, const int sao_bands[4])
 

Functions

int kvz_strategy_register_sao (void *opaque, uint8_t bitdepth)
 

Variables

sao_edge_ddistortion_funckvz_sao_edge_ddistortion
 
calc_sao_edge_dir_funckvz_calc_sao_edge_dir
 
sao_reconstruct_color_funckvz_sao_reconstruct_color
 
sao_band_ddistortion_funckvz_sao_band_ddistortion
 

Macro Definition Documentation

◆ STRATEGIES_SAO_EXPORTS

#define STRATEGIES_SAO_EXPORTS
Value:
{"sao_edge_ddistortion", (void**) &kvz_sao_edge_ddistortion}, \
{"calc_sao_edge_dir", (void**) &kvz_calc_sao_edge_dir}, \
{"sao_reconstruct_color", (void**) &kvz_sao_reconstruct_color}, \
{"sao_band_ddistortion", (void**) &kvz_sao_band_ddistortion}, \
calc_sao_edge_dir_func * kvz_calc_sao_edge_dir
Definition strategies-sao.c:41
sao_band_ddistortion_func * kvz_sao_band_ddistortion
Definition strategies-sao.c:43
sao_edge_ddistortion_func * kvz_sao_edge_ddistortion
Definition strategies-sao.c:40
sao_reconstruct_color_func * kvz_sao_reconstruct_color
Definition strategies-sao.c:42

Typedef Documentation

◆ calc_sao_edge_dir_func

◆ sao_band_ddistortion_func

◆ sao_edge_ddistortion_func

◆ sao_reconstruct_color_func

Function Documentation

◆ kvz_strategy_register_sao()

int kvz_strategy_register_sao ( void opaque,
uint8_t  bitdepth 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ kvz_calc_sao_edge_dir

calc_sao_edge_dir_func* kvz_calc_sao_edge_dir
extern

◆ kvz_sao_band_ddistortion

sao_band_ddistortion_func* kvz_sao_band_ddistortion
extern

◆ kvz_sao_edge_ddistortion

sao_edge_ddistortion_func* kvz_sao_edge_ddistortion
extern

◆ kvz_sao_reconstruct_color

sao_reconstruct_color_func* kvz_sao_reconstruct_color
extern