Lines Matching refs:adj
78 int diff, adj, absdiff, delta;
109 case 7: adj = adj_val[0]; break;
117 case 15: adj = adj_val[1]; break;
118 default: adj = adj_val[2];
121 avg[c] = VPXMIN(UINT8_MAX, sig[c] + adj);
122 total_adj += adj;
124 avg[c] = VPXMAX(0, sig[c] - adj);
125 total_adj -= adj;
154 adj = abs(diff);
155 if (adj > delta) {
156 adj = delta;
162 avg[c] = VPXMAX(0, avg[c] - adj);
163 total_adj -= adj;
168 avg[c] = VPXMIN(UINT8_MAX, avg[c] + adj);
169 total_adj += adj;