Searched refs:hist (Results 1 – 3 of 3) sorted by relevance
187 memset(plc_state->hist, 0, sizeof(plc_state->hist)); in sbc_plc_init()198 memset(plc_state->hist, 0, sizeof(plc_state->hist)); in sbc_plc_deinit()217 plc_state->bestlag = PatternMatch(plc_state->hist); in sbc_plc_bad_frame()222 sf = AmplitudeMatch(plc_state->hist, plc_state->bestlag); in sbc_plc_bad_frame()226 + sf * plc_state->hist[plc_state->bestlag + i] * rcos[SBC_OLAL - i - 1]; in sbc_plc_bad_frame()227 plc_state->hist[SBC_LHIST + i] = crop_sample(val); in sbc_plc_bad_frame()231 val = sf*plc_state->hist[plc_state->bestlag + i]; in sbc_plc_bad_frame()232 plc_state->hist[SBC_LHIST + i] = crop_sample(val); in sbc_plc_bad_frame()236 val = sf * plc_state->hist[plc_state->bestlag + i] * rcos[i-SBC_FS] in sbc_plc_bad_frame()237 + plc_state->hist[plc_state->bestlag + i] * rcos[SBC_OLAL - 1 - i + SBC_FS]; in sbc_plc_bad_frame()[all …]
26 int16_t hist[SBC_LHIST + SBC_FS + SBC_RT + SBC_OLAL]; member
734 mz_uint32 total_passes = 2, pass_shift, pass, i, hist[256 * 2]; in tdefl_radix_sort_syms() local736 MZ_CLEAR_OBJ(hist); in tdefl_radix_sort_syms()740 hist[freq & 0xFF]++; in tdefl_radix_sort_syms()741 hist[256 + ((freq >> 8) & 0xFF)]++; in tdefl_radix_sort_syms()743 while ((total_passes > 1) && (num_syms == hist[(total_passes - 1) * 256])) in tdefl_radix_sort_syms()747 const mz_uint32 *pHist = &hist[pass << 8]; in tdefl_radix_sort_syms()