/external/libopus/celt/ |
D | entcode.h | 46 typedef struct ec_ctx ec_ctx; typedef 47 typedef struct ec_ctx ec_enc; 48 typedef struct ec_ctx ec_dec; 62 struct ec_ctx{ struct 93 static OPUS_INLINE opus_uint32 ec_range_bytes(ec_ctx *_this){ in ec_range_bytes() argument 97 static OPUS_INLINE unsigned char *ec_get_buffer(ec_ctx *_this){ in ec_get_buffer() 101 static OPUS_INLINE int ec_get_error(ec_ctx *_this){ in ec_get_error() 111 static OPUS_INLINE int ec_tell(ec_ctx *_this){ in ec_tell() 121 opus_uint32 ec_tell_frac(ec_ctx *_this);
|
D | entcode.c | 69 opus_uint32 ec_tell_frac(ec_ctx *_this){ in ec_tell_frac() 86 opus_uint32 ec_tell_frac(ec_ctx *_this){ in ec_tell_frac()
|
D | rate.h | 99 …32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, i…
|
D | bands.h | 110 opus_int32 balance, ec_ctx *ec, int M, int codedBands, opus_uint32 *seed,
|
D | bands.c | 681 ec_ctx *ec; 718 ec_ctx *ec; in compute_theta() 911 ec_ctx *ec; in quant_band_n1() 961 ec_ctx *ec; in quant_partition() 1251 ec_ctx *ec; in quant_band_stereo() 1401 opus_int32 balance, ec_ctx *ec, int LM, int codedBands, in quant_all_bands() 1584 ec_ctx ec_save, ec_save2; in quant_all_bands()
|
D | rate.c | 251 …int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwid… in interp_bits2pulses() 533 …32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, i… in clt_compute_allocation()
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 91 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in read_delta_qindex() local 95 abs = aom_read_symbol(r, ec_ctx->delta_q_cdf, DELTA_Q_PROBS + 1, ACCT_STR); in read_delta_qindex() 139 static UV_PREDICTION_MODE read_intra_mode_uv(FRAME_CONTEXT *ec_ctx, in read_intra_mode_uv() argument 144 aom_read_symbol(r, ec_ctx->uv_mode_cdf[cfl_allowed][y_mode], in read_intra_mode_uv() 149 static uint8_t read_cfl_alphas(FRAME_CONTEXT *const ec_ctx, aom_reader *r, in read_cfl_alphas() argument 152 aom_read_symbol(r, ec_ctx->cfl_sign_cdf, CFL_JOINT_SIGNS, "cfl:signs"); in read_cfl_alphas() 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() 176 static PREDICTION_MODE read_inter_mode(FRAME_CONTEXT *ec_ctx, aom_reader *r, in read_inter_mode() argument 180 is_newmv = aom_read_symbol(r, ec_ctx->newmv_cdf[mode_ctx], 2, ACCT_STR) == 0; in read_inter_mode() [all …]
|
D | decodetxb.c | 115 FRAME_CONTEXT *const ec_ctx = xd->tile_ctx; in av1_read_coeffs_txb() local 133 r, ec_ctx->txb_skip_cdf[txs_ctx][txb_ctx->txb_skip_ctx], 2, ACCT_STR); in av1_read_coeffs_txb() 176 aom_read_symbol(r, ec_ctx->eob_flag_cdf16[plane_type][eob_multi_ctx], in av1_read_coeffs_txb() 182 aom_read_symbol(r, ec_ctx->eob_flag_cdf32[plane_type][eob_multi_ctx], in av1_read_coeffs_txb() 188 aom_read_symbol(r, ec_ctx->eob_flag_cdf64[plane_type][eob_multi_ctx], in av1_read_coeffs_txb() 194 aom_read_symbol(r, ec_ctx->eob_flag_cdf128[plane_type][eob_multi_ctx], in av1_read_coeffs_txb() 200 aom_read_symbol(r, ec_ctx->eob_flag_cdf256[plane_type][eob_multi_ctx], in av1_read_coeffs_txb() 206 aom_read_symbol(r, ec_ctx->eob_flag_cdf512[plane_type][eob_multi_ctx], in av1_read_coeffs_txb() 213 r, ec_ctx->eob_flag_cdf1024[plane_type][eob_multi_ctx], 11, in av1_read_coeffs_txb() 223 r, ec_ctx->eob_extra_cdf[txs_ctx][plane_type][eob_ctx], 2, ACCT_STR); in av1_read_coeffs_txb() [all …]
|
D | decodeframe.c | 1043 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in read_tx_size_vartx() local 1070 is_split = aom_read_symbol(r, ec_ctx->txfm_partition_cdf[ctx], 2, ACCT_STR); in read_tx_size_vartx() 1134 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in read_selected_tx_size() local 1135 const int depth = aom_read_symbol(r, ec_ctx->tx_size_cdf[tx_size_cat][ctx], in read_selected_tx_size() 1294 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in read_partition() local 1299 aom_cdf_prob *partition_cdf = ec_ctx->partition_cdf[ctx]; in read_partition()
|
/external/libaom/libaom/av1/encoder/ |
D | bitstream.c | 80 FRAME_CONTEXT *ec_ctx, in write_inter_mode() argument 84 aom_write_symbol(w, mode != NEWMV, ec_ctx->newmv_cdf[newmv_ctx], 2); in write_inter_mode() 89 aom_write_symbol(w, mode != GLOBALMV, ec_ctx->zeromv_cdf[zeromv_ctx], 2); in write_inter_mode() 93 aom_write_symbol(w, mode != NEARESTMV, ec_ctx->refmv_cdf[refmv_ctx], 2); in write_inter_mode() 99 FRAME_CONTEXT *ec_ctx, const MB_MODE_INFO *mbmi, in write_drl_idx() argument 110 aom_write_symbol(w, mbmi->ref_mv_idx != idx, ec_ctx->drl_cdf[drl_ctx], in write_drl_idx() 125 ec_ctx->drl_cdf[drl_ctx], 2); in write_drl_idx() 147 FRAME_CONTEXT *const ec_ctx = xd->tile_ctx; in write_tx_size_vartx() local 167 aom_write_symbol(w, 0, ec_ctx->txfm_partition_cdf[ctx], 2); in write_tx_size_vartx() 177 aom_write_symbol(w, 1, ec_ctx->txfm_partition_cdf[ctx], 2); in write_tx_size_vartx() [all …]
|
D | encodetxb.c | 162 FRAME_CONTEXT *ec_ctx, FRAME_COUNTS *counts, argument 166 PLANE_TYPE plane, FRAME_CONTEXT *ec_ctx, 182 update_cdf(ec_ctx->eob_flag_cdf16[plane][eob_multi_ctx], eob_pt - 1, 5); 189 update_cdf(ec_ctx->eob_flag_cdf32[plane][eob_multi_ctx], eob_pt - 1, 6); 196 update_cdf(ec_ctx->eob_flag_cdf64[plane][eob_multi_ctx], eob_pt - 1, 7); 203 update_cdf(ec_ctx->eob_flag_cdf128[plane][eob_multi_ctx], eob_pt - 1, 212 update_cdf(ec_ctx->eob_flag_cdf256[plane][eob_multi_ctx], eob_pt - 1, 221 update_cdf(ec_ctx->eob_flag_cdf512[plane][eob_multi_ctx], eob_pt - 1, 231 update_cdf(ec_ctx->eob_flag_cdf1024[plane][eob_multi_ctx], eob_pt - 1, 245 update_cdf(ec_ctx->eob_extra_cdf[txs_ctx][plane][eob_ctx], bit, 2); [all …]
|
D | mv_prec.c | 73 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in keep_one_comp_stat() local 74 nmv_context *nmvc = &ec_ctx->nmvc; in keep_one_comp_stat() 128 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in keep_one_mv_stat() local 129 nmv_context *nmvc = &ec_ctx->nmvc; in keep_one_mv_stat()
|