Home
last modified time | relevance | path

Searched refs:n1 (Results 1 – 3 of 3) sorted by relevance

/liblc3-3.7.0-3.6.0/src/
Dbits.c271 int n1 = LC3_MIN(LC3_ACCU_BITS - accu->n, n); in lc3_put_bits_generic() local
272 if (n1) { in lc3_put_bits_generic()
281 accu->v = v >> n1; in lc3_put_bits_generic()
282 accu->n = n - n1; in lc3_put_bits_generic()
348 int n1 = LC3_MIN(LC3_ACCU_BITS - accu->n, n); in lc3_get_bits_generic() local
349 unsigned v = (accu->v >> accu->n) & ((1u << n1) - 1); in lc3_get_bits_generic()
350 accu->n += n1; in lc3_get_bits_generic()
354 int n2 = n - n1; in lc3_get_bits_generic()
359 v |= ((accu->v >> accu->n) & ((1u << n2) - 1)) << n1; in lc3_get_bits_generic()
Denergy.c36 int n1 = n1_table[dt][sr]; in lc3_energy_compute() local
40 for (iband = 0; iband < n1; iband++) { in lc3_energy_compute()
/liblc3-3.7.0-3.6.0/test/
Dctypes.h44 #define to_2d_ptr(obj, t, n1, n2, ptr) \ argument
45 __to_2d_ptr(obj, t, n1, n2, (void **)(ptr))
50 #define to_2d_copy(obj, t, ptr, n1, n2) \ argument
51 __to_2d_copy(obj, t, ptr, n1, n2)
64 #define new_2d_ptr(t, n1, n2, ptr) \ argument
65 __new_2d_ptr(t, n1, n2, (void **)(ptr))
70 #define new_2d_copy(t, n1, n2, src) \ argument
71 __new_2d_copy(t, n1, n2, src)
102 static PyObject *__to_2d_ptr(PyObject *obj, int t, int n1, int n2, void **ptr) in __to_2d_ptr() argument
106 if (!obj || (n1 && PyArray_DIMS((PyArrayObject *)obj)[0] != n1) in __to_2d_ptr()
[all …]