Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 13 of 13) sorted by relevance

/cmsis-dsp-3.7.0-3.6.0/Source/SupportFunctions/
Darm_bitonic_sort_f32.c35 static void arm_bitonic_sort_core_f32(float32_t *pSrc, uint32_t n, uint8_t dir) in arm_bitonic_sort_core_f32() argument
48 if(dir == (*leftPtr > *rightPtr)) in arm_bitonic_sort_core_f32()
89 static float32x4x2_t arm_bitonic_resort_8_f32(float32x4_t a, float32x4_t b, uint8_t dir) in arm_bitonic_resort_8_f32() argument
112 if(dir) in arm_bitonic_resort_8_f32()
125 if(dir) in arm_bitonic_resort_8_f32()
134 static float32x4x2_t arm_bitonic_merge_8_f32(float32x4_t a, float32x4_t b, uint8_t dir) in arm_bitonic_merge_8_f32() argument
141 if(dir) in arm_bitonic_merge_8_f32()
147 float32x4x2_t ab = arm_bitonic_resort_8_f32(a, b, dir); in arm_bitonic_merge_8_f32()
152 …tic void arm_bitonic_resort_16_f32(float32_t * pOut, float32x4x2_t a, float32x4x2_t b, uint8_t dir) in arm_bitonic_resort_16_f32() argument
177 if(dir) in arm_bitonic_resort_16_f32()
[all …]
Darm_merge_sort_f32.c33 …wnMerge(float32_t * pA, uint32_t begin, uint32_t middle, uint32_t end, float32_t * pB, uint8_t dir) in topDownMerge() argument
48 if (i < middle && (j >= end || dir==(pA[i] <= pA[j])) ) in topDownMerge()
61 … arm_merge_sort_core_f32(float32_t * pB, uint32_t begin, uint32_t end, float32_t * pA, uint8_t dir) in arm_merge_sort_core_f32() argument
67 arm_merge_sort_core_f32(pA, begin, middle, pB, dir); // Sort the left part in arm_merge_sort_core_f32()
68 arm_merge_sort_core_f32(pA, middle, end, pB, dir); // Sort the right part in arm_merge_sort_core_f32()
70 topDownMerge(pB, begin, middle, end, pA, dir); in arm_merge_sort_core_f32()
123 arm_merge_sort_core_f32(S->buffer, 0, blockSize, pA, S->dir); in arm_merge_sort_f32()
Darm_quick_sort_f32.c31 …ic uint32_t arm_quick_sort_partition_f32(float32_t *pSrc, int32_t first, int32_t last, uint8_t dir) in arm_quick_sort_partition_f32() argument
61 if(dir) in arm_quick_sort_partition_f32()
103 static void arm_quick_sort_core_f32(float32_t *pSrc, int32_t first, int32_t last, uint8_t dir) in arm_quick_sort_core_f32() argument
111 pivot = arm_quick_sort_partition_f32(pSrc, first, last, dir); in arm_quick_sort_core_f32()
114 arm_quick_sort_core_f32(pSrc, first, pivot, dir); in arm_quick_sort_core_f32()
115 arm_quick_sort_core_f32(pSrc, pivot+1, last, dir); in arm_quick_sort_core_f32()
174 arm_quick_sort_core_f32(pA, 0, blockSize-1, S->dir); in arm_quick_sort_f32()
Darm_heap_sort_f32.c34 static void arm_heapify(float32_t * pSrc, uint32_t n, uint32_t i, uint8_t dir) in arm_heapify() argument
42 if (l < n && dir==(pSrc[l] > pSrc[k]) ) in arm_heapify()
45 if (r < n && dir==(pSrc[r] > pSrc[k]) ) in arm_heapify()
54 arm_heapify(pSrc, n, k, dir); in arm_heapify()
104 arm_heapify(pA, blockSize, i, S->dir); in arm_heap_sort_f32()
114 arm_heapify(pA, i, 0, S->dir); in arm_heap_sort_f32()
Darm_merge_sort_init_f32.c46 void arm_merge_sort_init_f32(arm_merge_sort_instance_f32 * S, arm_sort_dir dir, float32_t * buffer) in arm_merge_sort_init_f32() argument
48 S->dir = dir; in arm_merge_sort_init_f32()
Darm_sort_init_f32.c46 void arm_sort_init_f32(arm_sort_instance_f32 * S, arm_sort_alg alg, arm_sort_dir dir) in arm_sort_init_f32() argument
49 S->dir = dir; in arm_sort_init_f32()
Darm_bubble_sort_f32.c66 uint8_t dir = S->dir; in arm_bubble_sort_f32() local
86 if(dir==(pA[i]>pA[i+1])) in arm_bubble_sort_f32()
Darm_insertion_sort_f32.c65 uint8_t dir = S->dir; in arm_insertion_sort_f32() local
81 for (j = i; j>0 && dir==(pA[j]<pA[j-1]); j--) in arm_insertion_sort_f32()
Darm_selection_sort_f32.c66 uint8_t dir = S->dir; in arm_selection_sort_f32() local
88 if (dir==(pA[j] < pA[k]) ) in arm_selection_sort_f32()
/cmsis-dsp-3.7.0-3.6.0/Include/dsp/
Dsupport_functions.h316 arm_sort_dir dir; /**< Sorting order (direction) */ member
339 arm_sort_dir dir);
346 arm_sort_dir dir; /**< Sorting order (direction) */ member
369 arm_sort_dir dir,
/cmsis-dsp-3.7.0-3.6.0/PythonWrapper/cmsisdsp_pkg/src/
Dcmsisdsp_support.c84 uint16_t alg,dir; in arm_sort_instance_f32_init() local
86 if (PyArg_ParseTupleAndKeywords(args, kwds, "|hh", kwlist,&alg,&dir in arm_sort_instance_f32_init()
91 self->instance->dir=dir; in arm_sort_instance_f32_init()
105 return(Py_BuildValue("i",(int)self->instance->dir)); in Method_arm_sort_instance_f32_dir()
128 uint16_t alg,dir; // input in cmsis_arm_sort_init_f32() local
130 if (PyArg_ParseTuple(args,"Ohh",&S,&alg,&dir)) in cmsis_arm_sort_init_f32()
135 arm_sort_init_f32(selfS->instance,alg,dir); in cmsis_arm_sort_init_f32()
/cmsis-dsp-3.7.0-3.6.0/Source/
DMakefile76 mkdir -p $(dir $@)
/cmsis-dsp-3.7.0-3.6.0/Testing/TestScripts/
DCodeGen.py207 def _genCode(self,root,dir,sourceFile,headerFile): argument
229 self._genCode(c,dir,sourceFile,headerFile)
236 self._genSuite(root,dir,sourceFile)