Home
last modified time | relevance | path

Searched refs:SHORTP (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Daudioop.c314 #define SHORTP(cp, i) ((short *)(cp+i)) macro
360 else if ( size == 2 ) val = (int)*SHORTP(cp, i*2); in audioop_getsample()
379 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_max()
407 else if (size == 2) val = (int) *SHORTP(cp, i); in audioop_minmax()
429 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_avg()
455 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_rms()
667 else if ( size == 2 ) prevval = (int)*SHORTP(cp, 0); in audioop_avgpp()
672 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_avgpp()
718 else if ( size == 2 ) prevval = (int)*SHORTP(cp, 0); in audioop_maxpp()
723 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_maxpp()
[all …]
Dimageop.c23 #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()