Home
last modified time | relevance | path

Searched refs:ctx_offset (Results 1 – 5 of 5) sorted by relevance

/external/libhevc/decoder/
Dihevcd_parse_residual.c237 WORD32 ctx_offset; in ihevcd_parse_residual_coding() local
242 ctx_offset = (3 * (log2_trafo_size - 2)) + ((log2_trafo_size - 1) >> 2); in ihevcd_parse_residual_coding()
243 ctxt_idx_x = IHEVC_CAB_COEFFX_PREFIX + ctx_offset; in ihevcd_parse_residual_coding()
244 ctxt_idx_y = IHEVC_CAB_COEFFY_PREFIX + ctx_offset; in ihevcd_parse_residual_coding()
/external/libaom/libaom/av1/common/
Dtxb_common.h426 const int ctx_offset = (num_pels_log2_lookup[plane_bsize] > in get_txb_ctx() local
430 txb_ctx->txb_skip_ctx = ctx_base + ctx_offset; in get_txb_ctx()
Dpred_common.c32 const int ctx_offset = in av1_get_pred_context_switchable_interp() local
40 int filter_type_ctx = ctx_offset + (dir & 0x01) * INTER_FILTER_DIR_OFFSET; in av1_get_pred_context_switchable_interp()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_kay.c2073 int ctx_len, ctx_offset; in ieee802_1x_kay_generate_new_sak() local
2122 ctx_offset = 0; in ieee802_1x_kay_generate_new_sak()
2123 if (os_get_random(context + ctx_offset, key_len) < 0) in ieee802_1x_kay_generate_new_sak()
2126 ctx_offset += key_len; in ieee802_1x_kay_generate_new_sak()
2129 os_memcpy(context + ctx_offset, peer->mi, sizeof(peer->mi)); in ieee802_1x_kay_generate_new_sak()
2130 ctx_offset += sizeof(peer->mi); in ieee802_1x_kay_generate_new_sak()
2132 os_memcpy(context + ctx_offset, participant->mi, in ieee802_1x_kay_generate_new_sak()
2134 ctx_offset += sizeof(participant->mi); in ieee802_1x_kay_generate_new_sak()
2135 os_memcpy(context + ctx_offset, &kay->dist_kn, sizeof(kay->dist_kn)); in ieee802_1x_kay_generate_new_sak()
/external/libhevc/encoder/
Dihevce_cabac_tu.c312 WORD32 ctx_offset = (3 * (log2_tr_size - 2)) + ((log2_tr_size - 1) >> 2); in ihevce_cabac_encode_last_coeff_x_y() local
314 ctxt_idx_x = IHEVC_CAB_COEFFX_PREFIX + ctx_offset; in ihevce_cabac_encode_last_coeff_x_y()
315 ctxt_idx_y = IHEVC_CAB_COEFFY_PREFIX + ctx_offset; in ihevce_cabac_encode_last_coeff_x_y()