Coding Unit data structure and related functions.
Top level of the encoder implementation.
Header that is included in every other header.
#define MAX_TILES_PER_DIM
Definition global.h:232
#define MRG_MAX_NUM_CANDS
Definition global.h:197
A reference counted YUV pixel buffer.
uint8_t kvz_inter_get_merge_cand(const encoder_state_t *const state, int32_t x, int32_t y, int32_t width, int32_t height, bool use_a1, bool use_b1, inter_merge_cand_t mv_cand[5], lcu_t *lcu)
Get merge predictions for current block.
Definition inter.c:1440
void kvz_inter_recon_cu(const encoder_state_t *const state, lcu_t *lcu, int32_t x, int32_t y, int32_t width, bool predict_luma, bool predict_chroma)
Reconstruct a single CU.
Definition inter.c:575
void kvz_inter_recon_bipred(const encoder_state_t *const state, const kvz_picture *ref1, const kvz_picture *ref2, int32_t xpos, int32_t ypos, int32_t width, int32_t height, int16_t mv_param[2][2], lcu_t *lcu, bool predict_luma, bool predict_chroma)
Reconstruct bi-pred inter PU.
Definition inter.c:504
void kvz_inter_get_mv_cand(const encoder_state_t *const state, int32_t x, int32_t y, int32_t width, int32_t height, int16_t mv_cand[2][2], const cu_info_t *cur_cu, lcu_t *lcu, int8_t reflist)
Get MV prediction for current block.
Definition inter.c:1332
void kvz_inter_get_mv_cand_cua(const encoder_state_t *const state, int32_t x, int32_t y, int32_t width, int32_t height, int16_t mv_cand[2][2], const cu_info_t *cur_cu, int8_t reflist)
Get MV prediction for current block using state->tile->frame->cu_array.
Definition inter.c:1365
void kvz_inter_pred_pu(const encoder_state_t *const state, lcu_t *lcu, int32_t x, int32_t y, int32_t width, bool predict_luma, bool predict_chroma, int i_pu)
Predict a single PU.
Definition inter.c:604
This file defines the public API of Kvazaar when used as a library.
Struct for CU info.
Definition cu.h:130
Definition encoderstate.h:274
uint8_t dir
Definition inter.h:49
Struct which contains all picture data.
Definition kvazaar.h:504