Searched refs:prev_i (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | audioop.c | 1098 int chan, d, *prev_i, *cur_i, cur_o; in audioop_ratecv() local 1150 prev_i = (int *) malloc(nchannels * sizeof(int)); in audioop_ratecv() 1152 if (prev_i == NULL || cur_i == NULL) { in audioop_ratecv() 1162 prev_i[chan] = cur_i[chan] = 0; in audioop_ratecv() 1186 "ii:ratecv", &prev_i[chan], in audioop_ratecv() 1227 prev_i[chan], in audioop_ratecv() 1247 prev_i[chan] = cur_i[chan]; in audioop_ratecv() 1258 (double)weightB * (double)prev_i[chan]) / in audioop_ratecv() 1266 cur_o = (int)(((double)prev_i[chan] * (double)d + in audioop_ratecv() 1281 if (prev_i != NULL) in audioop_ratecv() [all …]
|
/external/python/cpython3/Modules/ |
D | audioop.c | 1301 int chan, d, *prev_i, *cur_i, cur_o; in audioop_ratecv_impl() local 1348 prev_i = (int *) PyMem_Malloc(nchannels * sizeof(int)); in audioop_ratecv_impl() 1350 if (prev_i == NULL || cur_i == NULL) { in audioop_ratecv_impl() 1360 prev_i[chan] = cur_i[chan] = 0; in audioop_ratecv_impl() 1385 &prev_i[chan], &cur_i[chan])) in audioop_ratecv_impl() 1428 prev_i[chan], in audioop_ratecv_impl() 1447 prev_i[chan] = cur_i[chan]; in audioop_ratecv_impl() 1453 (double)weightB * (double)prev_i[chan]) / in audioop_ratecv_impl() 1461 cur_o = (int)(((double)prev_i[chan] * (double)d + in audioop_ratecv_impl() 1471 PyMem_Free(prev_i); in audioop_ratecv_impl()
|