Home
last modified time | relevance | path

Searched refs:cospi (Results 1 – 24 of 24) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dav1_fwd_txfm1d.c19 const int32_t *cospi; in av1_fdct4_new() local
39 cospi = cospi_arr(cos_bit); in av1_fdct4_new()
42 bf1[0] = half_btf(cospi[32], bf0[0], cospi[32], bf0[1], cos_bit); in av1_fdct4_new()
43 bf1[1] = half_btf(-cospi[32], bf0[1], cospi[32], bf0[0], cos_bit); in av1_fdct4_new()
44 bf1[2] = half_btf(cospi[48], bf0[2], cospi[16], bf0[3], cos_bit); in av1_fdct4_new()
45 bf1[3] = half_btf(cospi[48], bf0[3], -cospi[16], bf0[2], cos_bit); in av1_fdct4_new()
62 const int32_t *cospi; in av1_fdct8_new() local
86 cospi = cospi_arr(cos_bit); in av1_fdct8_new()
94 bf1[5] = half_btf(-cospi[32], bf0[5], cospi[32], bf0[6], cos_bit); in av1_fdct8_new()
95 bf1[6] = half_btf(cospi[32], bf0[6], cospi[32], bf0[5], cos_bit); in av1_fdct8_new()
[all …]
/external/libaom/libaom/av1/common/x86/
Dav1_inv_txfm_avx2.c27 static INLINE void idct16_stage5_avx2(__m256i *x1, const int32_t *cospi, in idct16_stage5_avx2() argument
29 const __m256i cospi_m32_p32 = pair_set_w16_epi16(-cospi[32], cospi[32]); in idct16_stage5_avx2()
30 const __m256i cospi_p32_p32 = pair_set_w16_epi16(cospi[32], cospi[32]); in idct16_stage5_avx2()
41 static INLINE void idct16_stage6_avx2(__m256i *x, const int32_t *cospi, in idct16_stage6_avx2() argument
43 const __m256i cospi_m32_p32 = pair_set_w16_epi16(-cospi[32], cospi[32]); in idct16_stage6_avx2()
44 const __m256i cospi_p32_p32 = pair_set_w16_epi16(cospi[32], cospi[32]); in idct16_stage6_avx2()
67 const int32_t *cospi = cospi_arr(INV_COS_BIT); in idct16_new_avx2() local
70 __m256i cospi_p60_m04 = pair_set_w16_epi16(cospi[60], -cospi[4]); in idct16_new_avx2()
71 __m256i cospi_p04_p60 = pair_set_w16_epi16(cospi[4], cospi[60]); in idct16_new_avx2()
72 __m256i cospi_p28_m36 = pair_set_w16_epi16(cospi[28], -cospi[36]); in idct16_new_avx2()
[all …]
Dav1_inv_txfm_ssse3.c30 const int32_t *cospi = cospi_arr(INV_COS_BIT); in idct4_new_sse2() local
33 const __m128i cospi_p32_p32 = pair_set_epi16(cospi[32], cospi[32]); in idct4_new_sse2()
34 const __m128i cospi_p32_m32 = pair_set_epi16(cospi[32], -cospi[32]); in idct4_new_sse2()
35 const __m128i cospi_p48_m16 = pair_set_epi16(cospi[48], -cospi[16]); in idct4_new_sse2()
36 const __m128i cospi_p16_p48 = pair_set_epi16(cospi[16], cospi[48]); in idct4_new_sse2()
56 const int32_t *cospi = cospi_arr(INV_COS_BIT); in idct4_w4_new_sse2() local
59 const __m128i cospi_p32_p32 = pair_set_epi16(cospi[32], cospi[32]); in idct4_w4_new_sse2()
60 const __m128i cospi_p32_m32 = pair_set_epi16(cospi[32], -cospi[32]); in idct4_w4_new_sse2()
61 const __m128i cospi_p48_m16 = pair_set_epi16(cospi[48], -cospi[16]); in idct4_w4_new_sse2()
62 const __m128i cospi_p16_p48 = pair_set_epi16(cospi[16], cospi[48]); in idct4_w4_new_sse2()
[all …]
Dhighbd_inv_txfm_avx2.c465 const int32_t *cospi = cospi_arr(bit); in idct32_low1_avx2() local
466 const __m256i cospi32 = _mm256_set1_epi32(cospi[32]); in idct32_low1_avx2()
538 const int32_t *cospi = cospi_arr(bit); in idct32_low8_avx2() local
539 const __m256i cospi62 = _mm256_set1_epi32(cospi[62]); in idct32_low8_avx2()
540 const __m256i cospi14 = _mm256_set1_epi32(cospi[14]); in idct32_low8_avx2()
541 const __m256i cospi54 = _mm256_set1_epi32(cospi[54]); in idct32_low8_avx2()
542 const __m256i cospi6 = _mm256_set1_epi32(cospi[6]); in idct32_low8_avx2()
543 const __m256i cospi10 = _mm256_set1_epi32(cospi[10]); in idct32_low8_avx2()
544 const __m256i cospi2 = _mm256_set1_epi32(cospi[2]); in idct32_low8_avx2()
545 const __m256i cospim58 = _mm256_set1_epi32(-cospi[58]); in idct32_low8_avx2()
[all …]
Dhighbd_inv_txfm_sse4.c384 const int32_t *cospi = cospi_arr(bit); in idct4x4_sse4_1() local
385 const __m128i cospi32 = _mm_set1_epi32(cospi[32]); in idct4x4_sse4_1()
386 const __m128i cospi48 = _mm_set1_epi32(cospi[48]); in idct4x4_sse4_1()
387 const __m128i cospi16 = _mm_set1_epi32(cospi[16]); in idct4x4_sse4_1()
388 const __m128i cospim16 = _mm_set1_epi32(-cospi[16]); in idct4x4_sse4_1()
776 const int32_t *cospi = cospi_arr(bit); in idct8x8_sse4_1() local
777 const __m128i cospi56 = _mm_set1_epi32(cospi[56]); in idct8x8_sse4_1()
778 const __m128i cospim8 = _mm_set1_epi32(-cospi[8]); in idct8x8_sse4_1()
779 const __m128i cospi24 = _mm_set1_epi32(cospi[24]); in idct8x8_sse4_1()
780 const __m128i cospim40 = _mm_set1_epi32(-cospi[40]); in idct8x8_sse4_1()
[all …]
/external/libaom/libaom/av1/common/
Dav1_inv_txfm1d.c23 const int32_t *cospi = cospi_arr(cos_bit); in av1_idct4_new() local
44 bf1[0] = half_btf(cospi[32], bf0[0], cospi[32], bf0[1], cos_bit); in av1_idct4_new()
45 bf1[1] = half_btf(cospi[32], bf0[0], -cospi[32], bf0[1], cos_bit); in av1_idct4_new()
46 bf1[2] = half_btf(cospi[48], bf0[2], -cospi[16], bf0[3], cos_bit); in av1_idct4_new()
47 bf1[3] = half_btf(cospi[16], bf0[2], cospi[48], bf0[3], cos_bit); in av1_idct4_new()
64 const int32_t *cospi = cospi_arr(cos_bit); in av1_idct8_new() local
93 bf1[4] = half_btf(cospi[56], bf0[4], -cospi[8], bf0[7], cos_bit); in av1_idct8_new()
94 bf1[5] = half_btf(cospi[24], bf0[5], -cospi[40], bf0[6], cos_bit); in av1_idct8_new()
95 bf1[6] = half_btf(cospi[40], bf0[5], cospi[24], bf0[6], cos_bit); in av1_idct8_new()
96 bf1[7] = half_btf(cospi[8], bf0[4], cospi[56], bf0[7], cos_bit); in av1_idct8_new()
[all …]
/external/libaom/libaom/av1/encoder/x86/
Dav1_fwd_txfm2d_avx2.c25 const int32_t *cospi = cospi_arr(cos_bit); in fdct16x16_new_avx2() local
28 __m256i cospi_m32_p32 = pair_set_w16_epi16(-cospi[32], cospi[32]); in fdct16x16_new_avx2()
29 __m256i cospi_p32_p32 = pair_set_w16_epi16(cospi[32], cospi[32]); in fdct16x16_new_avx2()
30 __m256i cospi_p32_m32 = pair_set_w16_epi16(cospi[32], -cospi[32]); in fdct16x16_new_avx2()
31 __m256i cospi_p48_p16 = pair_set_w16_epi16(cospi[48], cospi[16]); in fdct16x16_new_avx2()
32 __m256i cospi_m16_p48 = pair_set_w16_epi16(-cospi[16], cospi[48]); in fdct16x16_new_avx2()
33 __m256i cospi_m48_m16 = pair_set_w16_epi16(-cospi[48], -cospi[16]); in fdct16x16_new_avx2()
34 __m256i cospi_p56_p08 = pair_set_w16_epi16(cospi[56], cospi[8]); in fdct16x16_new_avx2()
35 __m256i cospi_m08_p56 = pair_set_w16_epi16(-cospi[8], cospi[56]); in fdct16x16_new_avx2()
36 __m256i cospi_p24_p40 = pair_set_w16_epi16(cospi[24], cospi[40]); in fdct16x16_new_avx2()
[all …]
Dav1_fwd_txfm_sse2.c20 const int32_t *cospi = cospi_arr(cos_bit); in fdct4x4_new_sse2() local
21 const __m128i cospi_p32_p32 = pair_set_epi16(cospi[32], cospi[32]); in fdct4x4_new_sse2()
22 const __m128i cospi_p32_m32 = pair_set_epi16(cospi[32], -cospi[32]); in fdct4x4_new_sse2()
23 const __m128i cospi_p16_p48 = pair_set_epi16(cospi[16], cospi[48]); in fdct4x4_new_sse2()
24 const __m128i cospi_p48_m16 = pair_set_epi16(cospi[48], -cospi[16]); in fdct4x4_new_sse2()
56 const int32_t *cospi = cospi_arr(cos_bit); in fdct8x4_new_sse2() local
59 __m128i cospi_p32_p32 = pair_set_epi16(cospi[32], cospi[32]); in fdct8x4_new_sse2()
60 __m128i cospi_p32_m32 = pair_set_epi16(cospi[32], -cospi[32]); in fdct8x4_new_sse2()
61 __m128i cospi_p48_p16 = pair_set_epi16(cospi[48], cospi[16]); in fdct8x4_new_sse2()
62 __m128i cospi_m16_p48 = pair_set_epi16(-cospi[16], cospi[48]); in fdct8x4_new_sse2()
[all …]
Dav1_fwd_txfm1d_sse4.c18 const int32_t *cospi; in av1_fdct32_new_sse4_1() local
88 cospi = cospi_arr(cos_bit); in av1_fdct32_new_sse4_1()
109 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf1[20], buf1[27], buf0[20], in av1_fdct32_new_sse4_1()
111 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf1[21], buf1[26], buf0[21], in av1_fdct32_new_sse4_1()
113 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf1[22], buf1[25], buf0[22], in av1_fdct32_new_sse4_1()
115 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf1[23], buf1[24], buf0[23], in av1_fdct32_new_sse4_1()
123 cospi = cospi_arr(cos_bit); in av1_fdct32_new_sse4_1()
134 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf0[10], buf0[13], buf1[10], in av1_fdct32_new_sse4_1()
136 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf0[11], buf0[12], buf1[11], in av1_fdct32_new_sse4_1()
158 cospi = cospi_arr(cos_bit); in av1_fdct32_new_sse4_1()
[all …]
Dhighbd_fwd_txfm_avx2.c258 const int32_t *cospi = cospi_arr(bit); in av1_fdct8_avx2() local
259 const __m256i cospi32 = _mm256_set1_epi32(cospi[32]); in av1_fdct8_avx2()
260 const __m256i cospim32 = _mm256_set1_epi32(-cospi[32]); in av1_fdct8_avx2()
261 const __m256i cospi48 = _mm256_set1_epi32(cospi[48]); in av1_fdct8_avx2()
262 const __m256i cospi16 = _mm256_set1_epi32(cospi[16]); in av1_fdct8_avx2()
263 const __m256i cospi56 = _mm256_set1_epi32(cospi[56]); in av1_fdct8_avx2()
264 const __m256i cospi8 = _mm256_set1_epi32(cospi[8]); in av1_fdct8_avx2()
265 const __m256i cospi24 = _mm256_set1_epi32(cospi[24]); in av1_fdct8_avx2()
266 const __m256i cospi40 = _mm256_set1_epi32(cospi[40]); in av1_fdct8_avx2()
360 const int32_t *cospi = cospi_arr(bit); in av1_fadst8_avx2() local
[all …]
Dhighbd_fwd_txfm_sse4.c64 const int32_t *cospi = cospi_arr(bit); in fdct4x4_sse4_1() local
65 const __m128i cospi32 = _mm_set1_epi32(cospi[32]); in fdct4x4_sse4_1()
66 const __m128i cospi48 = _mm_set1_epi32(cospi[48]); in fdct4x4_sse4_1()
67 const __m128i cospi16 = _mm_set1_epi32(cospi[16]); in fdct4x4_sse4_1()
517 const int32_t *cospi = cospi_arr(bit); in fdct4x8_sse4_1() local
518 const __m128i cospi32 = _mm_set1_epi32(cospi[32]); in fdct4x8_sse4_1()
519 const __m128i cospim32 = _mm_set1_epi32(-cospi[32]); in fdct4x8_sse4_1()
520 const __m128i cospi48 = _mm_set1_epi32(cospi[48]); in fdct4x8_sse4_1()
521 const __m128i cospi16 = _mm_set1_epi32(cospi[16]); in fdct4x8_sse4_1()
522 const __m128i cospi56 = _mm_set1_epi32(cospi[56]); in fdct4x8_sse4_1()
[all …]
/external/libaom/libaom/av1/common/arm/
Dav1_inv_txfm_neon.c265 const int32_t *cospi = cospi_arr(cos_bit); in iadst8_new_neon() local
268 create_s16x4_neon((int16_t *)(cospi + 4), (int16_t *)(cospi + 60), in iadst8_new_neon()
269 (int16_t *)(cospi + 20), (int16_t *)(cospi + 44)); in iadst8_new_neon()
271 create_s16x4_neon((int16_t *)(cospi + 36), (int16_t *)(cospi + 28), in iadst8_new_neon()
272 (int16_t *)(cospi + 52), (int16_t *)(cospi + 12)); in iadst8_new_neon()
274 create_s16x4_neon((int16_t *)(cospi + 32), (int16_t *)(cospi + 32), in iadst8_new_neon()
275 (int16_t *)(cospi + 16), (int16_t *)(cospi + 48)); in iadst8_new_neon()
342 const int32_t *cospi = cospi_arr(cos_bit); in iadst8_low1_new_neon() local
344 create_s16x4_neon((int16_t *)(cospi + 32), (int16_t *)(cospi + 32), in iadst8_low1_new_neon()
345 (int16_t *)(cospi + 16), (int16_t *)(cospi + 48)); in iadst8_low1_new_neon()
[all …]
/external/libvpx/libvpx/vpx_dsp/ppc/
Dinv_txfm_vsx.c277 #define STEP8_1(inpt0, inpt1, outpt0, outpt1, cospi) \ argument
282 temp10 = vec_mule(tmp16_0, cospi); \
283 temp11 = vec_mule(tmp16_1, cospi); \
287 temp10 = vec_mulo(tmp16_0, cospi); \
288 temp11 = vec_mulo(tmp16_1, cospi); \
409 #define STEP16_1(inpt0, inpt1, outpt0, outpt1, cospi) \ argument
412 temp10 = vec_mule(tmp16_0, cospi); \
413 temp11 = vec_mule(tmp16_1, cospi); \
414 temp20 = vec_mulo(tmp16_0, cospi); \
415 temp21 = vec_mulo(tmp16_1, cospi); \
[all …]
/external/clang/lib/Headers/
D__clang_cuda_runtime_wrapper.h173 static inline float cospi(float __a) { return cospif(__a); } in cospi() function
Dopencl-c.h7876 float __ovld __cnfn cospi(float x);
7877 float2 __ovld __cnfn cospi(float2 x);
7878 float3 __ovld __cnfn cospi(float3 x);
7879 float4 __ovld __cnfn cospi(float4 x);
7880 float8 __ovld __cnfn cospi(float8 x);
7881 float16 __ovld __cnfn cospi(float16 x);
7883 double __ovld __cnfn cospi(double x);
7884 double2 __ovld __cnfn cospi(double2 x);
7885 double3 __ovld __cnfn cospi(double3 x);
7886 double4 __ovld __cnfn cospi(double4 x);
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_inv_txfm_sse2.h79 const __m128i cospi) { in multiply_apply_sign_sse2() argument
80 __m128i out = _mm_mul_epu32(in, cospi); in multiply_apply_sign_sse2()
Dinv_txfm_sse2.h66 const __m128i cospi) { in idct_madd_round_shift_sse2() argument
67 const __m128i t = _mm_madd_epi16(in, cospi); in idct_madd_round_shift_sse2()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dext_inst.opencl_test.cpp116 CASE1(Cospi, cospi),
/external/deqp-deps/SPIRV-Tools/test/
Dext_inst.opencl_test.cpp116 CASE1(Cospi, cospi),
/external/llvm/lib/Analysis/
DTargetLibraryInfo.cpp101 TLI.setUnavailable(LibFunc::cospi); in initialize()
978 case LibFunc::cospi: in isValidProtoForLibFunc()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1468 else if (Func == LibFunc::cospi) in classifyArgUse()
2023 case LibFunc::cospi: in optimizeCall()
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h764 sigma=gamma*cospi((2.0f*beta));
805 cospi((2.0f*beta))/2.0f);
/external/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def165 TLI_DEFINE_ENUM_INTERNAL(cospi)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def255 TLI_DEFINE_ENUM_INTERNAL(cospi)