summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2012-08-23 19:51:11 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2012-08-30 18:21:12 +0200
commit04fc5c6bde5da842e8b40a9a76eb72c8327ae40b (patch)
tree28df12f60dbde1e9359636a3bb75903f3d286b8f /tests
parent040405b59efeb3bdc44accdfb93841e7fed5f6be (diff)
g723_1: add comfort noise generation
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/voice.mak6
-rw-r--r--tests/ref/fate/g723_1-dec-712
-rw-r--r--tests/ref/fate/g723_1-dec-8121
3 files changed, 139 insertions, 0 deletions
diff --git a/tests/fate/voice.mak b/tests/fate/voice.mak
index ea765d2e39..b9b8aa6aae 100644
--- a/tests/fate/voice.mak
+++ b/tests/fate/voice.mak
@@ -27,6 +27,12 @@ fate-g723_1-dec-5: CMD = framecrc -postfilter 1 -i $(SAMPLES)/g723_1/pathd63p.tc
FATE_G723_1 += fate-g723_1-dec-6
fate-g723_1-dec-6: CMD = framecrc -postfilter 1 -i $(SAMPLES)/g723_1/tamed63p.tco
+FATE_G723_1 += fate-g723_1-dec-7
+fate-g723_1-dec-7: CMD = framecrc -postfilter 1 -i $(SAMPLES)/g723_1/dtx63b.tco
+
+FATE_G723_1 += fate-g723_1-dec-8
+fate-g723_1-dec-8: CMD = framecrc -postfilter 1 -i $(SAMPLES)/g723_1/dtx63e.tco
+
FATE_SAMPLES_AVCONV += $(FATE_G723_1)
fate-g723_1: $(FATE_G723_1)
diff --git a/tests/ref/fate/g723_1-dec-7 b/tests/ref/fate/g723_1-dec-7
new file mode 100644
index 0000000000..cc301873cb
--- /dev/null
+++ b/tests/ref/fate/g723_1-dec-7
@@ -0,0 +1,12 @@
+#tb 0: 1/8000
+0, 0, 0, 240, 480, 0x35e4a1fd
+0, 240, 240, 240, 480, 0x2f7bdd60
+0, 480, 480, 240, 480, 0x0407e499
+0, 720, 720, 240, 480, 0x5f5ef209
+0, 960, 960, 240, 480, 0xe936e8d1
+0, 1200, 1200, 240, 480, 0x0896ddba
+0, 1440, 1440, 240, 480, 0xa885ea94
+0, 1680, 1680, 240, 480, 0x40bff3d0
+0, 1920, 1920, 240, 480, 0xe05ce4c3
+0, 2160, 2160, 240, 480, 0x80c4f790
+0, 2400, 2400, 240, 480, 0x65d5e8f9
diff --git a/tests/ref/fate/g723_1-dec-8 b/tests/ref/fate/g723_1-dec-8
new file mode 100644
index 0000000000..fc4d9f3977
--- /dev/null
+++ b/tests/ref/fate/g723_1-dec-8
@@ -0,0 +1,121 @@
+#tb 0: 1/8000
+0, 0, 0, 240, 480, 0x17930e0f
+0, 240, 240, 240, 480, 0x7c7f4247
+0, 480, 480, 240, 480, 0xbf3489e5
+0, 720, 720, 240, 480, 0x24319fc9
+0, 960, 960, 240, 480, 0xb327eec0
+0, 1200, 1200, 240, 480, 0xc2ddcbca
+0, 1440, 1440, 240, 480, 0xeebad740
+0, 1680, 1680, 240, 480, 0x77fcb933
+0, 1920, 1920, 240, 480, 0x9677c5b7
+0, 2160, 2160, 240, 480, 0xb49dcb9e
+0, 2400, 2400, 240, 480, 0x0e78d7e6
+0, 2640, 2640, 240, 480, 0xf752dc3e
+0, 2880, 2880, 240, 480, 0xc95af091
+0, 3120, 3120, 240, 480, 0xa25de399
+0, 3360, 3360, 240, 480, 0x34e7e0da
+0, 3600, 3600, 240, 480, 0x6c84e3f4
+0, 3840, 3840, 240, 480, 0x2c7dda20
+0, 4080, 4080, 240, 480, 0x00a5f112
+0, 4320, 4320, 240, 480, 0x943ddd89
+0, 4560, 4560, 240, 480, 0x4ad4ebac
+0, 4800, 4800, 240, 480, 0xa4ff0aa8
+0, 5040, 5040, 240, 480, 0xc0f805f2
+0, 5280, 5280, 240, 480, 0x859ce987
+0, 5520, 5520, 240, 480, 0x9ebcd0de
+0, 5760, 5760, 240, 480, 0x3de2db0b
+0, 6000, 6000, 240, 480, 0x0affea9c
+0, 6240, 6240, 240, 480, 0xcb1bf81e
+0, 6480, 6480, 240, 480, 0x8a72d71d
+0, 6720, 6720, 240, 480, 0x583cd5cd
+0, 6960, 6960, 240, 480, 0x4be7dc7b
+0, 7200, 7200, 240, 480, 0xb08108c0
+0, 7440, 7440, 240, 480, 0xd0b3ed59
+0, 7680, 7680, 240, 480, 0x7d33f822
+0, 7920, 7920, 240, 480, 0x199c0111
+0, 8160, 8160, 240, 480, 0x7d29f2a8
+0, 8400, 8400, 240, 480, 0x424dec5e
+0, 8640, 8640, 240, 480, 0x946cf258
+0, 8880, 8880, 240, 480, 0xd429da7a
+0, 9120, 9120, 240, 480, 0x0f11df46
+0, 9360, 9360, 240, 480, 0xf4dce502
+0, 9600, 9600, 240, 480, 0x01c1de78
+0, 9840, 9840, 240, 480, 0xd1d3da59
+0, 10080, 10080, 240, 480, 0x5822f3ec
+0, 10320, 10320, 240, 480, 0xadd5fe67
+0, 10560, 10560, 240, 480, 0xdcf5f2c3
+0, 10800, 10800, 240, 480, 0x5176e39b
+0, 11040, 11040, 240, 480, 0xf947e0b1
+0, 11280, 11280, 240, 480, 0x33b1eb36
+0, 11520, 11520, 240, 480, 0x57bce9bd
+0, 11760, 11760, 240, 480, 0x806eec1f
+0, 12000, 12000, 240, 480, 0x0a60f94a
+0, 12240, 12240, 240, 480, 0x9eddf27d
+0, 12480, 12480, 240, 480, 0x3d28ef2f
+0, 12720, 12720, 240, 480, 0x52f0e562
+0, 12960, 12960, 240, 480, 0xf2d6c8a0
+0, 13200, 13200, 240, 480, 0xfa0df4a1
+0, 13440, 13440, 240, 480, 0x9cccfda9
+0, 13680, 13680, 240, 480, 0xa7c1e528
+0, 13920, 13920, 240, 480, 0xe130e8f9
+0, 14160, 14160, 240, 480, 0x80f6eabe
+0, 14400, 14400, 240, 480, 0x9bbb027e
+0, 14640, 14640, 240, 480, 0x33cdea7f
+0, 14880, 14880, 240, 480, 0x84d8e761
+0, 15120, 15120, 240, 480, 0xb99ce457
+0, 15360, 15360, 240, 480, 0x5dc1e324
+0, 15600, 15600, 240, 480, 0xc914e6c3
+0, 15840, 15840, 240, 480, 0x8e77f5c2
+0, 16080, 16080, 240, 480, 0x3997034d
+0, 16320, 16320, 240, 480, 0x820cfd49
+0, 16560, 16560, 240, 480, 0x8ad5f24c
+0, 16800, 16800, 240, 480, 0xe21be71c
+0, 17040, 17040, 240, 480, 0x516ae8c8
+0, 17280, 17280, 240, 480, 0x595bdc3d
+0, 17520, 17520, 240, 480, 0x8a4bee79
+0, 17760, 17760, 240, 480, 0x307fed64
+0, 18000, 18000, 240, 480, 0xe71cf219
+0, 18240, 18240, 240, 480, 0xdb0be1a1
+0, 18480, 18480, 240, 480, 0x7947dfbd
+0, 18720, 18720, 240, 480, 0x5d90fbf0
+0, 18960, 18960, 240, 480, 0xa449fc55
+0, 19200, 19200, 240, 480, 0x45b2f979
+0, 19440, 19440, 240, 480, 0x2b2be378
+0, 19680, 19680, 240, 480, 0x2d2edf42
+0, 19920, 19920, 240, 480, 0x568ee04f
+0, 20160, 20160, 240, 480, 0x66f0debe
+0, 20400, 20400, 240, 480, 0xc943eab7
+0, 20640, 20640, 240, 480, 0xc9ade3c9
+0, 20880, 20880, 240, 480, 0x6971f92d
+0, 21120, 21120, 240, 480, 0x48d0ecbc
+0, 21360, 21360, 240, 480, 0xf641dc98
+0, 21600, 21600, 240, 480, 0xbb18e167
+0, 21840, 21840, 240, 480, 0x72ce0968
+0, 22080, 22080, 240, 480, 0x15bee6f6
+0, 22320, 22320, 240, 480, 0x93d5e91f
+0, 22560, 22560, 240, 480, 0x7aee010b
+0, 22800, 22800, 240, 480, 0x9e82dc87
+0, 23040, 23040, 240, 480, 0x4ee6f547
+0, 23280, 23280, 240, 480, 0x3072d102
+0, 23520, 23520, 240, 480, 0x74d4fb04
+0, 23760, 23760, 240, 480, 0xc670f958
+0, 24000, 24000, 240, 480, 0x3965c41f
+0, 24240, 24240, 240, 480, 0x6a2de869
+0, 24480, 24480, 240, 480, 0xa757f44b
+0, 24720, 24720, 240, 480, 0x94a5168c
+0, 24960, 24960, 240, 480, 0xef0f0c28
+0, 25200, 25200, 240, 480, 0x3770ebb3
+0, 25440, 25440, 240, 480, 0x4343de6f
+0, 25680, 25680, 240, 480, 0x3ec8d816
+0, 25920, 25920, 240, 480, 0x1661e3d3
+0, 26160, 26160, 240, 480, 0x077cd9fd
+0, 26400, 26400, 240, 480, 0xb5ece07e
+0, 26640, 26640, 240, 480, 0xf303e151
+0, 26880, 26880, 240, 480, 0x95e4d019
+0, 27120, 27120, 240, 480, 0x4bd0ddc0
+0, 27360, 27360, 240, 480, 0x6cebd341
+0, 27600, 27600, 240, 480, 0xea3fea9e
+0, 27840, 27840, 240, 480, 0x5ad30c3f
+0, 28080, 28080, 240, 480, 0x218c02a5
+0, 28320, 28320, 240, 480, 0x662decd0
+0, 28560, 28560, 240, 480, 0x6865e2f2