68 Commits

Author SHA1 Message Date
Steve Underwood
d434bfa86f Better tun the use of open_memstream to safe versions of glibc 2013-08-19 22:49:03 +08:00
Steve Underwood
365fc08719 Changed spandsp from using TRUE and FALSE to using C99 true and false. It seems
like the quirks we used to get using those with C++ have gone away.
2013-08-08 21:40:28 +08:00
Steve Underwood
df669f700a A cleanup of FAX image size/resolution matching accuracy. Squashing of bi-level
images should now be correct. This is now close to supporting grey scale and
colour.
2013-08-06 02:38:06 +08:00
Steve Underwood
13e8532398 Hopefully all the spandsp functions now use custom allocation routines 2013-08-06 01:17:05 +08:00
Steve Underwood
3ae87091e1 Reworked some of the definition names and values in preparation for
colour FAX
2013-07-24 11:58:36 +08:00
Steve Underwood
c1e5175290 Tweaks to spandsp 2013-07-24 00:21:23 +08:00
Steve Underwood
6716623d1a Various tweaks to spandsp 2013-07-19 15:40:22 +08: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
6e6272a7b5 More changes towards colour FAX support 2013-04-22 08:31:30 +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
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
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
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
6af84a870c Cleanup of modem filters 2013-03-16 15:35:39 +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
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
Steve Underwood
560e70f27d Some minor tweaks to T.30 page handling 2013-02-25 22:48:12 +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
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
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
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
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
Steve Underwood
12aec908bb Various tweaks to spandsp. Cleaned up a few MSVC issues with spandsp 2012-07-18 21:46:58 +08: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
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
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
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
Steve Underwood
70c1c03c93 Addition of logging capability to the DTMF detector in spandsp, to aid debugging
poor detection.
Fixes to how timezones are handled for FAX page headers.
Various cleanups of the spandsp headers.
2011-12-06 22:45:24 +08:00
Steve Underwood
4c0bc25864 4 RCPs were being sent in ECM mode, instead of the specified 3. 2011-11-19 00:43:00 +08:00
Steve Underwood
4a7bbf4ec6 Another round of tweaks for spandsp. There should be no functional changes,
although quite a few things have changed in the test suite
2011-07-02 21:16:52 +08:00
Steve Underwood
ec57dc7ab7 Added missing error codes when an ECM FAX is abandoned with the T30_ERR message 2011-01-02 19:30:00 +08:00
Steve Underwood
84ee0ae61b Fix for T.30 processing of operator interrupts, to improve compatibility
with some machines, which seem to send them when no operator is around.

Fix for T.38 gateway not kicking off or ending transmission under certain
timing conditions.
2010-09-09 00:16:18 +08:00
Steve Underwood
f029f7ef7c Moved spandsp to a more recent version. A huge number of little changes occur here, as recently spandsp
lost all the $Id$ entries the source files had for the dark old days of CVS
2010-07-25 03:29:44 +08:00
Michael Jerris
b84f3086a8 fix duplicate definition of ms_to_samples (update to spandsp-20091223 snapshot)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16042 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-23 16:54:20 +00:00
Michael Jerris
8c06fb8b06 update to spandsp-20091222 snapshot
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-23 01:38:36 +00:00
Anthony Minessale
dab4d9068d update to spandsp snapshot 20091005
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-05 14:34:26 +00:00
Robert Joly
e791f33545 Updated SpanDSP to snapshot on 2009-06-03 with some additions:
Fixed VS2005 version of make_modem_filter

  Fixed a couple of places where declaration and definition of functions do not have the same calling conventions. Only relevant for Win32 compiles.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-18 06:13:59 +00:00