Commit Graph

411 Commits

Author SHA1 Message Date
Steve Underwood
1912bf013a Tweaks 2013-07-24 01:48:28 +08:00
Steve Underwood
43e2f86c0f More tweaks to spandsp 2013-07-24 01:38:07 +08:00
Steve Underwood
9046143f2b Cleanup of some T.4 functions which are obsolete 2013-07-24 00:46:47 +08:00
Steve Underwood
1f43148015 Added some missing definitions to a spandsp header 2013-07-24 00:32:53 +08:00
Steve Underwood
c1e5175290 Tweaks to spandsp 2013-07-24 00:21:23 +08:00
Steve Underwood
c741332dcd Spandsp tweaks 2013-07-23 20:44:46 +08:00
Steve Underwood
cb4e31b6cf Tweaks to spandsp 2013-07-22 18:48:35 +08:00
Steve Underwood
6716623d1a Various tweaks to spandsp 2013-07-19 15:40:22 +08:00
Steve Underwood
20531a097a Added a "nation" parameter to v18_init(), in preparation for automoding. 2013-07-03 02:39:09 +08:00
Steve Underwood
50bd4801d2 Fixed NEON detection and added AVX2 detection to spandsp 2013-06-20 23:53:53 +08:00
Steve Underwood
88587ec03b Minor tweaks from cleaning up spandsp 2013-06-01 01:05:08 +08:00
Jeff Lenk
24c13adfaf FS-5483 --resolve 2013-05-29 09:32:24 -05:00
Steve Underwood
4fba20c787 Something stupid that way went 2013-05-29 17:00:57 +08:00
Steve Underwood
3ea625c6ae More movement towards colour FAXing 2013-05-29 14:47:48 +08:00
Steve Underwood
3519e0f4c3 More tweaks towards colour FAXing 2013-05-29 10:07:08 +08:00
Steve Underwood
3b595efc60 More tweaks towards colour FAXing 2013-05-29 09:53:56 +08:00
Steve Underwood
0b6c53217a Moves towards colour FAX 2013-05-29 09:31:58 +08:00
Steve Underwood
37d109b107 Some tweaks to the image translate code 2013-05-16 02:28:20 +08:00
Jeff Lenk
b85c24df08 spandsp windows fix syntax for gettimeofday 2013-05-10 12:46:03 -05:00
Steve Underwood
46ec57c415 The gettimeofday() function spandsp provided for Windows apparently falls over
after 25 hours. I guess not many people are inserting header lines on FAX pages.
Hopefully this update fixes the problem.
2013-05-10 11:54:20 +08:00
Steve Underwood
6e6272a7b5 More changes towards colour FAX support 2013-04-22 08:31:30 +08:00
Steve Underwood
abd03ceefe Tweaks to the V.17 modem 2013-04-21 23:13:51 +08:00
Steve Underwood
df4d264a6e Fixed a new error introduced when scrunching colour images down to bi-level 2013-04-21 22:47:08 +08:00
Steve Underwood
88b3b54ef4 More movement towards colour FAXing 2013-04-21 22:02:09 +08:00
Steve Underwood
065468141a More tweaks towards colour FAX 2013-04-18 00:32:17 +08:00
Steve Underwood
6e5b85e614 More movement towards colour FAX 2013-04-17 23:43:41 +08:00
Steve Underwood
538d9beacd Some spandsp tweaks after studying a klocwork report 2013-04-17 09:07:54 +08:00
Steve Underwood
cc795b87c4 Allow writing of T.85 format TIFF files 2013-04-13 01:46:14 +08:00
Steve Underwood
692b699948 Whoops. Missed a file in the last commit 2013-04-11 23:02:09 +08:00
Steve Underwood
59395684d3 A slight logic problem in mutual supported page sizes 2013-04-11 22:57:37 +08:00
Steve Underwood
9eab201f93 More steps towards colour FAX 2013-04-11 18:08:32 +08:00
Steve Underwood
bbde475a2c GlobalIFD improvements 2013-04-06 02:14:47 +08:00
Steve Underwood
f56911bb25 More steps towards colour FAX 2013-04-06 01:10:13 +08:00
Steve Underwood
cdac39a6e4 Addition of T.85 compression to the TIFF file. 2013-04-05 00:29:32 +08:00
Steve Underwood
d3dbde63b1 More moves towards colour FAX 2013-04-04 23:40:00 +08:00
Steve Underwood
a5ce5de53d More preparation for colour FAX 2013-04-04 22:53:41 +08:00
Mathieu Parent
17408154ee Revert local stuff from previous commit 2013-04-03 20:42:30 +02:00
Mathieu Parent
1d9d7b1196 Don't create a new session when pressing speeddial
Fixes #FS-5259 (Thanks to Nathan Neulinger for the patch)
2013-04-03 20:34:55 +02:00
Steve Underwood
f758d53ef5 Some preparations for colour FAX 2013-04-02 20:31:19 +08:00
Steve Underwood
1757331eaf Some cleanup of naming to prepare for the next step with spandsp 2013-04-02 00:18:21 +08:00
Steve Underwood
311cc1060b Added missing symbol FP_CONSTELLATION_SHIFT_FACTOR in v29rx.c 2013-03-23 22:20:56 +08:00
Jeff Lenk
839c4724d7 part 3 and last 2013-03-21 16:48:41 -05:00
Jeff Lenk
c6b204ca85 part 2 2013-03-21 16:34:41 -05:00
Jeff Lenk
afc73fbe70 windows fix for spandsp make_math_fixed_tables part 1 2013-03-21 16:26:48 -05:00
Michael Jerris
730599ff89 FS-5206: --resolve add .gitignore 2013-03-21 16:54:55 -04:00
Steve Underwood
ac0defb874 A little more modem polishing 2013-03-21 22:16:51 +08:00
Steve Underwood
8396519956 A few spandsp tweaks 2013-03-21 21:01:54 +08:00
Jeff Lenk
e40ba88fbe fix windows build for last spandsp commit for vs2010-2012 2013-03-16 15:21:38 -05:00
Steve Underwood
6af84a870c Cleanup of modem filters 2013-03-16 15:35:39 +08:00
Steve Underwood
efaa3a6d3d Small cleanup of image handling 2013-03-15 23:17:47 +08:00
Jeff Lenk
92308bf6e1 windows fix for last spandsp commit - coppice please have a look 2013-03-14 10:04:09 -05:00
Steve Underwood
d163c6338e Lots of little cosmetic cleanups 2013-03-14 21:22:51 +08:00
Steve Underwood
93bb5ca5c7 Removal of numerous trailing spaces, to tidy up spandsp in line with the master
version.
2013-03-14 05:04:43 +08:00
Steve Underwood
45eaaf4178 Spandspi's FAX engine now gives separate size and resolution information about
the images on the line and the images in the file. The ties in with the recent
addition of image resizing and flattenign for colur images.
mod_spandsp has been changed to make use of the additional information.
2013-03-10 20:55:21 +08:00
Jeff Lenk
76dc11585d spandsp trivial compiler warning - oops better do this instead 2013-03-09 11:00:07 -06:00
Jeff Lenk
a324d46025 required trivial fix for windows for last spandsp commit 2013-03-09 09:18:34 -06:00
Steve Underwood
1d289b3617 Chnaged T.30 x-rex, y-res, width vetting to be more rigorous.
Various little tweaks to spandsp
2013-03-09 22:19:47 +08:00
Jeff Lenk
16a7014284 add more missing vs2012 project filters 2013-02-27 22:34:16 -06:00
Steve Underwood
560e70f27d Some minor tweaks to T.30 page handling 2013-02-25 22:48:12 +08:00
Steve Underwood
2cc1f04eb0 Fixed NEON tests 2013-02-11 22:40:20 +08:00
Jeff Lenk
3a30c4df33 FS-4768 MSB_LNK_warnings.diff applied 2013-01-31 15:36:08 -06:00
Steve Underwood
36492e522b Minor tweak to last spandsp change 2013-01-26 03:30:21 +08:00
Steve Underwood
7e79b37c0b Make spandsp's T.38 features tolerate the non-compliant inclusion of data
in some T.38 packets from Commetrex and Cisco machines.
2013-01-26 01:54:20 +08:00
Steve Underwood
6cb3be7d8b Some cleanups of FAX modem tone handling 2013-01-19 23:55:23 +08:00
Steve Underwood
ef22570afa T.38 now gets reset as a T.31 call starts 2013-01-12 16:21:42 +08:00
Steve Underwood
17a523ec33 Eliminate a warning with some compilers 2013-01-10 00:16:32 +08:00
Steve Underwood
f9d4e290cf Tiny mismatch with current code 2013-01-02 22:44:14 +08:00
Steve Underwood
c6c03827b8 T.31 now has basically functional T.38 mode - needs more testing, though
Various modules which lacked routines to get at the sub-structures now
have them.
The tests have been tweaked so they only access internals where essential.
2013-01-01 23:07:55 +08:00
Jeff Lenk
dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Steve Underwood
e22ce3e611 Improved detection of machines that need fixed point support 2012-12-25 03:14:59 +08:00
Steve Underwood
4bc10ab1dc T.31 now gets somewhere in T.38 mode, although it still needs more work so
it functions properly in T.38 + ECM mode.
2012-12-12 22:01:58 +08:00
Steve Underwood
68b8f5f2a7 Various tweaks to T.31 modem, prior to getting T.38 really working with T.31 2012-12-12 03:59:51 +08:00
Steve Underwood
38bf6342fa Various tweaks to spandsp, including starting to add some genuine ARM
optimisations.
2012-12-12 03:23:27 +08:00
Steve Underwood
dfce47f26d Relaxed the constraints for declaring a clean end of call on FAX receive. If we
get an EOP, we no longer worry whether the final stages tidy up. This helps
tolerate the increasing number of VoIP calls which hang up before the audio has
flushed down the line.

A few little cleanups.
2012-11-14 21:53:17 +08:00
Michael Jerris
d5d107d281 FS-3473: --resolve do not use asm optimizations on newer broken apple compiler until we can figure out the correct fix for this 2012-10-30 10:43:38 -04:00
Anthony Minessale
87c2bb552f FS-4751 I am leaving out the one for devel-bootstrap.sh because I am not sure it should be /usr/pkg/bin/bash 2012-10-23 12:23:19 -04:00
Steve Underwood
245c6fc6ce spandsp should now compile in fixed point mode, although the performance of
the modems will still suck on a fixed point machine.
2012-10-15 23:29:33 +08:00
Steve Underwood
cfce1fd240 The FAX modem receive synchronisation algorithms have been changed to prevent
occasional false recognition of a fast modem when its really the V.21 modem.
This was sometimes messing up T.38 gateway operation.
2012-10-11 20:16:45 +08:00
Jeff Lenk
d8cada59ee windows fix for recent tpl additions to switch_event.c
and revert a search and replace error for libtiff building
2012-09-14 12:14:09 -05:00
Steve Underwood
831e5dd4d9 Add image squashing feature to the FAX engine so a superfine image or fine
image can be sent to a machine which has those resolutions inhibited.
2012-09-14 00:24:19 +08:00
Steve Underwood
d26293e591 Some tweaks to spandsp 2012-09-09 01:08:15 +08:00
Steve Underwood
cc73cb6544 Some tweaks to spandsp tests. Make spandsp write TIFF files more like the
TIFF/FX spec says, even though no software seems to care.
2012-09-07 00:41:41 +08:00
Steve Underwood
7c6f6e306c Added a free space function to the T.31 modem in spandsp, so the app doesn't
need to probe around inside the modem.
2012-09-04 08:58:43 +08:00
Steve Underwood
f3cd4f41a0 Tweak 2012-09-03 14:39:44 +08:00
Steve Underwood
cbb28e2ae0 Start introducing some meaningful TIFF/FX stuff 2012-09-02 22:10:04 +08:00
Steve Underwood
01646651ab Handle the TIFF/FX better now we have tiff-4.0.2 in the repo. 2012-09-02 21:45:08 +08:00
Jeff Lenk
3f64fe91cb windows fix for libtiff on last commit 2012-09-01 15:52:19 -05:00
Steve Underwood
1603dc70e2 This should have moved us from tiff-3.8.2 to tiff-4.0.2 . The windows builds
will need rechecking.
2012-09-01 18:45:56 +08:00
Steve Underwood
9a862b6667 More cleanups of the FAX modems 2012-08-29 10:10:13 +08:00
Steve Underwood
72c073c6cb Bring fax_modem handling in the fax_tester code into line with the upstream code 2012-08-28 15:32:00 +08:00
Steve Underwood
1b3710d5d0 This update brings the fax modem handling into line with the upstream code 2012-08-28 13:32:43 +08:00
Steve Underwood
11cc977391 More cleanups of fax modem stuff 2012-08-27 23:04:05 +08:00
Jeff Lenk
59e1d56cb5 spandsp windows build fix 2012-08-26 16:04:36 -05:00
Steve Underwood
2733e21cd5 More tweaks to spandsp 2012-08-27 00:41:19 +08:00
Steve Underwood
e1be1639de Tweaks 2012-08-26 22:53:24 +08:00
Steve Underwood
0e4fb82ecf Tweaks 2012-08-26 22:18:26 +08:00
Steve Underwood
acf7c40717 More tweaks 2012-08-26 22:07:01 +08:00
Steve Underwood
3b9dac029e Tweaks 2012-08-26 20:58:54 +08:00
Steve Underwood
124a0742d4 Tweaks 2012-08-26 20:45:49 +08:00
Steve Underwood
fe5ac498f7 More tweaks 2012-08-26 20:39:33 +08:00
Steve Underwood
dbec2dcbaf More tweaks 2012-08-26 20:28:48 +08:00
Steve Underwood
3b4aafe945 More tweaks 2012-08-26 20:24:20 +08:00
Steve Underwood
e60d204a59 More tweaks 2012-08-26 20:11:39 +08:00
Steve Underwood
7f40c5fb41 More tweaks 2012-08-26 19:37:14 +08:00
Steve Underwood
ac9656015a More fax modem tweaks 2012-08-26 19:30:42 +08:00
Steve Underwood
887c373c92 Tweaks 2012-08-26 18:12:44 +08:00
Steve Underwood
8cb975f345 Various fax_modems.c related improvements 2012-08-26 15:43:15 +08:00
Steve Underwood
fa5569caac A line got deleted somewhere along the line. I didn't do it, honest.
Its them damn gremlins.
2012-08-21 20:09:59 +08:00
Steve Underwood
e399c69765 Fixed a typo in the fixed point image translate code 2012-08-17 18:36:29 +08:00
Stefan Knoblich
431f7dd6bf spandsp: Fix libjpeg checks for --enable-builtin-tiff builds.
The --enable-builtin-tiff option appends libs/tiff-3.8.2/libtiff/libtiff.la
to LIBS, causing the AC_CHECK_LIB([jpeg]...) check to fail, because
libtiff.la does not exist at configure time.

Temporarily store tiff and jpeg libs in TIFF_-/JPEG_LIBS variables and
append them to LIBS after all library checks have run.

Example error output:
    configure:20049: checking for jpeg_start_compress in -ljpeg
    configure:20074: cc -o conftest -O2 -pipe -fno-strict-aliasing    -L/usr/local/lib conftest.c -ljpeg  -lm  /usr/home/ports/net/freeswitch-core-devel/work/freeswitch-1.2.1/libs/tiff-3.8.2/libtiff/libtiff.la >&5
    cc: /usr/home/ports/net/freeswitch-core-devel/work/freeswitch-1.2.1/libs/tiff-3.8.2/libtiff/libtiff.la: No such file or directory

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-15 12:52:28 +02:00
Steve Underwood
e30406cea6 Improvements to image translation 2012-08-14 22:32:30 +08:00
Steve Underwood
5f12c3dc1c Improvements to T.4 end of image handling, and the related tests.
A lot of tiny tidy up edits
2012-08-12 22:11:06 +08:00
Steve Underwood
e69a5a3037 Various little tweaks
A bug in end of image handling fixed, which could mean some T.85 images would
screw up.
2012-08-11 18:32:00 +08:00
Jeff Lenk
6e8736bb06 FS-4504 vs2008 pro still need express 2012-08-09 13:42:21 -05:00
Steve Underwood
d3c89bae34 Fixed a misplaced #endif that only causes trouble when you hit the right
combination
2012-08-09 22:19:49 +08:00
Steve Underwood
d1b45ae65b A couple of typos in spandsp
Improvements to image flattening in spandsp's image translate code
2012-08-09 21:58:22 +08:00
Jeff Lenk
e9ce6ae0e9 FS-4504 vs2010 only - plus mod_sofia fix - anybody want to help with 2008 2012-08-08 21:18:06 -05:00
Steve Underwood
9a26b3a8a7 Fixed harmless typos in comments 2012-08-08 21:31:45 +08:00
Steve Underwood
42c5ab08d3 Image translate moves forward a little, towards colour support 2012-08-08 21:26:06 +08:00
Steve Underwood
bb96d091fc Tweaks 2012-08-08 21:16:38 +08:00
Steve Underwood
65ffaa8ca9 Someone's been doing something odd to t30.h :-\ 2012-08-08 19:46:31 +08:00
SwK
3818cae3e6 Work around for compiler issues on centos 2012-08-07 14:46:23 -04:00
Steve Underwood
a117fd8fa3 Avoid quirky complaints about using the top bit of an integer as an enum 2012-08-07 23:06:17 +08:00
Steve Underwood
3ae2bdf4aa Improvements to dithering down colour and gray scale images to bi-level
images, for images with different illuminants.
2012-08-07 22:34:32 +08:00
Steve Underwood
04e93f4c0b Fix fixed point builds of spandsp, and improve logging of modem performance during tests 2012-08-05 22:20:39 +08:00
Steve Underwood
72566f6a3f Fixed V.22bis fixed point builds 2012-08-05 18:39:41 +08:00
Steve Underwood
f088d971f3 Sorted out fixed point builds of the V.22bis modem 2012-08-05 18:38:47 +08:00
Jeff Lenk
d1c3f910a6 windows -fix build for recent spandsp changes 2012-08-03 16:46:48 -05:00
Steve Underwood
e523076274 FAX T.6 decompression fixed for images with black in the last pixel of lines.
Colour and grey images can down be dithered down to bi-level images for transmission as faxes.
More movement towards T.42 support
2012-08-04 03:45:09 +08:00
Steve Underwood
e35221b981 Fixed the way T.85/T.85-L0 selection is handled when decoding DCS messages 2012-08-03 20:26:30 +08:00
Jeff Lenk
b2e28d68b5 fix windows build for last spandsp changes - trivial 2012-07-21 10:18:27 -05:00
Steve Underwood
be6739e198 Updates to spands test data 2012-07-21 21:46:07 +08:00
Steve Underwood
fd8c576c66 Some tidying of the V.17 modem. Brought the modem test programs up to date 2012-07-21 21:17:11 +08:00
Steve Underwood
e58b2e7d97 Some modem cleanups, and movement towards efficient fixed point modem
implementations for platforms with slow floating point
2012-07-21 19:47:45 +08:00
Steve Underwood
e9b4a497cc Tweaks 2012-07-21 07:18:27 +08:00
Steve Underwood
b5f7443524 Started introducing T.42 JPEG support for FAXing, but its not plumbed into the
FAX engine yet.
2012-07-21 04:05:40 +08:00
Steve Underwood
12aec908bb Various tweaks to spandsp. Cleaned up a few MSVC issues with spandsp 2012-07-18 21:46:58 +08:00
Jeff Lenk
d2b940d9fc fix windows spandsp build for recent commits 2012-07-15 11:01:17 -05:00
Steve Underwood
4bcdafec68 T.85 compression has now been added to the FAX engine in spandsp 2012-07-15 13:37:39 +08:00
Steve Underwood
232fe67722 More integration with the current spandsp 2012-07-15 01:47:55 +08:00
Steve Underwood
5d7e26141f Introducing T.85 encode and decodei to spandsp. This is not connected into the FAX engine in this update. 2012-07-14 23:59:01 +08:00
Steve Underwood
287678bc56 Tweaks to spandsp tests
Addition of tones to modem connect tones
Repeat function for V.18 TDD
2012-07-14 23:34:40 +08:00
Steve Underwood
4a200ce3a0 More tweaks for spandsp. 2012-07-04 23:57:30 +08:00
Steve Underwood
2b75169c07 A lot of tweaks to clean up some inconsistencies in spandsp. They should
have no functional effect.
2012-07-04 22:51:46 +08:00
Michael Jerris
6068534c8e add to make sure config dir is there for AC_CONFIG_AUX_DIR 2012-07-02 17:46:21 -04:00
Anthony Minessale
b2df2ee1d7 FS-4376 --resolve update and repeat 'make spandsp-reconf' 2012-07-02 14:24:23 -05:00
Jeff Lenk
7f41862156 build fix for recent spandsp commit - windows 2012-07-02 09:04:15 -05:00
Steve Underwood
5c259f26d2 Various little tweaks to spandsp to stop warnings with newer compilers
Various little tweaks to spandsp to bring it into line with the master versions
Addition of Ademco Contact ID protocol processing to spandsp
2012-07-02 21:31:04 +08:00
Steve Underwood
13fbaf7e0f Tweaks for spandsp 2012-03-29 23:33:11 +08:00
Steve Underwood
7b9e4ff674 Various updates to spandsp tests
spandsp logging now passes an opaque pointer to the logging routine, to
increase flexibility. Right now the pointer is set to NULL in all calls.
2012-03-28 23:36:30 +08:00