arm_const_structs_f16.h 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /* ----------------------------------------------------------------------
  2. * Project: CMSIS DSP Library
  3. * Title: arm_const_structs_f16.h
  4. * Description: Constant structs that are initialized for user convenience.
  5. * For example, some can be given as arguments to the arm_cfft_f16() function.
  6. *
  7. * @version V1.10.0
  8. * @date 08 July 2021
  9. *
  10. * Target Processor: Cortex-M and Cortex-A cores
  11. * -------------------------------------------------------------------- */
  12. /*
  13. * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
  14. *
  15. * SPDX-License-Identifier: Apache-2.0
  16. *
  17. * Licensed under the Apache License, Version 2.0 (the License); you may
  18. * not use this file except in compliance with the License.
  19. * You may obtain a copy of the License at
  20. *
  21. * www.apache.org/licenses/LICENSE-2.0
  22. *
  23. * Unless required by applicable law or agreed to in writing, software
  24. * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  25. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  26. * See the License for the specific language governing permissions and
  27. * limitations under the License.
  28. */
  29. #ifndef _ARM_CONST_STRUCTS_F16_H
  30. #define _ARM_CONST_STRUCTS_F16_H
  31. #include "arm_math_types_f16.h"
  32. #include "arm_common_tables.h"
  33. #include "arm_common_tables_f16.h"
  34. #include "dsp/transform_functions_f16.h"
  35. #ifdef __cplusplus
  36. extern "C"
  37. {
  38. #endif
  39. #if !defined(__CC_ARM) && defined(ARM_FLOAT16_SUPPORTED)
  40. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || (defined(ARM_TABLE_TWIDDLECOEF_F16_16) && defined(ARM_TABLE_BITREVIDX_FLT_16))
  41. extern const arm_cfft_instance_f16 arm_cfft_sR_f16_len16;
  42. #endif
  43. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || (defined(ARM_TABLE_TWIDDLECOEF_F16_32) && defined(ARM_TABLE_BITREVIDX_FLT_32))
  44. extern const arm_cfft_instance_f16 arm_cfft_sR_f16_len32;
  45. #endif
  46. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || (defined(ARM_TABLE_TWIDDLECOEF_F16_64) && defined(ARM_TABLE_BITREVIDX_FLT_64))
  47. extern const arm_cfft_instance_f16 arm_cfft_sR_f16_len64;
  48. #endif
  49. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || (defined(ARM_TABLE_TWIDDLECOEF_F16_128) && defined(ARM_TABLE_BITREVIDX_FLT_128))
  50. extern const arm_cfft_instance_f16 arm_cfft_sR_f16_len128;
  51. #endif
  52. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || (defined(ARM_TABLE_TWIDDLECOEF_F16_256) && defined(ARM_TABLE_BITREVIDX_FLT_256))
  53. extern const arm_cfft_instance_f16 arm_cfft_sR_f16_len256;
  54. #endif
  55. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || (defined(ARM_TABLE_TWIDDLECOEF_F16_512) && defined(ARM_TABLE_BITREVIDX_FLT_512))
  56. extern const arm_cfft_instance_f16 arm_cfft_sR_f16_len512;
  57. #endif
  58. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || (defined(ARM_TABLE_TWIDDLECOEF_F16_1024) && defined(ARM_TABLE_BITREVIDX_FLT_1024))
  59. extern const arm_cfft_instance_f16 arm_cfft_sR_f16_len1024;
  60. #endif
  61. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || (defined(ARM_TABLE_TWIDDLECOEF_F16_2048) && defined(ARM_TABLE_BITREVIDX_FLT_2048))
  62. extern const arm_cfft_instance_f16 arm_cfft_sR_f16_len2048;
  63. #endif
  64. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || (defined(ARM_TABLE_TWIDDLECOEF_F16_4096) && defined(ARM_TABLE_BITREVIDX_FLT_4096))
  65. extern const arm_cfft_instance_f16 arm_cfft_sR_f16_len4096;
  66. #endif
  67. #endif
  68. #ifdef __cplusplus
  69. }
  70. #endif
  71. #endif