zoneminder/src
Isaac Connor 961256d2e7 terminate when zm_terminate is set. Do a countdown instead of countup. Sleeo for 10000 microseconds instead of 100. This restores the old value 2022-01-25 16:24:21 -05:00
..
CMakeLists.txt Adds ONVIF Motion Detection Support 2022-01-06 16:45:15 -06:00
jinclude.h
zm.cpp Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm.h Gut out zm.h since it is used only to store the self variable 2021-02-04 18:02:08 +01:00
zm_analysis_thread.cpp add comment documenting why we sleep 2022-01-11 17:02:05 -05:00
zm_analysis_thread.h add Stopped function to test whether the analysis thread is stopped from outside the class 2021-04-27 10:28:46 -04:00
zm_box.h Box: Make range calculations mathematically correct 2021-05-16 19:41:45 +02:00
zm_buffer.cpp fix typpo 2021-12-10 16:17:54 -05:00
zm_buffer.h Buffer: Convert API to std::chrono 2021-06-13 23:22:51 +02:00
zm_camera.cpp FFmpeg: Remove code paths required only by 2.8 and older 2021-06-05 20:40:12 +02:00
zm_camera.h FFmpeg: Remove code paths required only by 2.8 and older 2021-06-05 20:40:12 +02:00
zm_comms.cpp zm::Select: Convert API to std::chrono 2021-06-13 23:22:51 +02:00
zm_comms.h Fix fail to get Sources in RTSP. the string msg although initially reserved to ZM_NETWORK_BUFSIZ, after use it's capacity is changed whatever it's contents are. So need to re-reserve. 2022-01-25 11:55:21 -05:00
zm_config.cpp Merge pull request #3314 from Carbenium/path-max 2021-07-07 11:34:03 -04:00
zm_config.h Merge pull request #3314 from Carbenium/path-max 2021-07-07 11:34:03 -04:00
zm_config_data.h.in misc: Move ZM_HAS_* defines to zoneminder-config.cmake 2021-05-31 23:29:29 +02:00
zm_crypt.cpp Crypto: Use new hashing API 2021-05-30 22:56:21 +02:00
zm_crypt.h Crypto: Implement SHA1 hashing 2021-05-30 22:56:21 +02:00
zm_crypto_generics.h Misc: Rename namespace ZM to zm 2021-06-06 19:11:11 +02:00
zm_crypto_gnutls.h Crypto: Implement SHA1 hashing 2021-05-30 22:56:21 +02:00
zm_crypto_openssl.h Crypto: Implement SHA1 hashing 2021-05-30 22:56:21 +02:00
zm_curl_camera.cpp Fix curl cameras. PrimeCapture and PreCapture and PostCapture need to return 1. Also need to populate the packet and video stream. 2021-10-07 12:35:56 -04:00
zm_curl_camera.h finish converting Capture to std::shared_ptr 2021-05-09 07:35:47 -04:00
zm_db.cpp Bump the db queue limit to 30 before we warn. I only have 1 server that gets over 20 and it is still ok. 2022-01-24 09:24:16 -05:00
zm_db.h db: Adjust the query methods to accept std::strings 2021-07-06 10:20:46 +02:00
zm_decoder_thread.cpp Must join the previous thread before starting a new one or we crash 2021-04-17 12:50:26 -04:00
zm_decoder_thread.h reintroduce Start() methods to analysis and decoding thread 2021-04-07 20:36:38 -04:00
zm_define.h zm_define: Include cstddef so we have size_t 2021-05-16 16:42:58 +02:00
zm_event.cpp Fix deadlock on deleting event. Cannot race for the lock, joining will do the job 2022-01-12 23:11:19 -05:00
zm_event.h Introduce event->Duration() 2022-01-14 14:35:26 -05:00
zm_eventstream.cpp spacing, remove redundant debug 2022-01-18 23:02:26 -05:00
zm_eventstream.h Move from SystemTimePoint to SteadyTimePoint where possible. Implement MAXFPS command. Change the logic of calculating sleep time to make more sense. Get rid of frame_mod use in favour of calculating when then next frame should get sent and just waiting till then. 2021-12-16 16:35:20 -05:00
zm_exception.cpp
zm_exception.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_ffmpeg.cpp fix crash on 32bit pi due to use of %ld instead of %PRId64 2021-09-28 10:29:41 -04:00
zm_ffmpeg.h FFmpeg: Remove code paths required only by 2.8 and older 2021-06-05 20:40:12 +02:00
zm_ffmpeg_camera.cpp whitespace 2022-01-10 15:25:15 -05:00
zm_ffmpeg_camera.h Build: Promote libswscale to a required dependency 2021-06-05 14:27:31 +02:00
zm_ffmpeg_input.cpp solve ccpcheck complaints 2022-01-09 14:43:23 -05:00
zm_ffmpeg_input.h Misc: Cleanup some includes 2021-06-05 15:08:38 +02:00
zm_ffmpeg_output.cpp FFmpeg: Remove code paths required only by 2.8 and older 2021-06-05 20:40:12 +02:00
zm_ffmpeg_output.h Misc: Cleanup some includes 2021-06-05 15:08:38 +02:00
zm_fifo.cpp Fix some build warnings on arm 2021-11-09 17:01:13 -05:00
zm_fifo.h Convert path buffers depending on PATH_MAX to std::string 2021-07-06 10:33:17 +02:00
zm_fifo_debug.cpp Convert path buffers depending on PATH_MAX to std::string 2021-07-06 10:33:17 +02:00
zm_fifo_debug.h Split zm_fifo up into zm_fifo, zm_fifo_debug and zm_fifo_stream. Implement a Fifo class to keep the filehandle open. 2021-03-01 16:47:18 -05:00
zm_fifo_stream.cpp Switch to steady_clock 2021-12-16 16:35:42 -05:00
zm_fifo_stream.h solve ccpcheck complaints 2022-01-09 14:43:23 -05:00
zm_file_camera.cpp solve ccpcheck complaints 2022-01-09 14:43:23 -05:00
zm_file_camera.h Convert path buffers depending on PATH_MAX to std::string 2021-07-06 10:33:17 +02:00
zm_font.cpp ZmFont: Store character padding in font file 2021-04-25 23:13:21 +02:00
zm_font.h Utils: Add our own ASSERT macro 2021-05-30 21:41:58 +02:00
zm_frame.cpp Frame: Convert API to std::chrono 2021-06-13 23:20:24 +02:00
zm_frame.h Frame: Convert API to std::chrono 2021-06-13 23:20:24 +02:00
zm_group.cpp db: Adjust the query methods to accept std::strings 2021-07-06 10:20:46 +02:00
zm_group.h Fixes by cppcheck 2021-04-20 11:39:37 -04:00
zm_image.cpp Put a lock around jpeg writing. libjpeg is not thread safe 2022-01-25 16:22:33 -05:00
zm_image.h Unset holdbuffer so that when we connect, we reset the shm buffer pointer. cleanup initializers in Image 2022-01-19 15:01:37 -05:00
zm_image_analyser.cpp
zm_image_analyser.h
zm_jpeg.cpp Convert path buffers depending on PATH_MAX to std::string 2021-07-06 10:33:17 +02:00
zm_jpeg.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_libvlc_camera.cpp finish converting Capture to std::shared_ptr 2021-05-09 07:35:47 -04:00
zm_libvlc_camera.h finish converting Capture to std::shared_ptr 2021-05-09 07:35:47 -04:00
zm_libvnc_camera.cpp Move Cleanup and framebuffer freeing into Close() so that we don't crash on Reload 2021-11-29 16:21:34 -05:00
zm_libvnc_camera.h Drop Ubuntu Xenial support 2021-06-05 17:16:22 +02:00
zm_line.h Polygon: Implement clipping to a boundary box 2021-05-16 19:41:45 +02:00
zm_local_camera.cpp further deprecate v4l2 tests and spacing 2021-10-05 19:49:42 -04:00
zm_local_camera.h Spacing, remove tests for v4l2, move control setting/getting code to a single function. 2021-10-05 19:49:42 -04:00
zm_logger.cpp spacing and log the new log level string as well as number 2021-11-11 13:51:17 -05:00
zm_logger.h Make sure all logging macro calls are terminated with a semicolon 2021-05-02 23:08:48 +02:00
zm_mem_utils.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_monitor.cpp Merge pull request #3413 from jp-bennett/master 2022-01-23 12:35:42 -05:00
zm_monitor.h Rework of the Janus polling loop 2022-01-23 01:07:48 -06:00
zm_monitorstream.cpp include image index in debug 2022-01-19 12:27:16 -05:00
zm_monitorstream.h Fix viewing fps display by keeping track of last update time, last frame count and actually calculate it based on frames sent over a period of time. 2021-08-30 17:55:32 -04:00
zm_mpeg.cpp spacing, return a success value from setupCodec instead of using Fatal 2022-01-10 17:36:49 -05:00
zm_mpeg.h spacing, return a success value from setupCodec instead of using Fatal 2022-01-10 17:36:49 -05:00
zm_packet.cpp initialize video_first_pts and when setting it need to specify microseconds otherwise we get nanoseconds. White space. 2021-09-21 14:29:05 -04:00
zm_packet.h Add alarm_cause to zm_packet. Clean up code dealing with decoding not being ready 2022-01-04 17:38:25 -05:00
zm_packetqueue.cpp Code comments and make warning when the first packet in queue is locked. 2021-11-24 12:42:31 -05:00
zm_packetqueue.h More properly fix the threading lock. Instead of waiting on a packet, release it and wait on the packetqueue. 2021-09-14 16:21:32 -04:00
zm_poll_thread.cpp Adds ONVIF Motion Detection Support 2022-01-06 16:45:15 -06:00
zm_poll_thread.h Adds ONVIF Motion Detection Support 2022-01-06 16:45:15 -06:00
zm_poly.cpp Polygon: Perform clip operation on existing object instead of returning a new clipped one 2021-05-16 19:42:41 +02:00
zm_poly.h Image: Move Edge class to its own namespace 2021-05-17 20:20:33 +02:00
zm_regexp.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_regexp.h add explicit 2021-04-20 17:15:53 -04:00
zm_remote_camera.cpp spacing 2021-10-07 12:37:03 -04:00
zm_remote_camera.h Switch ZMPacket * to a shared_ptr<ZMPacket>. This is so that in LockedPacket we can unlock and then notify and be confident that packet_ won't have been deleted. Change ZMPacket->timestamp to be a timeval instead of timeval *. This might not have been necessary but I like it. No longer cuse the ZMPacket object to wrap the shared image buffers and timestamps. Use a vector for image_buffers. 2021-05-08 21:14:20 -04:00
zm_remote_camera_http.cpp Make failure to resolve non fatal 2021-08-24 10:23:24 -04:00
zm_remote_camera_http.h Switch ZMPacket * to a shared_ptr<ZMPacket>. This is so that in LockedPacket we can unlock and then notify and be confident that packet_ won't have been deleted. Change ZMPacket->timestamp to be a timeval instead of timeval *. This might not have been necessary but I like it. No longer cuse the ZMPacket object to wrap the shared image buffers and timestamps. Use a vector for image_buffers. 2021-05-08 21:14:20 -04:00
zm_remote_camera_nvsocket.cpp Switch ZMPacket * to a shared_ptr<ZMPacket>. This is so that in LockedPacket we can unlock and then notify and be confident that packet_ won't have been deleted. Change ZMPacket->timestamp to be a timeval instead of timeval *. This might not have been necessary but I like it. No longer cuse the ZMPacket object to wrap the shared image buffers and timestamps. Use a vector for image_buffers. 2021-05-08 21:14:20 -04:00
zm_remote_camera_nvsocket.h Switch ZMPacket * to a shared_ptr<ZMPacket>. This is so that in LockedPacket we can unlock and then notify and be confident that packet_ won't have been deleted. Change ZMPacket->timestamp to be a timeval instead of timeval *. This might not have been necessary but I like it. No longer cuse the ZMPacket object to wrap the shared image buffers and timestamps. Use a vector for image_buffers. 2021-05-08 21:14:20 -04:00
zm_remote_camera_rtsp.cpp terminate when zm_terminate is set. Do a countdown instead of countup. Sleeo for 10000 microseconds instead of 100. This restores the old value 2022-01-25 16:24:21 -05:00
zm_remote_camera_rtsp.h Build: Promote libavformat to a required dependency 2021-06-05 14:25:27 +02:00
zm_rgb.h spacing 2021-12-10 16:19:41 -05:00
zm_rtp.cpp
zm_rtp.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_rtp_ctrl.cpp add some brackets to make logic more clear 2022-01-25 14:28:26 -05:00
zm_rtp_ctrl.h RtpCtrlThread: Add a missing include 2021-03-04 19:21:09 +01:00
zm_rtp_data.cpp zm::Select: Convert API to std::chrono 2021-06-13 23:22:51 +02:00
zm_rtp_data.h RtpDataThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rtp_source.cpp Fix mTerminate not being initialised. 2022-01-25 14:27:39 -05:00
zm_rtp_source.h Fix mTerminate not being initialised. 2022-01-25 14:27:39 -05:00
zm_rtsp.cpp db: Adjust the query methods to accept std::strings 2021-07-06 10:20:46 +02:00
zm_rtsp.h Misc: Rename namespace ZM to zm 2021-06-06 19:11:11 +02:00
zm_rtsp_auth.cpp Use the new ByteArrayToHexString helper 2021-05-30 22:53:05 +02:00
zm_rtsp_auth.h rtsp_auth/Authenticator: Convert to new hashing API 2021-05-30 22:53:05 +02:00
zm_rtsp_server.cpp Don't crash when unable to create source. erase will call the desctructor. Fixes #3344 2021-09-15 12:56:39 -04:00
zm_rtsp_server_adts_source.cpp FFmpeg: Remove code paths required only by 2.8 and older 2021-06-05 20:40:12 +02:00
zm_rtsp_server_adts_source.h FFmpeg: Remove code paths required only by 2.8 and older 2021-06-05 20:40:12 +02:00
zm_rtsp_server_authenticator.h add jwt token as a std:;string 2021-03-22 17:49:59 -04:00
zm_rtsp_server_device_source.cpp style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_rtsp_server_device_source.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_rtsp_server_fifo_adts_source.cpp style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_rtsp_server_fifo_adts_source.h style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_rtsp_server_fifo_audio_source.cpp pass fifo by const ref 2021-04-20 17:18:00 -04:00
zm_rtsp_server_fifo_audio_source.h pass fifo by const ref 2021-04-20 17:18:00 -04:00
zm_rtsp_server_fifo_h264_source.cpp style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_rtsp_server_fifo_h264_source.h style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_rtsp_server_fifo_source.cpp Read 4k at a time instead of 32 bytes. OS will read whatever is available. This basically reduces logging and a little cpu overhead 2021-08-05 13:30:52 -04:00
zm_rtsp_server_fifo_source.h style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_rtsp_server_fifo_video_source.cpp style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_rtsp_server_fifo_video_source.h style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_rtsp_server_frame.h Fix logging format string mismatches 2021-04-30 00:26:24 +02:00
zm_rtsp_server_server_media_subsession.cpp style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_rtsp_server_server_media_subsession.h add explicit 2022-01-10 17:36:49 -05:00
zm_rtsp_server_thread.cpp Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05:00
zm_rtsp_server_thread.h Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05:00
zm_rtsp_server_unicast_server_media_subsession.cpp Use fifo version of code 2021-03-01 16:49:27 -05:00
zm_rtsp_server_unicast_server_media_subsession.h Replace #pragama once with include guards to be consistent 2021-02-04 18:02:08 +01:00
zm_sdp.cpp FFmpeg: Remove code paths required only by 2.8 and older 2021-06-05 20:40:12 +02:00
zm_sdp.h FFmpeg: Remove code paths required only by 2.8 and older 2021-06-05 20:40:12 +02:00
zm_sendfile.h Misc: Cleanup some includes 2021-06-05 15:08:38 +02:00
zm_signal.cpp Set zm_terminate on crash so that other threads exit instead of continuing 2021-11-03 17:04:13 -04:00
zm_signal.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_storage.cpp db: Adjust the query methods to accept std::strings 2021-07-06 10:20:46 +02:00
zm_storage.h Fix warnings reported by -Wignored-qualifiers 2021-02-26 19:31:32 +01:00
zm_stream.cpp remove last_send_image_width/height. Not really useful or relevant 2022-01-10 17:36:49 -05:00
zm_stream.h Add CMD_ANALYZE_ON and OFF 2022-01-07 13:50:40 -05:00
zm_swscale.cpp add default_width and height to constructor 2022-01-10 17:36:49 -05:00
zm_swscale.h Build: Promote libswscale to a required dependency 2021-06-05 14:27:31 +02:00
zm_time.cpp fix build on older c++ 2021-12-16 17:02:20 -05:00
zm_time.h add explicit 2022-01-09 14:43:23 -05:00
zm_user.cpp db: Adjust the query methods to accept std::strings 2021-07-06 10:20:46 +02:00
zm_user.h pass jwt_token_str by reference 2021-04-20 17:04:45 -04:00
zm_utils.cpp revert broken commit. Isaac doesn't know what he's doing. 2022-01-10 18:47:26 -05:00
zm_utils.h utils: Make sure the compiler can emit format warnings for stringtf 2021-07-06 10:33:17 +02:00
zm_vector2.h Box: Make range calculations mathematically correct 2021-05-16 19:41:45 +02:00
zm_videostore.cpp Don't try again if the error was ENOSPACE. it crashes and there is just no point. 2022-01-11 09:08:01 -05:00
zm_videostore.h add function get_codec to return the codec used in the output mp4 2021-11-03 17:01:11 -04:00
zm_zone.cpp fix cppcheck error about lo_x. Inner scope overwriting it. 2022-01-10 17:36:50 -05:00
zm_zone.h Coord: Rename to Vector2 2021-05-14 20:14:50 +02:00
zm_zone_stats.h Box+Poly: Remove direct accessors to {Hi,Lo}{X,Y} 2021-05-16 16:42:58 +02:00
zmbenchmark.cpp No behavior change. Added non-const versions of Image::Buffer and fixed a few places that were casting away the constness. 2021-10-12 21:54:49 +00:00
zmc.cpp Merge branch 'master' of github.com:ZoneMinder/zoneminder 2021-12-10 16:20:54 -05:00
zms.cpp Add analysis boolean query param 2022-01-07 12:40:21 -05:00
zmu.cpp Don't log errors when querying a monitor in NONE Function. Just report a 0 status.Fixes #3397 2021-12-15 09:11:55 -05:00