TUT HEVC Encoder
Loading...
Searching...
No Matches
Functions
encode_coding_tree.h File Reference

Functions for writing the coding quadtree and related syntax. More...

#include "encoderstate.h"
#include "global.h"
Include dependency graph for encode_coding_tree.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void kvz_encode_coding_tree (encoder_state_t *const state, uint16_t x_ctb, uint16_t y_ctb, uint8_t depth)
 
void kvz_encode_mvd (encoder_state_t *const state, cabac_data_t *cabac, int32_t mvd_hor, int32_t mvd_ver, double *bits_out)
 
double kvz_mock_encode_coding_unit (encoder_state_t *const state, cabac_data_t *cabac, int x, int y, int depth, lcu_t *lcu, cu_info_t *cur_cu)
 
double kvz_encode_part_mode (encoder_state_t *const state, cabac_data_t *const cabac, const cu_info_t *const cur_cu, int depth)
 
void kvz_encode_inter_prediction_unit (encoder_state_t *const state, cabac_data_t *const cabac, const cu_info_t *const cur_cu, int x, int y, int width, int height, int depth, lcu_t *lcu, double *bits_out)
 
void kvz_encode_last_significant_xy (cabac_data_t *const cabac, uint8_t lastpos_x, uint8_t lastpos_y, uint8_t width, uint8_t height, uint8_t type, uint8_t scan, double *bits_out)
 Encode (X,Y) position of the last significant coefficient.
 

Function Documentation

◆ kvz_encode_coding_tree()

void kvz_encode_coding_tree ( encoder_state_t *const  state,
uint16_t  x_ctb,
uint16_t  y_ctb,
uint8_t  depth 
)

< are we in any border CU

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kvz_encode_inter_prediction_unit()

void kvz_encode_inter_prediction_unit ( encoder_state_t *const  state,
cabac_data_t *const  cabac,
const cu_info_t *const  cur_cu,
int  x,
int  y,
int  width,
int  height,
int  depth,
lcu_t lcu,
double bits_out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kvz_encode_last_significant_xy()

void kvz_encode_last_significant_xy ( cabac_data_t *const  cabac,
uint8_t  lastpos_x,
uint8_t  lastpos_y,
uint8_t  width,
uint8_t  height,
uint8_t  type,
uint8_t  scan,
double bits_out 
)
Parameters
lastpos_xX component of last coefficient
lastpos_yY component of last coefficient
widthBlock width
heightBlock height
typeplane type / luminance or chrominance
scanscan type (diag, hor, ver)

This method encodes the X and Y component within a block of the last significant coefficient.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kvz_encode_mvd()

void kvz_encode_mvd ( encoder_state_t *const  state,
cabac_data_t cabac,
int32_t  mvd_hor,
int32_t  mvd_ver,
double bits_out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kvz_encode_part_mode()

double kvz_encode_part_mode ( encoder_state_t *const  state,
cabac_data_t *const  cabac,
const cu_info_t *const  cur_cu,
int  depth 
)
Here is the caller graph for this function:

◆ kvz_mock_encode_coding_unit()

double kvz_mock_encode_coding_unit ( encoder_state_t *const  state,
cabac_data_t cabac,
int  x,
int  y,
int  depth,
lcu_t lcu,
cu_info_t cur_cu 
)

< are we in any border CU

Here is the call graph for this function:
Here is the caller graph for this function: