Home | History | Annotate | Download | only in dsp

Lines Matching defs:out

51     int16_t out[16];
53 VP8FTransform(ref + VP8DspScan[j], pred + VP8DspScan[j], out);
57 const int v = abs(out[k]) >> 3; // TODO(skal): add rounding?
135 static void FTransform(const uint8_t* src, const uint8_t* ref, int16_t* out) {
157 out[0 + i] = (a0 + a1 + 7) >> 4; // 12b
158 out[4 + i] = ((a2 * 2217 + a3 * 5352 + 12000) >> 16) + (a3 != 0);
159 out[8 + i] = (a0 - a1 + 7) >> 4;
160 out[12+ i] = ((a3 * 2217 - a2 * 5352 + 51000) >> 16);
164 static void ITransformWHT(const int16_t* in, int16_t* out) {
183 out[ 0] = (a0 + a1) >> 3;
184 out[16] = (a3 + a2) >> 3;
185 out[32] = (a0 - a1) >> 3;
186 out[48] = (a3 - a2) >> 3;
187 out += 64;
191 static void FTransformWHT(const int16_t* in, int16_t* out) {
214 out[ 0 + i] = b0 >> 1; // 15b
215 out[ 4 + i] = b1 >> 1;
216 out[ 8 + i] = b2 >> 1;
217 out[12 + i] = b3 >> 1;
631 static int QuantizeBlock(int16_t in[16], int16_t out[16],
642 out[n] = QUANTDIV(coeff, iQ, B);
643 if (out[n] > MAX_LEVEL) out[n] = MAX_LEVEL;
644 if (sign) out[n] = -out[n];
645 in[j] = out[n] * Q;
646 if (out[n]) last = n;
648 out[n] = 0;