Home | History | Annotate | Download | only in dsp

Lines Matching refs:x_out

64   int x_out;
77 for (x_out = 0; x_out < max_span; x_out += 8) {
78 LOAD_32x4(frow + x_out + 0, A0);
79 LOAD_32x4(frow + x_out + 4, A1);
85 vst1_u8(dst + x_out, D);
87 for (; x_out < x_out_max; ++x_out) {
88 const uint32_t J = frow[x_out];
90 dst[x_out] = (v > 255) ? 255u : (uint8_t)v;
95 for (x_out = 0; x_out < max_span; x_out += 8) {
97 Interpolate_NEON(frow + x_out + 0, irow + x_out + 0, A, B);
99 Interpolate_NEON(frow + x_out + 4, irow + x_out + 4, A, B);
105 vst1_u8(dst + x_out, F);
107 for (; x_out < x_out_max; ++x_out) {
108 const uint64_t I = (uint64_t)A * frow[x_out]
109 + (uint64_t)B * irow[x_out];
112 dst[x_out] = (v > 255) ? 255u : (uint8_t)v;
118 int x_out;
133 for (x_out = 0; x_out < max_span; x_out += 8) {
134 LOAD_32x8(frow + x_out, in0, in1);
135 LOAD_32x8(irow + x_out, in2, in3);
145 vst1_u8(dst + x_out, E);
146 STORE_32x8(A0, A1, irow + x_out);
148 for (; x_out < x_out_max; ++x_out) {
149 const uint32_t frac = (uint32_t)MULT_FIX_FLOOR_C(frow[x_out], yscale);
150 const int v = (int)MULT_FIX_C(irow[x_out] - frac, fxy_scale);
151 dst[x_out] = (v > 255) ? 255u : (uint8_t)v;
152 irow[x_out] = frac; // new fractional start
155 for (x_out = 0; x_out < max_span; x_out += 8) {
156 LOAD_32x8(irow + x_out, in0, in1);
162 vst1_u8(dst + x_out, C);
163 STORE_32x8(zero, zero, irow + x_out);
165 for (; x_out < x_out_max; ++x_out) {
166 const int v = (int)MULT_FIX_C(irow[x_out], fxy_scale);
167 dst[x_out] = (v > 255) ? 255u : (uint8_t)v;
168 irow[x_out] = 0;