Home
last modified time | relevance | path

Searched refs:MAX_Y (Results 1 – 3 of 3) sorted by relevance

/external/webp/src/dsp/
Dyuv_neon.c178 #define MAX_Y ((1 << 10) - 1) // 10b precision over 16b-arithmetic macro
180 return (v < 0) ? 0 : (v > MAX_Y) ? MAX_Y : (uint16_t)v; in clip_y_NEON()
187 const int16x8_t max = vdupq_n_s16(MAX_Y); in SharpYUVUpdateY_NEON()
233 const int16x8_t max = vdupq_n_s16(MAX_Y); in SharpYUVFilterRow_NEON()
271 #undef MAX_Y
Dyuv.c198 #define MAX_Y ((1 << 10) - 1) // 10b precision over 16b-arithmetic macro
200 return (v < 0) ? 0 : (v > MAX_Y) ? MAX_Y : (uint16_t)v; in clip_y()
237 #undef MAX_Y
Dyuv_sse2.c752 #define MAX_Y ((1 << 10) - 1) // 10b precision over 16b-arithmetic macro
754 return (v < 0) ? 0 : (v > MAX_Y) ? MAX_Y : (uint16_t)v; in clip_y()
763 const __m128i max = _mm_set1_epi16(MAX_Y); in SharpYUVUpdateY_SSE2()
812 const __m128i max = _mm_set1_epi16(MAX_Y); in SharpYUVFilterRow_SSE2()
856 #undef MAX_Y