• Home
  • Raw
  • Download

Lines Matching refs:SHORTP

314 #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()
770 else if ( size == 2 ) val = ((int)*SHORTP(cp, i)) >> 15; in audioop_cross()
804 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_mul()
809 else if ( size == 2 ) *SHORTP(ncp, i) = (short)val; in audioop_mul()
845 else if ( size == 2 ) val1 = (int)*SHORTP(cp, i); in audioop_tomono()
848 else if ( size == 2 ) val2 = (int)*SHORTP(cp, i+2); in audioop_tomono()
853 else if ( size == 2 ) *SHORTP(ncp, i/2) = (short)val1; in audioop_tomono()
891 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_tostereo()
901 else if ( size == 2 ) *SHORTP(ncp, i*2) = (short)val1; in audioop_tostereo()
905 else if ( size == 2 ) *SHORTP(ncp, i*2+2) = (short)val2; in audioop_tostereo()
939 else if ( size == 2 ) val1 = (int)*SHORTP(cp1, i); in audioop_add()
943 else if ( size == 2 ) val2 = (int)*SHORTP(cp2, i); in audioop_add()
961 else if ( size == 2 ) *SHORTP(ncp, i) = (short)newval; in audioop_add()
993 else if ( size == 2 ) val = (unsigned int)(unsigned short)*SHORTP(cp, i); in audioop_bias()
1001 else if ( size == 2 ) *SHORTP(ncp, i) = (short)(unsigned short)val; in audioop_bias()
1030 else if ( size == 2 ) val = ((int)*SHORTP(cp, i)) << 16; in audioop_reverse()
1036 else if ( size == 2 ) *SHORTP(ncp, j) = (short)(val >> 16); in audioop_reverse()
1072 else if ( size == 2 ) val = ((int)*SHORTP(cp, i)) << 16; in audioop_lin2lin()
1076 else if ( size2 == 2 ) *SHORTP(ncp, j) = (short)(val >> 16); in audioop_lin2lin()
1251 cur_i[chan] = ((int)*SHORTP(cp, 0)) << 16; in audioop_ratecv()
1272 *SHORTP(ncp, 0) = (short)(cur_o >> 16); in audioop_ratecv()
1311 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_lin2ulaw()
1351 else if ( size == 2 ) *SHORTP(ncp, i) = (short)(val); in audioop_ulaw2lin()
1380 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_lin2alaw()
1420 else if ( size == 2 ) *SHORTP(ncp, i) = (short)(val); in audioop_alaw2lin()
1472 else if ( size == 2 ) val = (int)*SHORTP(cp, i); in audioop_lin2adpcm()
1636 else if ( size == 2 ) *SHORTP(ncp, i) = (short)(valpred); in audioop_adpcm2lin()