OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:WEBP_RESCALER_RFIX
(Results
1 - 5
of
5
) sorted by null
/external/webp/src/utils/
rescaler.h
23
#define
WEBP_RESCALER_RFIX
32 // fixed-point precision for multiplies
24
#define WEBP_RESCALER_ONE (1ull <<
WEBP_RESCALER_RFIX
)
26
((uint32_t)(((uint64_t)(x) <<
WEBP_RESCALER_RFIX
) / (y)))
/external/webp/src/dsp/
rescaler_sse2.c
26
#define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >>
WEBP_RESCALER_RFIX
)
210
const __m128i D0 = _mm_srli_epi64(C0,
WEBP_RESCALER_RFIX
);
211
const __m128i D1 = _mm_srli_epi64(C1,
WEBP_RESCALER_RFIX
);
214
_mm_and_si128(_mm_slli_epi64(C2, 32 -
WEBP_RESCALER_RFIX
), mask);
216
_mm_and_si128(_mm_slli_epi64(C3, 32 -
WEBP_RESCALER_RFIX
), mask);
270
const __m128i E0 = _mm_srli_epi64(D0,
WEBP_RESCALER_RFIX
);
271
const __m128i E1 = _mm_srli_epi64(D1,
WEBP_RESCALER_RFIX
);
272
const __m128i E2 = _mm_srli_epi64(D2,
WEBP_RESCALER_RFIX
);
273
const __m128i E3 = _mm_srli_epi64(D3,
WEBP_RESCALER_RFIX
);
280
const uint32_t J = (uint32_t)((I + ROUNDER) >>
WEBP_RESCALER_RFIX
);
[
all
...]
rescaler_neon.c
24
#define MULT_FIX_C(x, y) (((uint64_t)(x) * (y) + ROUNDER) >>
WEBP_RESCALER_RFIX
)
36
#if (
WEBP_RESCALER_RFIX
== 32)
41
#error "MULT_FIX/
WEBP_RESCALER_RFIX
need some more work"
54
vrshrn_n_u64(D0,
WEBP_RESCALER_RFIX
),
55
vrshrn_n_u64(D1,
WEBP_RESCALER_RFIX
));
107
const uint32_t J = (uint32_t)((I + ROUNDER) >>
WEBP_RESCALER_RFIX
);
rescaler.c
23
#define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >>
WEBP_RESCALER_RFIX
)
118
const uint32_t J = (uint32_t)((I + ROUNDER) >>
WEBP_RESCALER_RFIX
);
rescaler_mips_dsp_r2.c
22
#define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >>
WEBP_RESCALER_RFIX
)
289
const uint32_t J = (uint32_t)((I + ROUNDER) >>
WEBP_RESCALER_RFIX
);
Completed in 2394 milliseconds