zoneminder/src
Isaac Connor 96b4af6255 Enable multi-threading on decode 2021-11-17 14:43:13 -05:00
..
CMakeLists.txt Initial benchmark exe 2021-10-11 19:44:58 +00: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 Remove sleeping from Analysis thread. It is uneccessary and results in us starting off way behind the capture thread. It also limits us to 30fps. 2021-10-15 09:56:14 -04: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 Buffer: Convert API to std::chrono 2021-06-13 23:22:51 +02: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 zm::Select: Convert API to std::chrono 2021-06-13 23:22:51 +02: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 Actually report the # of dbQueue entries 2021-11-02 17:24:05 -04: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 proper fix to memleak 2021-11-11 14:42:08 -05:00
zm_event.h Include the codec in the resulting mp4 filename. Remove event update setting the mp4 filename after insert, do it on event completing instead. Saves 1 db update. 2021-11-03 17:02:02 -04:00
zm_eventstream.cpp Default to now instead of ... epoch? when endtime is null. Fixes video playing when event is incomplete 2021-11-09 13:59:14 -05:00
zm_eventstream.h Convert path buffers depending on PATH_MAX to std::string 2021-07-06 10:33:17 +02: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 Enable multi-threading on decode 2021-11-17 14:43:13 -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 Monitor: Convert API to std::chrono 2021-06-13 23:22:49 +02: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 Convert path buffers depending on PATH_MAX to std::string 2021-07-06 10:33:17 +02:00
zm_fifo_stream.h Convert path buffers depending on PATH_MAX to std::string 2021-07-06 10:33:17 +02:00
zm_file_camera.cpp Convert path buffers depending on PATH_MAX to std::string 2021-07-06 10:33:17 +02: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 Remove redundant debug 2021-11-03 17:03:54 -04:00
zm_image.h 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
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 finish converting Capture to std::shared_ptr 2021-05-09 07:35:47 -04: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 Use event->StartTime instead of GetVideoWriterStartTime. Add some parenthesis to make logic clearer and add more info to debug statements 2021-11-10 16:53:07 -05:00
zm_monitor.h Make state enum start at 0 as we are indexing into an array for StateStrings 2021-11-10 16:53:29 -05:00
zm_monitorstream.cpp Don't exit(0) on QUIT. Instead set zm_terminate=true so that all the cleanup routines run. 2021-11-09 15:49:44 -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 VideoStream: Convert internals to std::chrono 2021-06-13 23:20:24 +02:00
zm_mpeg.h Build: Promote libavcodec to a required dependency 2021-06-05 14:25:54 +02: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 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_packetqueue.cpp Fix some build warnings on arm 2021-11-09 17:01:13 -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_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 misc: Replace usleep with std::this_thread::sleep_for 2021-06-13 23:22:51 +02:00
zm_remote_camera_rtsp.h Build: Promote libavformat to a required dependency 2021-06-05 14:25:27 +02:00
zm_rgb.h rgb: Convert some constant defines to constexpr 2021-03-01 00:38:21 +01:00
zm_rtp.cpp
zm_rtp.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_rtp_ctrl.cpp misc: Convert time(nullptr) calls to std::chrono 2021-06-13 23:22:51 +02: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 RtpSource: Convert internals partially to std::chrono 2021-06-13 16:35:27 +02:00
zm_rtp_source.h RtpSource: Convert internals partially to std::chrono 2021-06-13 16:35:27 +02: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 a fifo version of the rtsp server 2021-03-01 16:46:48 -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 Fix zms giving 500 code instead of displaying error image due to not having sent the headers yet. 2021-08-23 18:10:31 -04:00
zm_stream.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_swscale.cpp FFmpeg: Remove code paths required only by 2.8 and older 2021-06-05 20:40:12 +02:00
zm_swscale.h Build: Promote libswscale to a required dependency 2021-06-05 14:27:31 +02:00
zm_time.h Align changes with our codestyle 2021-10-12 18:53:31 +02: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 utils: Make sure the compiler can emit format warnings for stringtf 2021-07-06 10:33:17 +02: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 av_write_trailer can return a positive value which is not an error 2021-11-02 17:10:02 -04: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 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
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 UpdateCaptureFPS and UpdateAnalysisFPS into UpdateFPS and call it from zmc after capture. 2021-11-03 17:03:29 -04:00
zms.cpp Fix zms giving 500 code instead of displaying error image due to not having sent the headers yet. 2021-08-23 18:10:31 -04:00
zmu.cpp spacing. Use a separate boolean to tell if we have specified a new value for controls. This allows negative settings. Fix zmy outputting brightness when contrast is specified. 2021-10-05 19:49:42 -04:00