mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 03:12:08 +00:00
b087ce2bee
This fixes clipping if the encoder input used the full 16 bit input range (samples with a magnitude below 16383 worked fine). The filtered subband samples should be 15 bit maximum, while the code earlier produced them scaled to 16 bit. This makes the decoder output have double the magnitude compared to before. The spec reference samples doesn't test the QMF at all, which was why this part slipped past initially. Signed-off-by: Martin Storsjö <martin@martin.st>
169 lines
9.5 KiB
Plaintext
169 lines
9.5 KiB
Plaintext
#tb 0: 1/16000
|
|
0, 0, 0, 2048, 4096, 0x4f9228b3
|
|
0, 2048, 2048, 2048, 4096, 0xfab58157
|
|
0, 4096, 4096, 2048, 4096, 0x0b641c78
|
|
0, 6144, 6144, 2048, 4096, 0x601c6803
|
|
0, 8192, 8192, 2048, 4096, 0xb3e2f166
|
|
0, 10240, 10240, 2048, 4096, 0x5681f206
|
|
0, 12288, 12288, 2048, 4096, 0x1e69e71f
|
|
0, 14336, 14336, 2048, 4096, 0x05628be3
|
|
0, 16384, 16384, 2048, 4096, 0x109b1aef
|
|
0, 18432, 18432, 2048, 4096, 0xd5435a9e
|
|
0, 20480, 20480, 2048, 4096, 0xb38b5d28
|
|
0, 22528, 22528, 2048, 4096, 0x64514c93
|
|
0, 24576, 24576, 2048, 4096, 0x453350e7
|
|
0, 26624, 26624, 2048, 4096, 0x6deccce6
|
|
0, 28672, 28672, 2048, 4096, 0xd427ede1
|
|
0, 30720, 30720, 2048, 4096, 0xdecb8c42
|
|
0, 32768, 32768, 2048, 4096, 0x3841e4d2
|
|
0, 34816, 34816, 2048, 4096, 0x858ac1b1
|
|
0, 36864, 36864, 2048, 4096, 0x8e9dbfa0
|
|
0, 38912, 38912, 2048, 4096, 0xcbc0766f
|
|
0, 40960, 40960, 2048, 4096, 0x78d52555
|
|
0, 43008, 43008, 2048, 4096, 0x600ac7d5
|
|
0, 45056, 45056, 2048, 4096, 0xafadb7ee
|
|
0, 47104, 47104, 2048, 4096, 0x8009d5a1
|
|
0, 49152, 49152, 2048, 4096, 0xb07d475e
|
|
0, 51200, 51200, 2048, 4096, 0xfcfecceb
|
|
0, 53248, 53248, 2048, 4096, 0x38b5d85f
|
|
0, 55296, 55296, 2048, 4096, 0xbd48072e
|
|
0, 57344, 57344, 2048, 4096, 0xd04724d8
|
|
0, 59392, 59392, 2048, 4096, 0x08425144
|
|
0, 61440, 61440, 2048, 4096, 0x7b14483e
|
|
0, 63488, 63488, 2048, 4096, 0x8858ef4c
|
|
0, 65536, 65536, 2048, 4096, 0x1e3024c2
|
|
0, 67584, 67584, 2048, 4096, 0xcd6bfe4f
|
|
0, 69632, 69632, 2048, 4096, 0x8cde8d18
|
|
0, 71680, 71680, 2048, 4096, 0xbbd856b8
|
|
0, 73728, 73728, 2048, 4096, 0x988c9b7a
|
|
0, 75776, 75776, 2048, 4096, 0x2a858e03
|
|
0, 77824, 77824, 2048, 4096, 0x6dee1e4a
|
|
0, 79872, 79872, 2048, 4096, 0x8cc38b41
|
|
0, 81920, 81920, 2048, 4096, 0x48bd5cec
|
|
0, 83968, 83968, 2048, 4096, 0xeb7f606b
|
|
0, 86016, 86016, 2048, 4096, 0x75f5d28c
|
|
0, 88064, 88064, 2048, 4096, 0x5bfeec4b
|
|
0, 90112, 90112, 2048, 4096, 0xfc35c22a
|
|
0, 92160, 92160, 2048, 4096, 0x3a95efba
|
|
0, 94208, 94208, 2048, 4096, 0xefdbce9c
|
|
0, 96256, 96256, 2048, 4096, 0x00594ada
|
|
0, 98304, 98304, 2048, 4096, 0x20ffebfa
|
|
0, 100352, 100352, 2048, 4096, 0x1b31370a
|
|
0, 102400, 102400, 2048, 4096, 0x50766a56
|
|
0, 104448, 104448, 2048, 4096, 0x0058315a
|
|
0, 106496, 106496, 2048, 4096, 0x98090cbf
|
|
0, 108544, 108544, 2048, 4096, 0x66ed2d40
|
|
0, 110592, 110592, 2048, 4096, 0xdfd7c0a7
|
|
0, 112640, 112640, 2048, 4096, 0x2adc57e1
|
|
0, 114688, 114688, 2048, 4096, 0x838bbc82
|
|
0, 116736, 116736, 2048, 4096, 0x2c55de1a
|
|
0, 118784, 118784, 2048, 4096, 0xeae027f4
|
|
0, 120832, 120832, 2048, 4096, 0x09fe00f6
|
|
0, 122880, 122880, 2048, 4096, 0xa25d9970
|
|
0, 124928, 124928, 2048, 4096, 0xedb11a20
|
|
0, 126976, 126976, 2048, 4096, 0x9ce2e63e
|
|
0, 129024, 129024, 2048, 4096, 0xeb699974
|
|
0, 131072, 131072, 2048, 4096, 0xcc04a296
|
|
0, 133120, 133120, 2048, 4096, 0xe90e9a12
|
|
0, 135168, 135168, 2048, 4096, 0xae85c0f7
|
|
0, 137216, 137216, 2048, 4096, 0x7ee877db
|
|
0, 139264, 139264, 2048, 4096, 0x9ecf14ee
|
|
0, 141312, 141312, 2048, 4096, 0xa821cecd
|
|
0, 143360, 143360, 2048, 4096, 0x2714bb11
|
|
0, 145408, 145408, 2048, 4096, 0x28f1c1e0
|
|
0, 147456, 147456, 2048, 4096, 0xf81c4f60
|
|
0, 149504, 149504, 2048, 4096, 0x1ae0e5a1
|
|
0, 151552, 151552, 2048, 4096, 0xbdae9d9a
|
|
0, 153600, 153600, 2048, 4096, 0x5202e560
|
|
0, 155648, 155648, 2048, 4096, 0x82408396
|
|
0, 157696, 157696, 2048, 4096, 0xc850ce0c
|
|
0, 159744, 159744, 2048, 4096, 0x1d732d88
|
|
0, 161792, 161792, 2048, 4096, 0xc5c01e33
|
|
0, 163840, 163840, 2048, 4096, 0x84942d6c
|
|
0, 165888, 165888, 2048, 4096, 0x7c27cd3a
|
|
0, 167936, 167936, 2048, 4096, 0x22adc503
|
|
0, 169984, 169984, 2048, 4096, 0xfbc3af31
|
|
0, 172032, 172032, 2048, 4096, 0xe9652b18
|
|
0, 174080, 174080, 2048, 4096, 0xae75987e
|
|
0, 176128, 176128, 2048, 4096, 0x0f7ea428
|
|
0, 178176, 178176, 2048, 4096, 0x92b89582
|
|
0, 180224, 180224, 2048, 4096, 0xf393d910
|
|
0, 182272, 182272, 2048, 4096, 0x6349b600
|
|
0, 184320, 184320, 2048, 4096, 0x16918dbd
|
|
0, 186368, 186368, 2048, 4096, 0x14ee15ad
|
|
0, 188416, 188416, 2048, 4096, 0x26b510d3
|
|
0, 190464, 190464, 2048, 4096, 0x97007bf8
|
|
0, 192512, 192512, 2048, 4096, 0x3718c509
|
|
0, 194560, 194560, 2048, 4096, 0x24a54ccd
|
|
0, 196608, 196608, 2048, 4096, 0xc960df4e
|
|
0, 198656, 198656, 2048, 4096, 0xc7cb6e6f
|
|
0, 200704, 200704, 2048, 4096, 0x4c563ae5
|
|
0, 202752, 202752, 2048, 4096, 0x0dd51432
|
|
0, 204800, 204800, 2048, 4096, 0xdb4243c8
|
|
0, 206848, 206848, 2048, 4096, 0x9bb6417f
|
|
0, 208896, 208896, 2048, 4096, 0xec6a40a1
|
|
0, 210944, 210944, 2048, 4096, 0x82d6c3b4
|
|
0, 212992, 212992, 2048, 4096, 0xd181e2ec
|
|
0, 215040, 215040, 2048, 4096, 0xba5d7b55
|
|
0, 217088, 217088, 2048, 4096, 0x78fcb938
|
|
0, 219136, 219136, 2048, 4096, 0x6691671c
|
|
0, 221184, 221184, 2048, 4096, 0x44fadee7
|
|
0, 223232, 223232, 2048, 4096, 0xa42720d5
|
|
0, 225280, 225280, 2048, 4096, 0xc1165a91
|
|
0, 227328, 227328, 2048, 4096, 0x86aa3e3f
|
|
0, 229376, 229376, 2048, 4096, 0xab5ae57d
|
|
0, 231424, 231424, 2048, 4096, 0x291a91f3
|
|
0, 233472, 233472, 2048, 4096, 0xfdf0dcfc
|
|
0, 235520, 235520, 2048, 4096, 0x1ef91f67
|
|
0, 237568, 237568, 2048, 4096, 0xc899efee
|
|
0, 239616, 239616, 2048, 4096, 0x5ade15ac
|
|
0, 241664, 241664, 2048, 4096, 0x04516beb
|
|
0, 243712, 243712, 2048, 4096, 0xbf5ebbb9
|
|
0, 245760, 245760, 2048, 4096, 0x4a235122
|
|
0, 247808, 247808, 2048, 4096, 0xd7a3f4a6
|
|
0, 249856, 249856, 2048, 4096, 0x5f900f20
|
|
0, 251904, 251904, 2048, 4096, 0xa90b4365
|
|
0, 253952, 253952, 2048, 4096, 0x63149dc4
|
|
0, 256000, 256000, 2048, 4096, 0xf12c1ee8
|
|
0, 258048, 258048, 2048, 4096, 0x6d0fec8c
|
|
0, 260096, 260096, 2048, 4096, 0x65e07850
|
|
0, 262144, 262144, 2048, 4096, 0x16d951cc
|
|
0, 264192, 264192, 2048, 4096, 0xd296d0c4
|
|
0, 266240, 266240, 2048, 4096, 0x619b2a53
|
|
0, 268288, 268288, 2048, 4096, 0x316972d5
|
|
0, 270336, 270336, 2048, 4096, 0xcfd64e21
|
|
0, 272384, 272384, 2048, 4096, 0xcbcb10c6
|
|
0, 274432, 274432, 2048, 4096, 0x20aeff7c
|
|
0, 276480, 276480, 2048, 4096, 0xd205dabd
|
|
0, 278528, 278528, 2048, 4096, 0xac9d3001
|
|
0, 280576, 280576, 2048, 4096, 0x6d53dfdd
|
|
0, 282624, 282624, 2048, 4096, 0xbb9fe15c
|
|
0, 284672, 284672, 2048, 4096, 0x1852b88b
|
|
0, 286720, 286720, 2048, 4096, 0xb0acec01
|
|
0, 288768, 288768, 2048, 4096, 0xb52a9342
|
|
0, 290816, 290816, 2048, 4096, 0x7529faee
|
|
0, 292864, 292864, 2048, 4096, 0x150ff449
|
|
0, 294912, 294912, 2048, 4096, 0xa81d31d9
|
|
0, 296960, 296960, 2048, 4096, 0xbcb8084a
|
|
0, 299008, 299008, 2048, 4096, 0x07229514
|
|
0, 301056, 301056, 2048, 4096, 0xa85cfd88
|
|
0, 303104, 303104, 2048, 4096, 0x0aef9c27
|
|
0, 305152, 305152, 2048, 4096, 0x8ec47b39
|
|
0, 307200, 307200, 2048, 4096, 0x910b0560
|
|
0, 309248, 309248, 2048, 4096, 0x99a8578e
|
|
0, 311296, 311296, 2048, 4096, 0xb3df1d84
|
|
0, 313344, 313344, 2048, 4096, 0x48e52559
|
|
0, 315392, 315392, 2048, 4096, 0xb25c4800
|
|
0, 317440, 317440, 2048, 4096, 0x913bc8ce
|
|
0, 319488, 319488, 2048, 4096, 0xb736cc8c
|
|
0, 321536, 321536, 2048, 4096, 0x13c66646
|
|
0, 323584, 323584, 2048, 4096, 0x70a71221
|
|
0, 325632, 325632, 2048, 4096, 0x3a50a08e
|
|
0, 327680, 327680, 2048, 4096, 0xc0a037b0
|
|
0, 329728, 329728, 2048, 4096, 0x9a789475
|
|
0, 331776, 331776, 2048, 4096, 0xc890ca16
|
|
0, 333824, 333824, 2048, 4096, 0xa0d34bed
|
|
0, 335872, 335872, 2048, 4096, 0x1689fa60
|
|
0, 337920, 337920, 2048, 4096, 0x5bac4c83
|
|
0, 339968, 339968, 684, 1368, 0x904be5e5
|