Home | History | Annotate | Download | only in encoder

Lines Matching refs:adj

76   int diff, adj, absdiff, delta;
107 case 7: adj = adj_val[0]; break;
115 case 15: adj = adj_val[1]; break;
116 default: adj = adj_val[2];
119 avg[c] = VPXMIN(UINT8_MAX, sig[c] + adj);
120 total_adj += adj;
122 avg[c] = VPXMAX(0, sig[c] - adj);
123 total_adj -= adj;
152 adj = abs(diff);
153 if (adj > delta) {
154 adj = delta;
160 avg[c] = VPXMAX(0, avg[c] - adj);
161 total_adj -= adj;
166 avg[c] = VPXMIN(UINT8_MAX, avg[c] + adj);
167 total_adj += adj;