Lines Matching refs:prevval
775 int prevval, prevextremevalid = 0, prevextreme = 0; in audioop_avgpp_impl() local
784 prevval = GETRAWSAMPLE(width, fragment->buf, 0); in audioop_avgpp_impl()
788 if (val != prevval) { in audioop_avgpp_impl()
789 diff = val < prevval; in audioop_avgpp_impl()
795 if (prevval < prevextreme) in audioop_avgpp_impl()
797 (unsigned int)prevval); in audioop_avgpp_impl()
799 sum += (double)((unsigned int)prevval - in audioop_avgpp_impl()
804 prevextreme = prevval; in audioop_avgpp_impl()
806 prevval = val; in audioop_avgpp_impl()
832 int prevval, prevextremevalid = 0, prevextreme = 0; in audioop_maxpp_impl() local
840 prevval = GETRAWSAMPLE(width, fragment->buf, 0); in audioop_maxpp_impl()
844 if (val != prevval) { in audioop_maxpp_impl()
845 diff = val < prevval; in audioop_maxpp_impl()
851 if (prevval < prevextreme) in audioop_maxpp_impl()
853 (unsigned int)prevval; in audioop_maxpp_impl()
855 extremediff = (unsigned int)prevval - in audioop_maxpp_impl()
861 prevextreme = prevval; in audioop_maxpp_impl()
863 prevval = val; in audioop_maxpp_impl()
885 int prevval; in audioop_cross_impl() local
891 prevval = 17; /* Anything <> 0,1 */ in audioop_cross_impl()
894 if (val != prevval) ncross++; in audioop_cross_impl()
895 prevval = val; in audioop_cross_impl()