Searched refs:joint_sign (Results 1 – 6 of 6) sorted by relevance
/external/libaom/libaom/av1/encoder/ |
D | intra_mode_search.c | 1347 for (int joint_sign = 0; joint_sign < CFL_JOINT_SIGNS; joint_sign++) { in cfl_rd_pick_alpha() local 1348 best_rd_uv[joint_sign][plane] = INT64_MAX; in cfl_rd_pick_alpha() 1349 best_c[joint_sign][plane] = 0; in cfl_rd_pick_alpha() 1354 const int8_t joint_sign = in cfl_rd_pick_alpha() local 1358 mbmi->cfl_alpha_signs = joint_sign; in cfl_rd_pick_alpha() 1364 const int alpha_rate = x->cfl_cost[joint_sign][plane][0]; in cfl_rd_pick_alpha() 1365 best_rd_uv[joint_sign][plane] = in cfl_rd_pick_alpha() 1368 best_rate_uv[joint_sign][plane] = rd_stats.rate; in cfl_rd_pick_alpha() 1384 const int8_t joint_sign = PLANE_SIGN_TO_JOINT_SIGN(plane, pn_sign, i); in cfl_rd_pick_alpha() local 1387 mbmi->cfl_alpha_signs = joint_sign; in cfl_rd_pick_alpha() [all …]
|
D | rd.c | 155 for (int joint_sign = 0; joint_sign < CFL_JOINT_SIGNS; joint_sign++) { in av1_fill_mode_rates() local 156 int *cost_u = x->cfl_cost[joint_sign][CFL_PRED_U]; in av1_fill_mode_rates() 157 int *cost_v = x->cfl_cost[joint_sign][CFL_PRED_V]; in av1_fill_mode_rates() 158 if (CFL_SIGN_U(joint_sign) == CFL_SIGN_ZERO) { in av1_fill_mode_rates() 161 const aom_cdf_prob *cdf_u = fc->cfl_alpha_cdf[CFL_CONTEXT_U(joint_sign)]; in av1_fill_mode_rates() 164 if (CFL_SIGN_V(joint_sign) == CFL_SIGN_ZERO) { in av1_fill_mode_rates() 167 const aom_cdf_prob *cdf_v = fc->cfl_alpha_cdf[CFL_CONTEXT_V(joint_sign)]; in av1_fill_mode_rates() 171 cost_u[u] += sign_cost[joint_sign]; in av1_fill_mode_rates()
|
D | bitstream.c | 848 uint8_t idx, int8_t joint_sign, in write_cfl_alphas() argument 850 aom_write_symbol(w, joint_sign, ec_ctx->cfl_sign_cdf, CFL_JOINT_SIGNS); in write_cfl_alphas() 852 if (CFL_SIGN_U(joint_sign) != CFL_SIGN_ZERO) { in write_cfl_alphas() 853 aom_cdf_prob *cdf_u = ec_ctx->cfl_alpha_cdf[CFL_CONTEXT_U(joint_sign)]; in write_cfl_alphas() 856 if (CFL_SIGN_V(joint_sign) != CFL_SIGN_ZERO) { in write_cfl_alphas() 857 aom_cdf_prob *cdf_v = ec_ctx->cfl_alpha_cdf[CFL_CONTEXT_V(joint_sign)]; in write_cfl_alphas()
|
D | encodeframe.c | 1044 const int8_t joint_sign = mbmi->cfl_alpha_signs; in sum_intra_stats() local 1048 ++counts->cfl_sign[joint_sign]; in sum_intra_stats() 1050 update_cdf(fc->cfl_sign_cdf, joint_sign, CFL_JOINT_SIGNS); in sum_intra_stats() 1051 if (CFL_SIGN_U(joint_sign) != CFL_SIGN_ZERO) { in sum_intra_stats() 1052 aom_cdf_prob *cdf_u = fc->cfl_alpha_cdf[CFL_CONTEXT_U(joint_sign)]; in sum_intra_stats() 1055 ++counts->cfl_alpha[CFL_CONTEXT_U(joint_sign)][CFL_IDX_U(idx)]; in sum_intra_stats() 1059 if (CFL_SIGN_V(joint_sign) != CFL_SIGN_ZERO) { in sum_intra_stats() 1060 aom_cdf_prob *cdf_v = fc->cfl_alpha_cdf[CFL_CONTEXT_V(joint_sign)]; in sum_intra_stats() 1063 ++counts->cfl_alpha[CFL_CONTEXT_V(joint_sign)][CFL_IDX_V(idx)]; in sum_intra_stats()
|
/external/libaom/libaom/av1/common/ |
D | cfl.c | 139 static INLINE int cfl_idx_to_alpha(uint8_t alpha_idx, int8_t joint_sign, in CFL_SUB_AVG_FN() 141 const int alpha_sign = (pred_type == CFL_PRED_U) ? CFL_SIGN_U(joint_sign) in CFL_SUB_AVG_FN() 142 : CFL_SIGN_V(joint_sign); in CFL_SUB_AVG_FN()
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 151 const int8_t joint_sign = in read_cfl_alphas() local 155 if (CFL_SIGN_U(joint_sign) != CFL_SIGN_ZERO) { in read_cfl_alphas() 156 aom_cdf_prob *cdf_u = ec_ctx->cfl_alpha_cdf[CFL_CONTEXT_U(joint_sign)]; in read_cfl_alphas() 160 if (CFL_SIGN_V(joint_sign) != CFL_SIGN_ZERO) { in read_cfl_alphas() 161 aom_cdf_prob *cdf_v = ec_ctx->cfl_alpha_cdf[CFL_CONTEXT_V(joint_sign)]; in read_cfl_alphas() 164 *signs_out = joint_sign; in read_cfl_alphas()
|