/dports/multimedia/kvazaar/kvazaar-2.1.0/src/ |
H A D | search.c | 139 LCU_GET_CU_AT_PX(lcu, x_local + x, y_local + y)->tr_depth = tr_depth; in kvz_lcu_fill_trdepth() 265 const uint8_t tr_depth = tr_cu->tr_depth - depth; in kvz_cu_rd_cost_luma() local 274 tr_tree_bits += CTX_ENTROPY_FBITS(ctx, tr_depth > 0); in kvz_cu_rd_cost_luma() 277 if (tr_depth > 0) { in kvz_cu_rd_cost_luma() 291 tr_depth > 0 || in kvz_cu_rd_cost_luma() 342 const int tr_depth = depth - pred_cu->depth; in kvz_cu_rd_cost_chroma() local 352 if (tr_cu->tr_depth > depth) { in kvz_cu_rd_cost_chroma() 504 cur_cu->tr_depth = depth > 0 ? depth : 1; in search_cu() 633 int tr_depth = MAX(1, depth); in search_cu() local 635 tr_depth = depth + 1; in search_cu() [all …]
|
H A D | encode_coding_tree.c | 197 int8_t tr_depth, in encode_transform_coeff() argument 225 int8_t split = (cur_cu->tr_depth > depth); in encode_transform_coeff() 238 tr_depth < max_tr_depth && in encode_transform_coeff() 239 !(intra_split_flag && tr_depth == 0)) in encode_transform_coeff() 251 cabac->cur_ctx = &(cabac->ctx.qt_cbf_model_chroma[tr_depth]); in encode_transform_coeff() 252 if (tr_depth == 0 || parent_coeff_u) { in encode_transform_coeff() 255 if (tr_depth == 0 || parent_coeff_v) { in encode_transform_coeff() 264 encode_transform_coeff(state, x, y, depth + 1, tr_depth + 1, cb_flag_u, cb_flag_v); in encode_transform_coeff() 265 encode_transform_coeff(state, x2, y, depth + 1, tr_depth + 1, cb_flag_u, cb_flag_v); in encode_transform_coeff() 276 if (cur_cu->type == CU_INTRA || tr_depth > 0 || cb_flag_u || cb_flag_v) { in encode_transform_coeff() [all …]
|
H A D | search_intra.c | 206 tr_cu->tr_depth = depth; in search_intra_trdepth() 207 pred_cu->tr_depth = depth; in search_intra_trdepth() 281 const uint8_t tr_depth = depth - pred_cu->depth; in search_intra_trdepth() local 283 const cabac_ctx_t *ctx = &(state->cabac.ctx.qt_cbf_model_chroma[tr_depth]); in search_intra_trdepth() 284 if (tr_depth == 0 || cbf_is_set(pred_cu->cbf, depth - 1, COLOR_U)) { in search_intra_trdepth() 287 if (tr_depth == 0 || cbf_is_set(pred_cu->cbf, depth - 1, COLOR_V)) { in search_intra_trdepth() 571 const int tr_depth = CLIP(1, MAX_PU_DEPTH, depth + state->encoder_control->cfg.tr_depth_intra); in search_intra_rdo() local 612 …double mode_cost = search_intra_trdepth(state, x_px, y_px, depth, tr_depth, modes[rdo_mode], MAX_I… in search_intra_rdo() 628 if (tr_depth != depth) { in search_intra_rdo() 636 search_intra_trdepth(state, x_px, y_px, depth, tr_depth, modes[0], MAX_INT, &pred_cu, lcu); in search_intra_rdo()
|
H A D | search.h | 59 void kvz_lcu_fill_trdepth(lcu_t *lcu, int x_px, int y_px, int depth, int tr_depth);
|
H A D | rdo.h | 55 int32_t height, int8_t type, int8_t scan_mode, int8_t block_type, int8_t tr_depth);
|
H A D | filter.c | 209 const int tu_width = LCU_WIDTH >> scu->tr_depth; in is_tu_boundary() 406 bool nonzero_coeffs = cbf_is_set(cu_q->cbf, cu_q->tr_depth, COLOR_Y) in filter_deblock_edge_luma() 407 || cbf_is_set(cu_p->cbf, cu_p->tr_depth, COLOR_Y); in filter_deblock_edge_luma()
|
H A D | cu.h | 134 uint8_t tr_depth : 3; //!< \brief transform depth member 187 , (cu).type, (cu).depth, (cu).part_size, (cu).tr_depth, (cu).coded, \
|
H A D | rdo.c | 673 int32_t height, int8_t type, int8_t scan_mode, int8_t block_type, int8_t tr_depth) in kvz_rdoq() argument 950 ctx_cbf = ( type ? tr_depth : !tr_depth); in kvz_rdoq()
|
H A D | transform.c | 477 if (depth == 0 || cur_pu->tr_depth > depth) { in kvz_quantize_lcu_residual()
|
H A D | search_inter.c | 1953 int tr_depth = MAX(1, depth); in kvz_cu_cost_inter_rd2() local 1955 tr_depth = depth + 1; in kvz_cu_cost_inter_rd2() 1957 kvz_lcu_fill_trdepth(lcu, x, y, depth, tr_depth); in kvz_cu_cost_inter_rd2()
|
H A D | intra.c | 649 if (depth == 0 || cur_cu->tr_depth > depth) { in kvz_intra_recon_cu()
|
H A D | encoderstate.c | 588 if (cu->tr_depth > depth) { in set_cu_qps() 591 const int tu_width = LCU_WIDTH >> cu->tr_depth; in set_cu_qps()
|
/dports/multimedia/kvazaar/kvazaar-2.1.0/src/strategies/generic/ |
H A D | quant-generic.c | 237 int8_t tr_depth = cur_cu->tr_depth - cur_cu->depth; in kvz_quantize_residual_generic() local 238 tr_depth += (cur_cu->part_size == SIZE_NxN ? 1 : 0); in kvz_quantize_residual_generic() 240 scan_order, cur_cu->type, tr_depth); in kvz_quantize_residual_generic()
|
/dports/multimedia/kvazaar/kvazaar-2.1.0/src/strategies/avx2/ |
H A D | quant-avx2.c | 675 int8_t tr_depth = cur_cu->tr_depth - cur_cu->depth; in kvz_quantize_residual_avx2() local 676 tr_depth += (cur_cu->part_size == SIZE_NxN ? 1 : 0); in kvz_quantize_residual_avx2() 678 scan_order, cur_cu->type, tr_depth); in kvz_quantize_residual_avx2()
|