Lines Matching refs:active
717 if (ltpf->active) { in lc3_ltpf_analyse()
722 data->active = !lc3_hr(sr) && pitch_present && in lc3_ltpf_analyse()
726 data->active = !lc3_hr(sr) && pitch_present && in lc3_ltpf_analyse()
731 ltpf->active = data->active; in lc3_ltpf_analyse()
878 bool active = data && data->active && g_idx < 4; in lc3_ltpf_synthesize() local
884 float g = active ? 0.4f - 0.05f * g_idx : 0; in lc3_ltpf_synthesize()
898 if (active) in lc3_ltpf_synthesize()
901 if (!ltpf->active && active) in lc3_ltpf_synthesize()
903 else if (ltpf->active && !active) in lc3_ltpf_synthesize()
905 else if (ltpf->active && active && ltpf->pitch == pitch) in lc3_ltpf_synthesize()
907 else if (ltpf->active && active) { in lc3_ltpf_synthesize()
915 if (active && ns > nt) in lc3_ltpf_synthesize()
920 ltpf->active = active; in lc3_ltpf_synthesize()
935 data->active = false; in lc3_ltpf_disable()
952 lc3_put_bit(bits, data->active); in lc3_ltpf_put_data()
962 data->active = lc3_get_bit(bits); in lc3_ltpf_get_data()