Lines Matching refs:diff
102 static void CalcBands(INT * diff, INT start , INT stop , INT num_bands);
103 static INT modifyBands(INT max_band, INT * diff, INT length);
104 static void cumSum(INT start_value, INT* diff, INT length, UCHAR *start_adress);
528 /* Adjust diff vector to get sepc. SBR range */
559 CalcBands(INT * diff, INT start , INT stop , INT num_bands)
575 diff[i-1] = current-previous;
583 cumSum(INT start_value, INT* diff, INT length, UCHAR *start_adress)
588 start_adress[i]=start_adress[i-1]+diff[i-1];
593 modifyBands(INT max_band_previous, INT * diff, INT length)
595 INT change=max_band_previous-diff[0];
598 if ( change > (diff[length-1] - diff[0]) / 2 )
599 change = (diff[length-1] - diff[0]) / 2;
601 diff[0] += change;
602 diff[length-1] -= change;
603 FDKsbrEnc_Shellsort_int(diff, length);