diff options
author | jaseg <git@jaseg.de> | 2020-12-20 15:18:02 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2020-12-20 15:18:02 +0100 |
commit | 94f94260ace13688285fc8c62687079b26c18854 (patch) | |
tree | 4691249052e28be4d3515c6d2ed4b40545c21ea7 /fw/cdc-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/SupportFunctions/fixed_to_fixed.c | |
parent | 3559d845d29272050d4d44e18e0bb84e676e48ff (diff) | |
download | minikbd-94f94260ace13688285fc8c62687079b26c18854.tar.gz minikbd-94f94260ace13688285fc8c62687079b26c18854.tar.bz2 minikbd-94f94260ace13688285fc8c62687079b26c18854.zip |
Submodule-cache WIP
Diffstat (limited to 'fw/cdc-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/SupportFunctions/fixed_to_fixed.c')
-rw-r--r-- | fw/cdc-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/SupportFunctions/fixed_to_fixed.c | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/fw/cdc-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/SupportFunctions/fixed_to_fixed.c b/fw/cdc-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/SupportFunctions/fixed_to_fixed.c deleted file mode 100644 index f0c1d0f..0000000 --- a/fw/cdc-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/SupportFunctions/fixed_to_fixed.c +++ /dev/null @@ -1,79 +0,0 @@ -#include "ref.h"
-
-void ref_q31_to_q15(
- q31_t * pSrc,
- q15_t * pDst,
- uint32_t blockSize)
-{
- uint32_t i;
-
- for(i=0;i<blockSize;i++)
- {
- pDst[i] = pSrc[i] >> 16;
- }
-}
-
-void ref_q31_to_q7(
- q31_t * pSrc,
- q7_t * pDst,
- uint32_t blockSize)
-{
- uint32_t i;
-
- for(i=0;i<blockSize;i++)
- {
- pDst[i] = pSrc[i] >> 24;
- }
-}
-
-void ref_q15_to_q31(
- q15_t * pSrc,
- q31_t * pDst,
- uint32_t blockSize)
-{
- uint32_t i;
-
- for(i=0;i<blockSize;i++)
- {
- pDst[i] = ((q31_t)pSrc[i]) << 16;
- }
-}
-
-void ref_q15_to_q7(
- q15_t * pSrc,
- q7_t * pDst,
- uint32_t blockSize)
-{
- uint32_t i;
-
- for(i=0;i<blockSize;i++)
- {
- pDst[i] = pSrc[i] >> 8;
- }
-}
-
-void ref_q7_to_q31(
- q7_t * pSrc,
- q31_t * pDst,
- uint32_t blockSize)
-{
- uint32_t i;
-
- for(i=0;i<blockSize;i++)
- {
- pDst[i] = ((q31_t)pSrc[i]) << 24;
- }
-}
-
-void ref_q7_to_q15(
- q7_t * pSrc,
- q15_t * pDst,
- uint32_t blockSize)
-{
- uint32_t i;
-
- for(i=0;i<blockSize;i++)
- {
- pDst[i] = ((q15_t)pSrc[i]) << 8;
- }
-}
|