Commit Graph

475 Commits

Author SHA1 Message Date
Steve Underwood a61edbd8dc Removed a couple of unused variables 2014-02-08 16:25:10 +08:00
Michael Jerris fa0de66ec8 .gitignore 2014-01-29 17:56:51 -05:00
Anthony Minessale 7c2c032497 rm gen files 2014-01-27 06:17:32 +05:00
Peter Olsson 5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Steve Underwood 63136410ad Fixed poor checking for ARM NEON 2014-01-17 23:16:23 +08:00
Steve Underwood f7a407feca Removal of some pointless callback parameters in the spandsp AT command
interpreter, and fixes for my congential inability to reliably spell psuedo,
er, pseudo, er, whatever.
2014-01-16 00:47:29 +08:00
Jeff Lenk 069941f1da fix spandsp for windows build 2013-12-09 16:37:56 -06:00
Steve Underwood eb3e843692 Eliminate a warning from valgrind, that might potentially be reporting actual
trouble.
2013-12-07 01:57:59 +08:00
Steve Underwood d5a7495a72 This should fix the FAX crashes when negotiation falls back to slower modems 2013-12-05 21:49:59 +08:00
Steve Underwood 9edbbd9c61 Tweaks to FAX modem handling. These do NOT fix the occassional crashes people
see, but they are working towards a clean and complete fix.
2013-12-05 21:10:57 +08:00
Steve Underwood 7d6b0e48b7 Added an XML script to the FAX tests which will provoke the crashing
issue seen recently in spandsp's FAX engine. The next step is to fix
the actual crash.
2013-12-05 13:34:25 +08:00
Jeff Lenk bb53175526 FS-6010 --resolve 2013-11-29 22:16:49 -06:00
Steve Underwood 54ae6ff6c1 Adjusted the test for -Wunused-but-set-variable in spandsp, so it gets the
answer right with clang.
2013-11-01 10:32:32 +08:00
Steve Underwood f532640c49 Fixed an embedded assembly language constraint issue 2013-11-01 02:44:11 +08:00
Steve Underwood 2cdfb045d2 Update some of the MSVC files for spandsp 2013-10-20 20:55:23 +08:00
Steve Underwood eee96c60c9 Tweaks 2013-10-19 18:51:50 +08:00
Steve Underwood 348e9ba1d1 Eliminate a few more warnings in Windows builds 2013-10-16 01:33:37 +08:00
Jeff Lenk e7287f901f fix windows build for recent spandsp commit 2013-10-12 16:40:29 -05:00
Steve Underwood 9990be4209 Avoid use of config.h in build environment tools in spandsp 2013-10-11 23:42:06 +08:00
Steve Underwood 25a942e12c Updated the MSVC version of spandsp.h to follow the generated one 2013-10-09 22:37:01 +08:00
Jeff Lenk 6d0069a0cf add missing decel for last spandsp commit 2013-10-06 20:26:24 -05:00
Steve Underwood 489053beb9 Some polishing of FAX modem Tx handling 2013-10-06 01:25:39 +08:00
Steve Underwood 1d76b2f907 Tweaks to logging in spandsp 2013-10-05 16:07:19 +08:00
Steve Underwood 08201d590a Fixed the comments generated by make_t43_gray_code_tables.c 2013-09-18 21:55:16 +08:00
Jeff Lenk 11fc9175cc FS-5770 --resolve revert accidental commit 2013-09-16 09:41:32 -05:00
Steve Underwood fb238ed997 Tweaks 2013-09-13 23:44:10 +08:00
Steve Underwood b9e307c0ca Improved handling of page lengths in the T.85 decoder 2013-09-08 17:19:00 +08:00
Jeff Lenk e95dd61616 FS-5760 thanks for the heads up on the missing files - tortoisegit has a bug with that 2013-09-05 10:16:01 -05:00
Jeff Lenk 64b463710d FS-5760 committed compiler fixes only 2013-09-05 08:41:41 -05:00
Steve Underwood 44b01bee6b Some tweaks to FAX processing 2013-09-05 04:30:57 +08:00
Steve Underwood 6a272a5529 Fix compile problem with the last spandsp update 2013-09-02 10:58:47 +08:00
Steve Underwood cfe6fccec9 A few little tidyups and the eliminate of a potential crash if the T.85
decoder encounters certain kinds of messed up T.85 images.
2013-09-01 23:37:21 +08:00
Steve Underwood 8b8b91beeb Tweaks to spandsp configuration 2013-09-01 00:36:48 +08:00
Steve Underwood 2ed8e04776 Tweaks to the spandsp alloc functions, and a fix for bi-level image row
squashing.
2013-08-31 03:26:31 +08:00
Steve Underwood c09dec0de1 Fixed jaggies in image resizing.
Split naming of T.81/T.42 type JPEG from normal JPEG. This is in preparation
for allowing the selective output of normal JPEG (like most people want)
and the T.81/T.42 type you might want for forwarding as T.37
2013-08-21 20:08:17 +08:00
Steve Underwood facfa16cae Described the colour FAX illuminants 2013-08-20 09:19:15 +08:00
root 2541bd39aa Make spandsp more toelrant of far end's handling of metric/inch in FAX processing 2013-08-20 02:35:01 +08:00
Steve Underwood d79d28fb4c Formatting tweaks 2013-08-19 23:00:56 +08:00
Steve Underwood d434bfa86f Better tun the use of open_memstream to safe versions of glibc 2013-08-19 22:49:03 +08:00
Jeff Lenk 84e4b38be3 FS-5690 --resolve with bizarre workaround 2013-08-18 17:26:13 -05:00
Steve Underwood b346bf56f5 Some tweaks to colour FAXing and some alterations to the supervisory tones
tables.
2013-08-19 02:04:13 +08:00
Steve Underwood 56725ad2f2 Tweaks for colour FAXing 2013-08-19 01:38:02 +08:00
Steve Underwood 6daf132081 Removed unnecessary fseeks from T.42, and change tried a test with different
default T.42 illuminant, to see if the colours suit screens better.
2013-08-17 03:42:04 +08:00
Steve Underwood d4d2d988a3 Added missing headers to the spandsp Makefile.am 2013-08-16 22:21:17 +08:00
Steve Underwood dfc34d5a96 Some new FAX related variables introduced, to allow access to colour FAXing.
This should be treated as experimental right now.
2013-08-16 10:22:23 +08:00
Steve Underwood a3c1cf0577 Fixed inclusion of a header file that isn't actually finished. 2013-08-09 00:25:18 +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
Seven Du 5c7d1ab8d7 fix spandsp build 2013-08-08 09:05:31 +08:00
Anthony Minessale 14ca0b5498 FS-5655 --resolve 2013-08-07 20:40:25 +05: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 799402dd5b More movements of spandsp to the sue of custom allocation routines 2013-08-06 01:10:48 +08:00
Steve Underwood d5e4089c22 Moved a lot of spandsp to the use of custom allocation functions 2013-08-06 00:49:15 +08:00
Steve Underwood 7c744ce1d8 Added custom allocation functions to spandsp 2013-08-05 23:50:28 +08:00
Jeff Lenk b71fe0031d FS-5655 try this 2013-07-31 21:45:18 -05:00
Jeff Lenk 4fc8bc7696 more fixes for last commit 2013-07-27 22:13:47 -05:00
Jeff Lenk 7e1418d634 add missing 2013-07-27 11:28:08 -05:00
Jeff Lenk 734d5f57ca add missing to last commit 2013-07-27 10:43:04 -05:00
Jeff Lenk ee0383f03c add missing cielab_luts to spandsp build 2013-07-27 10:40:06 -05:00
Travis Cross 5ca2276711 Remove autogenerated file from tree
This file is specifically ignored by our .gitignore.  Brian added this
ignore on 2013-06-06 but neglected to remove the file.  I've now
bulid-tested without the file to be sure that it is indeed generated
correctly and so can be removed safely.
2013-07-27 03:41:10 +00: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 b6a4e392f8 More tweaks to spandsp 2013-07-24 03:25:42 +08:00
Steve Underwood 7c90396294 More tweaks to spandsp 2013-07-24 02:19:40 +08:00
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