Searched refs:SHORTP (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | audioop.c | 306 #define SHORTP(cp, i) ((short *)(cp+i)) macro 352 else if ( size == 2 ) val = (int)*SHORTP(cp, i*2); in audioop_getsample() 371 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_max() 397 else if (size == 2) val = (int) *SHORTP(cp, i); in audioop_minmax() 419 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_avg() 445 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_rms() 657 else if ( size == 2 ) prevval = (int)*SHORTP(cp, 0); in audioop_avgpp() 662 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_avgpp() 708 else if ( size == 2 ) prevval = (int)*SHORTP(cp, 0); in audioop_maxpp() 713 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_maxpp() [all …]
|
D | imageop.c | 23 #define SHORTP(cp, xmax, x, y) ((short *)(cp+2*(y*xmax+x))) macro 164 *nsp++ = *SHORTP(cp, x, ix, iy); in imageop_crop() 211 *nsp++ = *SHORTP(cp, x, oix, oiy); in imageop_scale()
|