/external/libaom/libaom/av1/encoder/ |
D | av1_fwd_txfm1d.c | 19 const int32_t *cospi; in av1_fdct4() local 39 cospi = cospi_arr(cos_bit); in av1_fdct4() 42 bf1[0] = half_btf(cospi[32], bf0[0], cospi[32], bf0[1], cos_bit); in av1_fdct4() 43 bf1[1] = half_btf(-cospi[32], bf0[1], cospi[32], bf0[0], cos_bit); in av1_fdct4() 44 bf1[2] = half_btf(cospi[48], bf0[2], cospi[16], bf0[3], cos_bit); in av1_fdct4() 45 bf1[3] = half_btf(cospi[48], bf0[3], -cospi[16], bf0[2], cos_bit); in av1_fdct4() 62 const int32_t *cospi; in av1_fdct8() local 86 cospi = cospi_arr(cos_bit); in av1_fdct8() 94 bf1[5] = half_btf(-cospi[32], bf0[5], cospi[32], bf0[6], cos_bit); in av1_fdct8() 95 bf1[6] = half_btf(cospi[32], bf0[6], cospi[32], bf0[5], cos_bit); in av1_fdct8() [all …]
|
/external/libaom/libaom/av1/common/x86/ |
D | av1_inv_txfm_avx2.c | 27 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() 66 const int32_t *cospi = cospi_arr(INV_COS_BIT); in idct16_avx2() local 69 __m256i cospi_p60_m04 = pair_set_w16_epi16(cospi[60], -cospi[4]); in idct16_avx2() 70 __m256i cospi_p04_p60 = pair_set_w16_epi16(cospi[4], cospi[60]); in idct16_avx2() 71 __m256i cospi_p28_m36 = pair_set_w16_epi16(cospi[28], -cospi[36]); in idct16_avx2() [all …]
|
D | av1_inv_txfm_ssse3.c | 29 const int32_t *cospi = cospi_arr(INV_COS_BIT); in idct4_sse2() local 32 const __m128i cospi_p32_p32 = pair_set_epi16(cospi[32], cospi[32]); in idct4_sse2() 33 const __m128i cospi_p32_m32 = pair_set_epi16(cospi[32], -cospi[32]); in idct4_sse2() 34 const __m128i cospi_p48_m16 = pair_set_epi16(cospi[48], -cospi[16]); in idct4_sse2() 35 const __m128i cospi_p16_p48 = pair_set_epi16(cospi[16], cospi[48]); in idct4_sse2() 56 const int32_t *cospi = cospi_arr(INV_COS_BIT); in idct4_w4_sse2() local 59 const __m128i cospi_p32_p32 = pair_set_epi16(cospi[32], cospi[32]); in idct4_w4_sse2() 60 const __m128i cospi_p32_m32 = pair_set_epi16(cospi[32], -cospi[32]); in idct4_w4_sse2() 61 const __m128i cospi_p48_m16 = pair_set_epi16(cospi[48], -cospi[16]); in idct4_w4_sse2() 62 const __m128i cospi_p16_p48 = pair_set_epi16(cospi[16], cospi[48]); in idct4_w4_sse2() [all …]
|
D | highbd_inv_txfm_avx2.c | 445 const int32_t *cospi = cospi_arr(bit); in idct32_low1_avx2() local 446 const __m256i cospi32 = _mm256_set1_epi32(cospi[32]); in idct32_low1_avx2() 512 const int32_t *cospi = cospi_arr(bit); in idct32_low8_avx2() local 513 const __m256i cospi62 = _mm256_set1_epi32(cospi[62]); in idct32_low8_avx2() 514 const __m256i cospi14 = _mm256_set1_epi32(cospi[14]); in idct32_low8_avx2() 515 const __m256i cospi54 = _mm256_set1_epi32(cospi[54]); in idct32_low8_avx2() 516 const __m256i cospi6 = _mm256_set1_epi32(cospi[6]); in idct32_low8_avx2() 517 const __m256i cospi10 = _mm256_set1_epi32(cospi[10]); in idct32_low8_avx2() 518 const __m256i cospi2 = _mm256_set1_epi32(cospi[2]); in idct32_low8_avx2() 519 const __m256i cospim58 = _mm256_set1_epi32(-cospi[58]); in idct32_low8_avx2() [all …]
|
D | highbd_inv_txfm_sse4.c | 388 const int32_t *cospi = cospi_arr(bit); in idct4x4_sse4_1() local 389 const __m128i cospi32 = _mm_set1_epi32(cospi[32]); in idct4x4_sse4_1() 390 const __m128i cospi48 = _mm_set1_epi32(cospi[48]); in idct4x4_sse4_1() 391 const __m128i cospi16 = _mm_set1_epi32(cospi[16]); in idct4x4_sse4_1() 392 const __m128i cospim16 = _mm_set1_epi32(-cospi[16]); in idct4x4_sse4_1() 813 const int32_t *cospi = cospi_arr(bit); in idct8x8_sse4_1() local 814 const __m128i cospi56 = _mm_set1_epi32(cospi[56]); in idct8x8_sse4_1() 815 const __m128i cospim8 = _mm_set1_epi32(-cospi[8]); in idct8x8_sse4_1() 816 const __m128i cospi24 = _mm_set1_epi32(cospi[24]); in idct8x8_sse4_1() 817 const __m128i cospim40 = _mm_set1_epi32(-cospi[40]); in idct8x8_sse4_1() [all …]
|
/external/libaom/libaom/av1/common/ |
D | av1_inv_txfm1d.c | 20 const int32_t *cospi = cospi_arr(cos_bit); in av1_idct4() local 41 bf1[0] = half_btf(cospi[32], bf0[0], cospi[32], bf0[1], cos_bit); in av1_idct4() 42 bf1[1] = half_btf(cospi[32], bf0[0], -cospi[32], bf0[1], cos_bit); in av1_idct4() 43 bf1[2] = half_btf(cospi[48], bf0[2], -cospi[16], bf0[3], cos_bit); in av1_idct4() 44 bf1[3] = half_btf(cospi[16], bf0[2], cospi[48], bf0[3], cos_bit); in av1_idct4() 61 const int32_t *cospi = cospi_arr(cos_bit); in av1_idct8() local 90 bf1[4] = half_btf(cospi[56], bf0[4], -cospi[8], bf0[7], cos_bit); in av1_idct8() 91 bf1[5] = half_btf(cospi[24], bf0[5], -cospi[40], bf0[6], cos_bit); in av1_idct8() 92 bf1[6] = half_btf(cospi[40], bf0[5], cospi[24], bf0[6], cos_bit); in av1_idct8() 93 bf1[7] = half_btf(cospi[8], bf0[4], cospi[56], bf0[7], cos_bit); in av1_idct8() [all …]
|
/external/libaom/libaom/av1/encoder/x86/ |
D | av1_fwd_txfm2d_avx2.c | 25 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 …]
|
D | av1_fwd_txfm_sse2.c | 20 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 …]
|
D | av1_fwd_txfm1d_sse4.c | 18 const int32_t *cospi; in av1_fdct32_sse4_1() local 88 cospi = cospi_arr(cos_bit); in av1_fdct32_sse4_1() 109 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf1[20], buf1[27], buf0[20], in av1_fdct32_sse4_1() 111 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf1[21], buf1[26], buf0[21], in av1_fdct32_sse4_1() 113 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf1[22], buf1[25], buf0[22], in av1_fdct32_sse4_1() 115 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf1[23], buf1[24], buf0[23], in av1_fdct32_sse4_1() 123 cospi = cospi_arr(cos_bit); in av1_fdct32_sse4_1() 134 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf0[10], buf0[13], buf1[10], in av1_fdct32_sse4_1() 136 btf_32_sse4_1_type0(-cospi[32], cospi[32], buf0[11], buf0[12], buf1[11], in av1_fdct32_sse4_1() 158 cospi = cospi_arr(cos_bit); in av1_fdct32_sse4_1() [all …]
|
D | highbd_fwd_txfm_avx2.c | 257 const int32_t *cospi = cospi_arr(bit); in fdct8_avx2() local 258 const __m256i cospi32 = _mm256_set1_epi32(cospi[32]); in fdct8_avx2() 259 const __m256i cospim32 = _mm256_set1_epi32(-cospi[32]); in fdct8_avx2() 260 const __m256i cospi48 = _mm256_set1_epi32(cospi[48]); in fdct8_avx2() 261 const __m256i cospi16 = _mm256_set1_epi32(cospi[16]); in fdct8_avx2() 262 const __m256i cospi56 = _mm256_set1_epi32(cospi[56]); in fdct8_avx2() 263 const __m256i cospi8 = _mm256_set1_epi32(cospi[8]); in fdct8_avx2() 264 const __m256i cospi24 = _mm256_set1_epi32(cospi[24]); in fdct8_avx2() 265 const __m256i cospi40 = _mm256_set1_epi32(cospi[40]); in fdct8_avx2() 359 const int32_t *cospi = cospi_arr(bit); in fadst8_avx2() local [all …]
|
D | highbd_fwd_txfm_sse4.c | 64 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/ |
D | av1_inv_txfm_neon.c | 264 const int32_t *cospi = cospi_arr(cos_bit); in iadst8_neon() local 266 const int16x4_t c0 = set_s16x4_neon((int16_t)cospi[4], (int16_t)cospi[60], in iadst8_neon() 267 (int16_t)cospi[20], (int16_t)cospi[44]); in iadst8_neon() 268 const int16x4_t c1 = set_s16x4_neon((int16_t)cospi[36], (int16_t)cospi[28], in iadst8_neon() 269 (int16_t)cospi[52], (int16_t)cospi[12]); in iadst8_neon() 270 const int16x4_t c2 = set_s16x4_neon((int16_t)cospi[32], (int16_t)cospi[32], in iadst8_neon() 271 (int16_t)cospi[16], (int16_t)cospi[48]); in iadst8_neon() 338 const int32_t *cospi = cospi_arr(cos_bit); in iadst8_low1_neon() local 339 const int16x4_t c2 = set_s16x4_neon((int16_t)cospi[32], (int16_t)cospi[32], in iadst8_low1_neon() 340 (int16_t)cospi[16], (int16_t)cospi[48]); in iadst8_low1_neon() [all …]
|
/external/OpenCL-CTS/test_conformance/clcpp/math_funcs/ |
D | trigonometric_funcs.hpp | 40 MATH_FUNCS_DEFINE_UNARY_FUNC(trigonometric, cospi, reference::cospi, true, 4.0f, 4.0f, 0.001f, -0.2…
|
D | reference.hpp | 274 cl_double cospi(cl_double x) in cospi() function
|
/external/libvpx/libvpx/vpx_dsp/ppc/ |
D | inv_txfm_vsx.c | 277 #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.h | 173 static inline float cospi(float __a) { return cospif(__a); } in cospi() function
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | highbd_inv_txfm_sse2.h | 79 const __m128i cospi) { in multiply_apply_sign_sse2() argument 80 __m128i out = _mm_mul_epu32(in, cospi); in multiply_apply_sign_sse2()
|
D | inv_txfm_sse2.h | 66 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/OpenCL-CTS/test_conformance/math_brute_force/ |
D | FunctionList.cpp | 111 … ENTRY( cospi, 4.0f, 4.0f, FTZ_OFF, unaryF),
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | ext_inst.opencl_test.cpp | 117 CASE1(Cospi, cospi),
|
/external/angle/third_party/spirv-tools/src/test/ |
D | ext_inst.opencl_test.cpp | 117 CASE1(Cospi, cospi),
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | ext_inst.opencl_test.cpp | 117 CASE1(Cospi, cospi),
|
/external/llvm/lib/Analysis/ |
D | TargetLibraryInfo.cpp | 101 TLI.setUnavailable(LibFunc::cospi); in initialize() 978 case LibFunc::cospi: in isValidProtoForLibFunc()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1468 else if (Func == LibFunc::cospi) in classifyArgUse() 2023 case LibFunc::cospi: in optimizeCall()
|
/external/ImageMagick/MagickCore/ |
D | accelerate-kernels-private.h | 764 sigma=gamma*cospi((2.0f*beta)); 805 cospi((2.0f*beta))/2.0f);
|