Searched refs:idx (Results 1 – 1 of 1) sorted by relevance
606 static void enum_mvpq(const int *c, int n, int *idx, bool *ls) in enum_mvpq() argument614 *idx = 0; in enum_mvpq()624 *idx = (*idx << 1) | *ls; in enum_mvpq()628 *idx += lc3_sns_mpvq_offsets[i][LC3_MIN(j, 10)]; in enum_mvpq()638 static void deenum_mvpq(int idx, bool ls, int npulses, int *c, int n) in deenum_mvpq() argument644 for (i = n-1; i >= 0 && idx; i--) { in deenum_mvpq()648 for (ci = 0; idx < lc3_sns_mpvq_offsets[i][npulses - ci]; ci++); in deenum_mvpq()649 idx -= lc3_sns_mpvq_offsets[i][npulses - ci]; in deenum_mvpq()654 ls = idx & 1; in deenum_mvpq()655 idx >>= 1; in deenum_mvpq()