Home
last modified time | relevance | path

Searched refs:aom_cdf_prob (Results 1 – 25 of 28) sorted by relevance

12

/external/libaom/libaom/av1/common/
Dentropymode.h69 aom_cdf_prob txb_skip_cdf[TX_SIZES][TXB_SKIP_CONTEXTS][CDF_SIZE(2)];
70 aom_cdf_prob eob_extra_cdf[TX_SIZES][PLANE_TYPES][EOB_COEF_CONTEXTS]
72 aom_cdf_prob dc_sign_cdf[PLANE_TYPES][DC_SIGN_CONTEXTS][CDF_SIZE(2)];
73 aom_cdf_prob eob_flag_cdf16[PLANE_TYPES][2][CDF_SIZE(5)];
74 aom_cdf_prob eob_flag_cdf32[PLANE_TYPES][2][CDF_SIZE(6)];
75 aom_cdf_prob eob_flag_cdf64[PLANE_TYPES][2][CDF_SIZE(7)];
76 aom_cdf_prob eob_flag_cdf128[PLANE_TYPES][2][CDF_SIZE(8)];
77 aom_cdf_prob eob_flag_cdf256[PLANE_TYPES][2][CDF_SIZE(9)];
78 aom_cdf_prob eob_flag_cdf512[PLANE_TYPES][2][CDF_SIZE(10)];
79 aom_cdf_prob eob_flag_cdf1024[PLANE_TYPES][2][CDF_SIZE(11)];
[all …]
Dentropymode.c20 static const aom_cdf_prob
75 static const aom_cdf_prob default_angle_delta_cdf[DIRECTIONAL_MODES][CDF_SIZE(
87 static const aom_cdf_prob default_if_y_mode_cdf[BLOCK_SIZE_GROUPS][CDF_SIZE(
97 static const aom_cdf_prob
154 static const aom_cdf_prob default_partition_cdf[PARTITION_CONTEXTS][CDF_SIZE(
178 static const aom_cdf_prob default_intra_ext_tx_cdf
368 static const aom_cdf_prob
405 static const aom_cdf_prob default_cfl_sign_cdf[CDF_SIZE(CFL_JOINT_SIGNS)] = {
409 static const aom_cdf_prob
425 static const aom_cdf_prob
[all …]
Dentropymv.h79 aom_cdf_prob classes_cdf[CDF_SIZE(MV_CLASSES)];
80 aom_cdf_prob class0_fp_cdf[CLASS0_SIZE][CDF_SIZE(MV_FP_SIZE)];
81 aom_cdf_prob fp_cdf[CDF_SIZE(MV_FP_SIZE)];
82 aom_cdf_prob sign_cdf[CDF_SIZE(2)];
83 aom_cdf_prob class0_hp_cdf[CDF_SIZE(2)];
84 aom_cdf_prob hp_cdf[CDF_SIZE(2)];
85 aom_cdf_prob class0_cdf[CDF_SIZE(CLASS0_SIZE)];
86 aom_cdf_prob bits_cdf[MV_OFFSET_BITS][CDF_SIZE(2)];
90 aom_cdf_prob joints_cdf[CDF_SIZE(MV_JOINTS)];
Dpred_common.h159 static INLINE aom_cdf_prob *av1_get_pred_cdf_seg_id( in av1_get_pred_cdf_seg_id()
207 static INLINE aom_cdf_prob *av1_get_reference_mode_cdf(const MACROBLOCKD *xd) { in av1_get_reference_mode_cdf()
211 static INLINE aom_cdf_prob *av1_get_skip_cdf(const MACROBLOCKD *xd) { in av1_get_skip_cdf()
225 static INLINE aom_cdf_prob *av1_get_comp_reference_type_cdf( in av1_get_comp_reference_type_cdf()
231 static INLINE aom_cdf_prob *av1_get_pred_cdf_uni_comp_ref_p( in av1_get_pred_cdf_uni_comp_ref_p()
237 static INLINE aom_cdf_prob *av1_get_pred_cdf_uni_comp_ref_p1( in av1_get_pred_cdf_uni_comp_ref_p1()
243 static INLINE aom_cdf_prob *av1_get_pred_cdf_uni_comp_ref_p2( in av1_get_pred_cdf_uni_comp_ref_p2()
261 static INLINE aom_cdf_prob *av1_get_pred_cdf_comp_ref_p(const MACROBLOCKD *xd) { in av1_get_pred_cdf_comp_ref_p()
266 static INLINE aom_cdf_prob *av1_get_pred_cdf_comp_ref_p1( in av1_get_pred_cdf_comp_ref_p1()
272 static INLINE aom_cdf_prob *av1_get_pred_cdf_comp_ref_p2( in av1_get_pred_cdf_comp_ref_p2()
[all …]
Dseg_common.h56 aom_cdf_prob tree_cdf[CDF_SIZE(MAX_SEGMENTS)];
57 aom_cdf_prob pred_cdf[SEG_TEMPORAL_PRED_CTXS][CDF_SIZE(2)];
58 aom_cdf_prob spatial_pred_seg_cdf[SPATIAL_PREDICTION_PROBS]
Dentropy.c53 static AOM_INLINE void reset_cdf_symbol_counter(aom_cdf_prob *cdf_ptr, in reset_cdf_symbol_counter()
66 aom_cdf_prob *cdf_ptr = (aom_cdf_prob *)cname; \
67 int array_size = (int)sizeof(cname) / sizeof(aom_cdf_prob); \
Dtoken_cdfs.h19 static const aom_cdf_prob
64 static const aom_cdf_prob
327 static const aom_cdf_prob
772 static const aom_cdf_prob
791 static const aom_cdf_prob
810 static const aom_cdf_prob
829 static const aom_cdf_prob
850 static const aom_cdf_prob
873 static const aom_cdf_prob
908 static const aom_cdf_prob
[all …]
Dav1_common_int.h1087 static INLINE aom_cdf_prob *get_y_mode_cdf(FRAME_CONTEXT *tile_ctx, in get_y_mode_cdf()
1120 static INLINE aom_cdf_prob cdf_element_prob(const aom_cdf_prob *cdf, in cdf_element_prob()
1126 static INLINE void partition_gather_horz_alike(aom_cdf_prob *out, in partition_gather_horz_alike()
1127 const aom_cdf_prob *const in, in partition_gather_horz_alike()
1141 static INLINE void partition_gather_vert_alike(aom_cdf_prob *out, in partition_gather_vert_alike()
1142 const aom_cdf_prob *const in, in partition_gather_vert_alike()
Dtxb_common.h298 typedef aom_cdf_prob (*base_cdf_arr)[CDF_SIZE(4)];
299 typedef aom_cdf_prob (*br_cdf_arr)[CDF_SIZE(BR_CDF_SIZE)];
/external/libaom/libaom/aom_dsp/
Dbitwriter.h66 aom_cdf_prob cdf[2] = { (aom_cdf_prob)p, 32767 }; in aom_write()
92 const aom_cdf_prob *cdf, int nsymbs) { in aom_write_cdf()
108 static INLINE void aom_write_symbol(aom_writer *w, int symb, aom_cdf_prob *cdf, in aom_write_symbol()
Dbitreader.h108 aom_cdf_prob ref_cdf[16]; in aom_read_()
119 if ((ref_nsymbs != 2) || (ref_cdf[0] != (aom_cdf_prob)p) || in aom_read_()
164 static INLINE int aom_read_cdf_(aom_reader *r, const aom_cdf_prob *cdf, in aom_read_cdf_()
175 aom_cdf_prob ref_cdf[16]; in aom_read_cdf_()
216 static INLINE int aom_read_symbol_(aom_reader *r, aom_cdf_prob *cdf, in aom_read_symbol_()
Dprob.h29 typedef uint16_t aom_cdf_prob; typedef
643 static INLINE void update_cdf(aom_cdf_prob *cdf, int8_t val, int nsymbs) { in update_cdf()
/external/libaom/libaom/av1/encoder/
Dcost.c29 void av1_cost_tokens_from_cdf(int *costs, const aom_cdf_prob *cdf, in av1_cost_tokens_from_cdf()
32 aom_cdf_prob prev_cdf = 0; in av1_cost_tokens_from_cdf()
34 aom_cdf_prob p15 = AOM_ICDF(cdf[i]) - prev_cdf; in av1_cost_tokens_from_cdf()
Dcost.h32 static INLINE int av1_cost_symbol(aom_cdf_prob p15) { in av1_cost_symbol()
36 p15 = (aom_cdf_prob)clamp(p15, 1, CDF_PROB_TOP - 1); in av1_cost_symbol()
44 void av1_cost_tokens_from_cdf(int *costs, const aom_cdf_prob *cdf,
Dmv_prec.c48 static AOM_INLINE int get_symbol_cost(const aom_cdf_prob *cdf, int symbol) { in get_symbol_cost()
49 const aom_cdf_prob cur_cdf = AOM_ICDF(cdf[symbol]); in get_symbol_cost()
50 const aom_cdf_prob prev_cdf = symbol ? AOM_ICDF(cdf[symbol - 1]) : 0; in get_symbol_cost()
51 const aom_cdf_prob p15 = AOMMAX(cur_cdf - prev_cdf, EC_MIN_PROB); in get_symbol_cost()
77 aom_cdf_prob *sign_cdf = cur_mvcomp_ctx->sign_cdf; in keep_one_comp_stat()
78 aom_cdf_prob *class_cdf = cur_mvcomp_ctx->classes_cdf; in keep_one_comp_stat()
79 aom_cdf_prob *class0_cdf = cur_mvcomp_ctx->class0_cdf; in keep_one_comp_stat()
80 aom_cdf_prob(*bits_cdf)[3] = cur_mvcomp_ctx->bits_cdf; in keep_one_comp_stat()
81 aom_cdf_prob *frac_part_cdf = mv_class in keep_one_comp_stat()
84 aom_cdf_prob *high_part_cdf = in keep_one_comp_stat()
[all …]
Dtokenize.h24 aom_cdf_prob *color_map_cdf;
Dencodemv.c50 aom_cdf_prob *fp_cdf = in update_mv_component_stats()
57 aom_cdf_prob *hp_cdf = in update_mv_component_stats()
Drd.c161 const aom_cdf_prob *cdf_u = fc->cfl_alpha_cdf[CFL_CONTEXT_U(joint_sign)]; 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()
482 aom_cdf_prob *pcdf; in av1_fill_coeff_costs()
Dencodeframe.c1052 aom_cdf_prob *cdf_u = fc->cfl_alpha_cdf[CFL_CONTEXT_U(joint_sign)]; in sum_intra_stats()
1060 aom_cdf_prob *cdf_v = fc->cfl_alpha_cdf[CFL_CONTEXT_V(joint_sign)]; in sum_intra_stats()
2767 const aom_cdf_prob *partition_cdf = cm->fc->partition_cdf[pl]; in rd_pick_partition()
2772 aom_cdf_prob bot_cdf[2]; in rd_pick_partition()
2778 aom_cdf_prob rhs_cdf[2]; in rd_pick_partition()
4206 static AOM_INLINE void avg_cdf_symbol(aom_cdf_prob *cdf_ptr_left, in avg_cdf_symbol()
4207 aom_cdf_prob *cdf_ptr_tr, int num_cdfs, in avg_cdf_symbol()
4213 (aom_cdf_prob)(((int)cdf_ptr_left[i * cdf_stride + j] * wt_left + in avg_cdf_symbol()
4228 aom_cdf_prob *cdf_ptr_left = (aom_cdf_prob *)cname_left; \
4229 aom_cdf_prob *cdf_ptr_tr = (aom_cdf_prob *)cname_tr; \
[all …]
Dbitstream.c471 aom_cdf_prob *pred_cdf = segp->spatial_pred_seg_cdf[cdf_num]; in write_segment_id()
601 aom_cdf_prob *cdf) { in write_angle_delta()
853 aom_cdf_prob *cdf_u = ec_ctx->cfl_alpha_cdf[CFL_CONTEXT_U(joint_sign)]; in write_cfl_alphas()
857 aom_cdf_prob *cdf_v = ec_ctx->cfl_alpha_cdf[CFL_CONTEXT_V(joint_sign)]; in write_cfl_alphas()
924 aom_cdf_prob *pred_cdf = av1_get_pred_cdf_seg_id(segp, xd); in write_inter_segment_id()
1584 aom_cdf_prob cdf[2]; in write_partition()
1591 aom_cdf_prob cdf[2]; in write_partition()
/external/libaom/libaom/aom_util/
Ddebug_util.h41 void bitstream_queue_pop(int *result, aom_cdf_prob *cdf, int *nsymbs);
42 void bitstream_queue_push(int result, const aom_cdf_prob *cdf, int nsymbs);
Ddebug_util.c37 static aom_cdf_prob cdf_queue[QUEUE_MAX_SIZE][16];
57 void bitstream_queue_pop(int *result, aom_cdf_prob *cdf, int *nsymbs) { in bitstream_queue_pop()
70 void bitstream_queue_push(int result, const aom_cdf_prob *cdf, int nsymbs) { in bitstream_queue_push()
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c75 aom_cdf_prob *cdf = br_cdf[br_ctx]; in read_coeffs_reverse_2d()
99 aom_cdf_prob *cdf = br_cdf[br_ctx]; in read_coeffs_reverse()
250 aom_cdf_prob *cdf = in av1_read_coeffs_txb()
Ddecodemv.c35 static PREDICTION_MODE read_intra_mode(aom_reader *r, aom_cdf_prob *cdf) { in read_intra_mode()
115 aom_cdf_prob *const cdf, in read_delta_lflevel()
156 aom_cdf_prob *cdf_u = ec_ctx->cfl_alpha_cdf[CFL_CONTEXT_U(joint_sign)]; in read_cfl_alphas()
161 aom_cdf_prob *cdf_v = ec_ctx->cfl_alpha_cdf[CFL_CONTEXT_V(joint_sign)]; in read_cfl_alphas()
288 aom_cdf_prob *pred_cdf = segp->spatial_pred_seg_cdf[cdf_num]; in read_segment_id()
403 aom_cdf_prob *pred_cdf = segp->pred_cdf[ctx]; in read_inter_segment_id()
598 static int read_angle_delta(aom_reader *r, aom_cdf_prob *cdf) { in read_angle_delta()
/external/libaom/libaom/tools/
Daom_entropy_optimizer.c40 static void counts_to_cdf(const aom_count_type *counts, aom_cdf_prob *cdf, in counts_to_cdf()
70 aom_cdf_prob cdfs[CDF_MAX_SIZE]; in parse_counts_for_cdf_opt()

12