Subversion Repositories canSerial

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #ifndef _STATISTICS_TEST_DATA_H_
  2. #define _STATISTICS_TEST_DATA_H_
  3.  
  4. /*--------------------------------------------------------------------------------*/
  5. /* Includes */
  6. /*--------------------------------------------------------------------------------*/
  7.  
  8. #include "arr_desc.h"
  9. #include "arm_math.h"
  10.  
  11. /*--------------------------------------------------------------------------------*/
  12. /* Macros and Defines */
  13. /*--------------------------------------------------------------------------------*/
  14. #define STATISTICS_MAX_INPUT_ELEMENTS 32
  15. #define STATISTICS_BIGGEST_INPUT_TYPE float32_t
  16.  
  17. /*--------------------------------------------------------------------------------*/
  18. /* Declare Variables */
  19. /*--------------------------------------------------------------------------------*/
  20.  
  21. /* Input/Output Buffers */
  22. ARR_DESC_DECLARE(statistics_output_fut);
  23. ARR_DESC_DECLARE(statistics_output_ref);
  24. extern uint32_t statistics_idx_fut;
  25. extern uint32_t statistics_idx_ref;
  26.  
  27. extern STATISTICS_BIGGEST_INPUT_TYPE
  28. statistics_output_f32_ref[STATISTICS_MAX_INPUT_ELEMENTS];
  29.  
  30. extern STATISTICS_BIGGEST_INPUT_TYPE
  31. statistics_output_f32_fut[STATISTICS_MAX_INPUT_ELEMENTS];
  32.  
  33.  
  34. /* Block Sizes */
  35. ARR_DESC_DECLARE(statistics_block_sizes);
  36.  
  37. /* Float Inputs */
  38. ARR_DESC_DECLARE(statistics_zeros);
  39. ARR_DESC_DECLARE(statistics_f_2);
  40. ARR_DESC_DECLARE(statistics_f_15);
  41. ARR_DESC_DECLARE(statistics_f_32);
  42. ARR_DESC_DECLARE(statistics_f_all);
  43.  
  44. #endif /* _STATISTICS_TEST_DATA_H_ */
  45.