Home
last modified time | relevance | path

Searched refs:ec_ctx (Results 1 – 12 of 12) sorted by relevance

/external/libopus/celt/
Dentcode.h46 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);
Dentcode.c69 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()
Drate.h99 …32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, i…
Dbands.h110 opus_int32 balance, ec_ctx *ec, int M, int codedBands, opus_uint32 *seed,
Dbands.c681 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()
Drate.c251 …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/
Ddecodemv.c74 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in read_delta_qindex() local
78 abs = aom_read_symbol(r, ec_ctx->delta_q_cdf, DELTA_Q_PROBS + 1, ACCT_STR); in read_delta_qindex()
122 static UV_PREDICTION_MODE read_intra_mode_uv(FRAME_CONTEXT *ec_ctx, in read_intra_mode_uv() argument
127 aom_read_symbol(r, ec_ctx->uv_mode_cdf[cfl_allowed][y_mode], in read_intra_mode_uv()
132 static int read_cfl_alphas(FRAME_CONTEXT *const ec_ctx, aom_reader *r, in read_cfl_alphas() argument
135 aom_read_symbol(r, ec_ctx->cfl_sign_cdf, CFL_JOINT_SIGNS, "cfl:signs"); in read_cfl_alphas()
139 aom_cdf_prob *cdf_u = ec_ctx->cfl_alpha_cdf[CFL_CONTEXT_U(joint_sign)]; in read_cfl_alphas()
144 aom_cdf_prob *cdf_v = ec_ctx->cfl_alpha_cdf[CFL_CONTEXT_V(joint_sign)]; in read_cfl_alphas()
159 static PREDICTION_MODE read_inter_mode(FRAME_CONTEXT *ec_ctx, aom_reader *r, in read_inter_mode() argument
163 is_newmv = aom_read_symbol(r, ec_ctx->newmv_cdf[mode_ctx], 2, ACCT_STR) == 0; in read_inter_mode()
[all …]
Ddecodetxb.c115 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()
180 aom_read_symbol(r, ec_ctx->eob_flag_cdf16[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
186 aom_read_symbol(r, ec_ctx->eob_flag_cdf32[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
192 aom_read_symbol(r, ec_ctx->eob_flag_cdf64[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
198 aom_read_symbol(r, ec_ctx->eob_flag_cdf128[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
204 aom_read_symbol(r, ec_ctx->eob_flag_cdf256[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
210 aom_read_symbol(r, ec_ctx->eob_flag_cdf512[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
217 r, ec_ctx->eob_flag_cdf1024[plane_type][eob_multi_ctx], 11, in av1_read_coeffs_txb()
227 r, ec_ctx->eob_extra_cdf[txs_ctx][plane_type][eob_ctx], 2, ACCT_STR); in av1_read_coeffs_txb()
[all …]
Ddecodeframe.c1264 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in read_tx_size_vartx() local
1291 is_split = aom_read_symbol(r, ec_ctx->txfm_partition_cdf[ctx], 2, ACCT_STR); in read_tx_size_vartx()
1354 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in read_selected_tx_size() local
1355 const int depth = aom_read_symbol(r, ec_ctx->tx_size_cdf[tx_size_cat][ctx], in read_selected_tx_size()
1708 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in read_partition() local
1713 aom_cdf_prob *partition_cdf = ec_ctx->partition_cdf[ctx]; in read_partition()
/external/epid-sdk/epid/common/math/src/
Decdsa_sign.c37 IppsECCPState* ec_ctx = NULL; in EcdsaSignBuffer() local
75 ec_ctx = (IppsECCPState*)SAFE_ALLOC(ctxsize); in EcdsaSignBuffer()
76 if (!ec_ctx) { in EcdsaSignBuffer()
80 sts = ippsECCPInitStd256r1(ec_ctx); in EcdsaSignBuffer()
82 sts = ippsECCPSetStd256r1(ec_ctx); in EcdsaSignBuffer()
166 sts = ippsECCPGenKeyPair(bn_eph_private->ipp_bn, ecp_eph_public, ec_ctx, in EcdsaSignBuffer()
172 ec_ctx); in EcdsaSignBuffer()
177 bn_sig_x->ipp_bn, bn_sig_y->ipp_bn, ec_ctx); in EcdsaSignBuffer()
201 SAFE_FREE(ec_ctx); in EcdsaSignBuffer()
/external/libaom/libaom/av1/encoder/
Dbitstream.c81 FRAME_CONTEXT *ec_ctx, const int16_t mode_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()
98 static void write_drl_idx(FRAME_CONTEXT *ec_ctx, const MB_MODE_INFO *mbmi, in write_drl_idx() argument
112 aom_write_symbol(w, mbmi->ref_mv_idx != idx, ec_ctx->drl_cdf[drl_ctx], in write_drl_idx()
128 ec_ctx->drl_cdf[drl_ctx], 2); in write_drl_idx()
148 FRAME_CONTEXT *const ec_ctx = xd->tile_ctx; in write_tx_size_vartx() local
168 aom_write_symbol(w, 0, ec_ctx->txfm_partition_cdf[ctx], 2); in write_tx_size_vartx()
178 aom_write_symbol(w, 1, ec_ctx->txfm_partition_cdf[ctx], 2); in write_tx_size_vartx()
[all …]
Dencodetxb.c162 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 …]