Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/orc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/test.orc11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/test.orc b/testsuite/test.orc
index b038c15..57664f3 100644
--- a/testsuite/test.orc
+++ b/testsuite/test.orc
@@ -2241,3 +2241,14 @@ copyl d1, c1
copyl d1, 2.0
+.init convert_fc32_to_int32_init
+.function convert_fc32_to_int32
+.source 8 src #one complex float
+.dest 4 dst #one complex short
+.temp 8 scaled
+x2 mulf scaled, src, 32767.0
+.temp 8 lscaled
+x2 convfl lscaled, scaled
+x2 convlw dst, lscaled
+
+