|
TUT HEVC Encoder
|
Sample Adaptive Offset filter. More...
#include "checkpoint.h"#include "cu.h"#include "encoder.h"#include "encoderstate.h"#include "global.h"#include "kvazaar.h"#include "videoframe.h"Go to the source code of this file.
Data Structures | |
| struct | sao_info_t |
Macros | |
| #define | CHECKPOINT_SAO_INFO(prefix_str, sao) |
Typedefs | |
| typedef struct sao_info_t | sao_info_t |
Enumerations | |
| enum | sao_type { SAO_TYPE_NONE = 0 , SAO_TYPE_BAND , SAO_TYPE_EDGE } |
| enum | sao_eo_class { SAO_EO0 = 0 , SAO_EO1 , SAO_EO2 , SAO_EO3 , SAO_NUM_EO } |
| enum | sao_eo_cat { SAO_EO_CAT0 = 0 , SAO_EO_CAT1 , SAO_EO_CAT2 , SAO_EO_CAT3 , SAO_EO_CAT4 , NUM_SAO_EDGE_CATEGORIES } |
Functions | |
| void | kvz_sao_reconstruct (const encoder_state_t *state, const kvz_pixel *buffer, int stride, int frame_x, int frame_y, int width, int height, const sao_info_t *sao, color_t color) |
| Reconstruct SAO. More... | |
| void | kvz_sao_search_lcu (const encoder_state_t *const state, int lcu_x, int lcu_y) |
| void | kvz_calc_sao_offset_array (const encoder_control_t *const encoder, const sao_info_t *sao, int *offset, color_t color_i) |
| calculate an array of intensity correlations for each intensity value More... | |
Variables | |
| static const vector2d_t | g_sao_edge_offsets [SAO_NUM_EO][2] |
| #define CHECKPOINT_SAO_INFO | ( | prefix_str, | |
| sao | |||
| ) |
| typedef struct sao_info_t sao_info_t |
| enum sao_eo_cat |
| enum sao_eo_class |
| enum sao_type |
| void kvz_calc_sao_offset_array | ( | const encoder_control_t *const | encoder, |
| const sao_info_t * | sao, | ||
| int * | offset, | ||
| color_t | color_i | ||
| ) |
| void kvz_sao_reconstruct | ( | const encoder_state_t * | state, |
| const kvz_pixel * | buffer, | ||
| int | stride, | ||
| int | frame_x, | ||
| int | frame_y, | ||
| int | width, | ||
| int | height, | ||
| const sao_info_t * | sao, | ||
| color_t | color | ||
| ) |
| encoder | encoder state |
| buffer | Buffer containing the deblocked input pixels. The area to filter starts at index 0. |
| stride | stride of buffer |
| frame_x | x-coordinate of the top-left corner in pixels |
| frame_y | y-coordinate of the top-left corner in pixels |
| width | width of the area to filter |
| height | height of the area to filter |
| sao | SAO information |
| color | color plane index |
| void kvz_sao_search_lcu | ( | const encoder_state_t *const | state, |
| int | lcu_x, | ||
| int | lcu_y | ||
| ) |
|
static |