Commit Graph

249 Commits

Author SHA1 Message Date
stan e05d512d7d Increased buffer size to BUFSIZ
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@677 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-11-05 14:49:55 +00:00
stan cae42a9a42 Added (belatedly) to CVS.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@676 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-11-05 13:50:08 +00:00
stan afc62b1915 Added YUV422P and RGB555 formats.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@673 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-11-03 14:40:28 +00:00
stan ba036958e6 Modified comment.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@672 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-11-03 14:40:07 +00:00
stan 5b6fc78f07 Changed the streaming headers.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@663 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-19 13:54:40 +00:00
stan b15fd12b98 Added scaling to monitor streams.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@662 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-19 10:11:07 +00:00
stan 7d3e8aec58 Works for non-binary factors.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@661 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-19 10:10:19 +00:00
stan 1c8b7c3515 Removed/corrected debug.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@660 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-19 09:48:10 +00:00
stan 05683469a2 Added scale and rate to event streaming.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@654 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-16 09:00:53 +00:00
stan 169972446d Added Scale function and fixed non-initialised buffer in file constructor.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@653 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-16 09:00:25 +00:00
stan 5803cad6dd Added extra precisions.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@652 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-16 08:59:34 +00:00
stan 3fe296d406 Added rate control to event replay.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@649 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-10 10:38:30 +00:00
stan e498c91185 Added frame skip for continuous modes.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@648 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-08 14:49:26 +00:00
stan b6e7923498 Ensured that events have their end times tagged correctly.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@640 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-08 12:54:35 +00:00
stan 47aca03970 Now deletes monitor on termination, to allow events to be closed properly.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@639 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-08 12:53:07 +00:00
stan 21c7c8b56f Updated for v.16
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@637 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-09-23 09:52:45 +00:00
stan 9e312f60d5 Added colourising of greyscale to EncodeJpeg for frame server.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@621 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-10 09:54:17 +00:00
stan cd3900bb14 Added _defines header to Makfile.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@613 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-08 09:23:13 +00:00
stan 6af6bad961 Made inactive zones black in zone image dump.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@610 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-07 11:20:06 +00:00
stan a6a4149855 Made shared memory inaccessible to other users.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@608 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-05 20:40:53 +00:00
stan feabf475df Added last image capture time into shared memory.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@607 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-05 20:40:38 +00:00
stan 0cc41ddcc5 Made passwords encrypted again.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@602 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-05 11:00:48 +00:00
stan 6cc04db6a4 Made user passwords plaintext.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@601 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-04 15:08:07 +00:00
stan 0f328b8231 Added privileges to zmu.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@599 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-04 14:48:51 +00:00
stan 06c13211c7 Converted to use dynamic configuration.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@593 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-04 12:31:36 +00:00
stan d601e7a772 Fixed nasty Y conversion bug.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@591 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-04 09:38:15 +00:00
stan 9c3bf369c0 Changes to support dynamic config.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@589 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-03 22:07:31 +00:00
stan 16d338b2ab Made SQL buffers bigger to prevent overflow.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@588 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-03 20:39:47 +00:00
stan bd3171e275 Added user management core.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@578 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-26 11:12:00 +00:00
stan d543323c9a Added ability to control camera settings.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@576 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-25 09:47:09 +00:00
stan 2abf43c569 Removed bosus sleep statement.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@574 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-20 15:42:41 +00:00
stan 180cf8acf4 Gave shared memory area a good going over!
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@570 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-12 14:29:54 +00:00
stan c2fa12ccdd Now opens devices and shared memory read/write for v4l2 compatibility.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@569 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-12 14:29:27 +00:00
stan 04ce08ef7e Now uses config for .sock file location.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@568 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-12 14:28:50 +00:00
stan d6ac727630 Now uses configuration option for .sock file location.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@567 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-12 14:28:10 +00:00
stan 1dd77f5060 Commented out buffering code.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@554 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-08 20:24:52 +00:00
stan 361c073f2f Commented out setbuf calls.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@553 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-03 21:53:13 +00:00
stan 5c71a13784 Made refresh param to Stream function signed so could deal with -ve numbers.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@552 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-03 21:42:14 +00:00
stan b0ceefb72c Rewritten to work with partial headers.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@551 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-03 21:23:16 +00:00
stan 9740e28f84 Removed extraneous \r from stream.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@549 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-03 21:21:57 +00:00
stan 847d07b7f7 Removed excess \r from stream output.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@548 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-06-03 21:20:09 +00:00
stan 0e5aedc63a Fixed memory leaks and improved debug.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@542 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-05-27 09:00:36 +00:00
stan dc261cd110 Fixed monitor selection bug where remote monitors could be selected by mistake.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@541 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-05-27 08:59:49 +00:00
stan 57158a3eac Added realtime option to event streaming.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@540 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-05-27 08:59:11 +00:00
stan 384881798f Streamed event replay should now be at the captured rate.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@539 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-05-22 16:34:22 +00:00
stan 7b5f23e29a Added zm.h header where missing.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@533 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-05-16 10:27:41 +00:00
stan 303864f0cb Made DELTA_TIMEVAL variable precision to handle different scenarios.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@532 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-05-16 10:17:05 +00:00
stan b5d6859bd4 Added orientation and tidied up a bit.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@529 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-05-02 15:03:16 +00:00
stan bf4e592766 Fixed double dump of first alarmed image.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@527 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-05-02 10:15:09 +00:00
stan b62546b2ad Updated Usage to include IP camera options.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@526 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-05-02 10:14:51 +00:00
stan fb1ca482a7 Modified reference blending algorithm.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@519 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 23:16:57 +00:00
stan 4128461aee Added missing -n option to getopt.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@518 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 16:02:08 +00:00
stan 435040ad69 Moved declaration of index outside 'if' statement.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@516 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 14:25:31 +00:00
stan 09c132a6de Added frame server files to CVS.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@513 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 14:17:04 +00:00
stan d3acdd7f7c Made adaptive skip algorithm optional and removed startup warning.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@512 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 14:16:50 +00:00
stan a232e7f8b1 Added to CVS for future consideration.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@511 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 14:16:22 +00:00
stan 8bf858892d Now tries to open the frame server socket beforehand.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@510 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 14:15:59 +00:00
stan ab591c24e2 Added new options for adaptive skipping and frame server.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@509 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 14:15:23 +00:00
stan 958c0f0718 Added communications with the frame server.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@508 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 14:15:01 +00:00
stan 39bf5870d9 Added zmf to Makefile.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@507 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 14:14:03 +00:00
stan 2edaee0058 Changed some error exit codes to -1 from 1.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@506 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-22 14:07:46 +00:00
stan 09ef0f2495 Modified stepping algorithm slightly.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@505 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-20 20:52:14 +00:00
stan 522967f0e4 Added variable frame skips on analysis.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@504 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-17 15:39:44 +00:00
stan ca5f6863ed Removed extraneous members and optimised bulk and individual frame db writes.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@503 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-17 15:38:21 +00:00
stan 28c9d9eab9 Removed extraenous fflush and made debug loggable.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@502 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-17 15:36:54 +00:00
stan 172c2fb659 Added extra braces to DELTA_TIMEVAL macro.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@501 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-17 15:36:30 +00:00
stan 2e9f63ca15 Changed insert event stats comment.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@500 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-17 11:36:08 +00:00
stan 9ceca1d524 Optimised Y based deltas.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@499 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-16 22:03:08 +00:00
stan a3adc41d11 Fixed sense of strict video config.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@497 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-16 13:03:41 +00:00
stan f4b66e2333 Added fast RGB diffs option and optmised YUV transforms by using bit shifts.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@496 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-16 13:02:15 +00:00
stan ff0dbc11b4 Fixed memory leak in WriteFile.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@491 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-15 14:14:56 +00:00
stan 3232656595 Changed preventive zones to preclusive.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@488 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-15 11:54:08 +00:00
stan 7d9924f702 Removed extraneous line ends from Error and Debug.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@486 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-15 09:04:38 +00:00
stan 183be298bd Colourises greyscale images to allow faster MPEG encoding.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@483 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-14 13:06:03 +00:00
stan f780eccb5c Now checks all devices not just operational ones.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@482 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-14 13:05:28 +00:00
stan aa1164a0e3 Added Preventive zone type.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@473 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-13 12:20:00 +00:00
stan a0e29e0401 Added RGB565 format.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@472 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-12 17:18:52 +00:00
stan d1fd5c0828 Changed colours to palettes and now supports YUV420P.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@471 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-12 16:17:17 +00:00
stan c237c25c82 Tidied up and removed shadow local variables preventing accurate stats
from being kept.


git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@469 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-11 15:42:24 +00:00
stan 1318127ba6 Added some debug about the shared memory size.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@462 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-10 22:42:26 +00:00
stan 79baec3d87 Fixed last fix.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@460 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-08 09:51:35 +00:00
stan 882f68067c Changed mysql_connect to mysql_real_connect.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@459 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-08 09:50:50 +00:00
stan 17de8a0488 Corrected warnings.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@451 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-07 11:16:34 +00:00
stan 94390d39e3 Corrected warnings.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@450 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-07 10:56:38 +00:00
stan 18a52515d2 Added expiry headers to monitor stream.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@449 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-07 10:47:27 +00:00
stan b6bacc900d Added expiry headers to event stream.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@448 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-07 10:46:46 +00:00
stan eefde5a6df Made destructor virtual.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@447 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-07 10:43:12 +00:00
stan 64907c388c Revamped the streaming line endings slightly.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@446 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-04 10:00:57 +00:00
stan 6265c24162 Blocked USR signals during capture.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@445 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-04 09:55:23 +00:00
stan f6f3f1c158 Added jpeg quality config settings.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@444 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-30 21:33:59 +00:00
stan 9da5287549 Added option to switch off throttling during alarms.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@443 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-30 18:44:15 +00:00
stan 0345aae910 Fixed Hatch function.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@442 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-27 22:45:26 +00:00
stan 280efb3244 Slightly modified format of streams.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@438 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-27 17:17:08 +00:00
stan 9de50fa645 Deleted extraneous default argument spec.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@437 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-27 17:15:30 +00:00
stan f62254e146 Removed extraneous \n from Info line.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@436 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-27 17:15:00 +00:00
stan 4a04e4b395 Corrected typo.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@434 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-27 09:36:26 +00:00
stan 56d14d55b3 Removed OPT_ from a couple of options.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@433 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-27 09:32:39 +00:00
stan 03796df14d Added blend alarmed images feature.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@432 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-27 09:31:13 +00:00
stan 1bf1347c04 Removed as now renamed.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@430 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-26 22:40:55 +00:00
stan 77a771801d Added throttling.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@428 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-26 22:12:25 +00:00