Functions for writing the coding quadtree and related syntax.
#include "encoderstate.h"
#include "global.h"
Go to the source code of this file.
|
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.
|
|
◆ 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
◆ 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 ) |
◆ 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_x | X component of last coefficient |
lastpos_y | Y component of last coefficient |
width | Block width |
height | Block height |
type | plane type / luminance or chrominance |
scan | scan type (diag, hor, ver) |
This method encodes the X and Y component within a block of the last significant coefficient.
◆ kvz_encode_mvd()
◆ kvz_encode_part_mode()
◆ kvz_mock_encode_coding_unit()
< are we in any border CU