Home | History | Annotate | Download | only in dsp

Lines Matching defs:in

4 // that can be found in the COPYING file in the root of the source
6 // in the file PATENTS. All contributing project authors may
7 // be found in the AUTHORS file in the root of the source tree.
146 #define LOAD_U32_AS_U8(IN) vreinterpret_u8_u32(vdup_n_u32((IN)))
147 #define LOAD_U32P_AS_U8(IN) vreinterpret_u8_u32(vld1_u32((IN)))
148 #define LOADQ_U32_AS_U8(IN) vreinterpretq_u8_u32(vdupq_n_u32((IN)))
149 #define LOADQ_U32P_AS_U8(IN) vreinterpretq_u8_u32(vld1q_u32((IN)))
150 #define GET_U8_AS_U32(IN) vget_lane_u32(vreinterpret_u32_u8((IN)), 0);
151 #define GETQ_U8_AS_U32(IN) vgetq_lane_u32(vreinterpretq_u32_u8((IN)), 0);
152 #define STOREQ_U8_AS_U32P(OUT, IN) vst1q_u32((OUT), vreinterpretq_u32_u8((IN)));
208 static void PredictorAdd0_NEON(const uint32_t* in, const uint32_t* upper,
213 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]);
217 VP8LPredictorsAdd_C[0](in + i, upper + i, num_pixels - i, out + i);
221 static void PredictorAdd1_NEON(const uint32_t* in, const uint32_t* upper,
227 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]);
240 VP8LPredictorsAdd_C[1](in + i, upper + i, num_pixels - i, out + i);
243 // Macro that adds 32-bit integers from IN using mod 256 arithmetic
245 #define GENERATE_PREDICTOR_1(X, IN) \
246 static void PredictorAdd##X##_NEON(const uint32_t* in, \
251 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]); \
252 const uint8x16_t other = LOADQ_U32P_AS_U8(&(IN)); \
256 VP8LPredictorsAdd_C[(X)](in + i, upper + i, num_pixels - i, out + i); \
275 static void PredictorAdd5_NEON(const uint32_t* in, const uint32_t* upper,
280 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]);
288 VP8LPredictorsAdd_C[5](in + i, upper + i, num_pixels - i, out + i);
300 static void PredictorAdd6_NEON(const uint32_t* in, const uint32_t* upper,
305 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]);
312 VP8LPredictorsAdd_C[6](in + i, upper + i, num_pixels - i, out + i);
316 static void PredictorAdd7_NEON(const uint32_t* in, const uint32_t* upper,
321 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]);
328 VP8LPredictorsAdd_C[7](in + i, upper + i, num_pixels - i, out + i);
332 #define GENERATE_PREDICTOR_2(X, IN) \
333 static void PredictorAdd##X##_NEON(const uint32_t* in, \
338 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]); \
339 const uint8x16_t Tother = LOADQ_U32P_AS_U8(&(IN)); \
345 VP8LPredictorsAdd_C[(X)](in + i, upper + i, num_pixels - i, out + i); \
362 static void PredictorAdd10_NEON(const uint32_t* in, const uint32_t* upper,
367 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]);
377 VP8LPredictorsAdd_C[10](in + i, upper + i, num_pixels - i, out + i);
383 const uint8x16_t sumLin = vaddq_u8(L, src); /* in + L */ \
393 static void PredictorAdd11_NEON(const uint32_t* in, const uint32_t* upper,
403 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]);
404 const uint8x16_t sumTin = vaddq_u8(T, src); // in + T
410 VP8LPredictorsAdd_C[11](in + i, upper + i, num_pixels - i, out + i);
422 /* rotate in the left predictor for next iteration */ \
426 static void PredictorAdd12_NEON(const uint32_t* in, const uint32_t* upper,
432 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]);
446 VP8LPredictorsAdd_C[12](in + i, upper + i, num_pixels - i, out + i);
467 static void PredictorAdd13_NEON(const uint32_t* in, const uint32_t* upper,
472 const uint8x16_t src = LOADQ_U32P_AS_U8(&in[i]);
480 VP8LPredictorsAdd_C[13](in + i, upper + i, num_pixels - i, out + i);
575 const uint8x16_t in = vld1q_u8((const uint8_t*)(src + i));
576 const uint32x4_t a0g0 = vandq_u32(vreinterpretq_u32_u8(in), mask_ag);
578 const uint8x16_t greens = DoGreenShuffle(in, shuffle);
582 const int8x16_t B = vaddq_s8(vreinterpretq_s8_u8(in),