コード例 #1
0
void aec_rdft_init(void) {
  rftfsub_128 = rftfsub_128_C;
  rftbsub_128 = rftbsub_128_C;
  if (WebRtc_GetCPUInfo(kSSE2)) {
#if defined(__SSE2__)
    aec_rdft_init_sse2();
#endif
  }
  // init library constants.
  makewt_32();
  makect_32();
}
コード例 #2
0
ファイル: aec_rdft.c プロジェクト: Nobu19800/OpenHRIAudio
void aec_rdft_init(void) {
  cft1st_128 = cft1st_128_C;
  cftmdl_128 = cftmdl_128_C;
  rftfsub_128 = rftfsub_128_C;
  rftbsub_128 = rftbsub_128_C;
#if defined(WEBRTC_ARCH_X86_FAMILY)
  if (WebRtc_GetCPUInfo(kSSE2)) {
    aec_rdft_init_sse2();
  }
#endif
  // init library constants.
  makewt_32();
  makect_32();
}
コード例 #3
0
ファイル: aec_rdft.c プロジェクト: nsinha/webrtc
void aec_rdft_init(void) {
  cft1st_128 = cft1st_128_C;
  cftmdl_128 = cftmdl_128_C;
  rftfsub_128 = rftfsub_128_C;
  rftbsub_128 = rftbsub_128_C;
  if (WebRtc_GetCPUInfo(kSSE2)) {
#if defined(WEBRTC_USE_SSE2)
    aec_rdft_init_sse2();
#endif
  }
  // init library constants.
  makewt_32();
  makect_32();
}
コード例 #4
0
ファイル: aec_rdft.c プロジェクト: KerwinMa/webrtc
void aec_rdft_init(void) {
  cft1st_128 = cft1st_128_C;
  cftmdl_128 = cftmdl_128_C;
  rftfsub_128 = rftfsub_128_C;
  rftbsub_128 = rftbsub_128_C;
  cftfsub_128 = cftfsub_128_C;
  cftbsub_128 = cftbsub_128_C;
  bitrv2_128 = bitrv2_128_C;
#if defined(WEBRTC_ARCH_X86_FAMILY)
  if (WebRtc_GetCPUInfo(kSSE2)) {
    aec_rdft_init_sse2();
  }
#endif
#if defined(MIPS_FPU_LE)
  aec_rdft_init_mips();
#endif
#if defined(WEBRTC_DETECT_ARM_NEON) || defined(WEBRTC_ARCH_ARM_NEON)
  aec_rdft_init_neon();
#endif
}