|
static void | copy_cu_info (int x_local, int y_local, int width, lcu_t *from, lcu_t *to) |
|
static void | copy_cu_pixels (int x_local, int y_local, int width, lcu_t *from, lcu_t *to) |
|
static void | copy_cu_coeffs (int x_local, int y_local, int width, lcu_t *from, lcu_t *to) |
|
static void | work_tree_copy_up (int x_local, int y_local, int depth, lcu_t *work_tree) |
| Copy all non-reference CU data from next level to current level. More...
|
|
static void | work_tree_copy_down (int x_local, int y_local, int depth, lcu_t *work_tree) |
| Copy all non-reference CU data from current level to all lower levels. More...
|
|
void | kvz_lcu_fill_trdepth (lcu_t *lcu, int x_px, int y_px, int depth, int tr_depth) |
|
static void | lcu_fill_cu_info (lcu_t *lcu, int x_local, int y_local, int width, int height, cu_info_t *cu) |
|
static void | lcu_fill_inter (lcu_t *lcu, int x_local, int y_local, int cu_width) |
|
static void | lcu_fill_cbf (lcu_t *lcu, int x_local, int y_local, int width, cu_info_t *cur_cu) |
|
static double | cu_zero_coeff_cost (const encoder_state_t *state, lcu_t *work_tree, const int x, const int y, const int depth) |
|
double | kvz_cu_rd_cost_luma (const encoder_state_t *const state, const int x_px, const int y_px, const int depth, const cu_info_t *const pred_cu, lcu_t *const lcu) |
| Calculate RD cost for a Coding Unit. More...
|
|
double | kvz_cu_rd_cost_chroma (const encoder_state_t *const state, const int x_px, const int y_px, const int depth, const cu_info_t *const pred_cu, lcu_t *const lcu) |
|
static double | cu_rd_cost_tr_split_accurate (const encoder_state_t *const state, const int x_px, const int y_px, const int depth, const cu_info_t *const pred_cu, lcu_t *const lcu) |
|
static double | calc_mode_bits (const encoder_state_t *state, const lcu_t *lcu, const cu_info_t *cur_cu, int x, int y) |
|
void | kvz_sort_modes (int8_t *__restrict modes, double *__restrict costs, uint8_t length) |
| Sort modes and costs to ascending order according to costs. More...
|
|
void | kvz_sort_keys_by_cost (unit_stats_map_t *__restrict map) |
| Sort keys (indices) to ascending order according to costs. More...
|
|
static uint8_t | get_ctx_cu_split_model (const lcu_t *lcu, int x, int y, int depth) |
|
static double | search_cu (encoder_state_t *const state, int x, int y, int depth, lcu_t *work_tree) |
| Search every mode from 0 to MAX_PU_DEPTH and return cost of best mode. More...
|
|
static void | init_lcu_t (const encoder_state_t *const state, const int x, const int y, lcu_t *lcu, const yuv_t *hor_buf, const yuv_t *ver_buf) |
| Initialize lcu_t for search. More...
|
|
static void | copy_lcu_to_cu_data (const encoder_state_t *const state, int x_px, int y_px, const lcu_t *lcu) |
| Copy CU and pixel data to it's place in picture datastructure. More...
|
|
void | kvz_search_lcu (encoder_state_t *const state, const int x, const int y, const yuv_t *const hor_buf, const yuv_t *const ver_buf) |
| Search LCU for modes. More...
|
|