zoneminder/src
Isaac Connor 0dc9017472 reset starttime when changing events. Fixes super fast playback after switch to next event. Also, skip some unneeded calculations and logging. 2021-10-28 13:02:58 -04:00
..
CMakeLists.txt Box+Coord: Remove empty cpp files 2021-05-14 20:14:50 +02: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 the code to do adaptive skipping. We should never sleep when doing Analysis unless an error occurred. 2021-06-22 14:34:28 -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 More debug in read_into 2021-04-17 12:50:26 -04:00
zm_buffer.h Don't tidy in extract as we assume the space will be used soon. 2021-04-19 10:26:08 -04:00
zm_camera.cpp Take first PTS into account when calculating last pts for figuring out which input to use. 2021-04-11 16:35:16 -04:00
zm_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_comms.cpp Remove remaining usages of VLAs 2021-05-17 22:12:04 +02:00
zm_comms.h Remove remaining usages of VLAs 2021-05-17 22:12:04 +02:00
zm_config.cpp Replace raw mysql_query calls with the zmDb* functions 2021-03-06 00:12:18 +01:00
zm_config.h DB: Make connection initialization more predictable and avoid double-initialization 2021-02-07 13:44:41 +01:00
zm_config_data.h.in Extract generated part of zm_config.h into zm_config_data.h 2020-08-25 23:33:56 +02:00
zm_crypt.cpp Fix cpp-check reporting unused variable 2021-04-20 10:45:33 -04:00
zm_crypt.h Replace deprecated C header includes with the C++ ones. 2021-02-04 05:39:03 +01:00
zm_curl_camera.cpp finish converting Capture to std::shared_ptr 2021-05-09 07:35:47 -04:00
zm_curl_camera.h finish converting Capture to std::shared_ptr 2021-05-09 07:35:47 -04:00
zm_db.cpp make it so that the queue will more likely be empty on termination. Do not queue more sql if terminate flag is set. 2021-05-10 12:54:35 -04:00
zm_db.h add a stop function to dbQueue to clear out the queue before we kill log. 2021-04-23 09:25:07 -04: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 Box+Poly: Remove direct accessors to {Hi,Lo}{X,Y} 2021-05-16 16:42:58 +02:00
zm_event.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_eventstream.cpp reset starttime when changing events. Fixes super fast playback after switch to next event. Also, skip some unneeded calculations and logging. 2021-10-28 13:02:58 -04:00
zm_eventstream.h Fifo+EventStream: Remove unused private fields 2021-04-11 14:26:37 +02:00
zm_exception.cpp
zm_exception.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_ffmpeg.cpp Fix logging format string mismatches 2021-04-30 00:26:24 +02:00
zm_ffmpeg.h Make sure all logging macro calls are terminated with a semicolon 2021-05-02 23:08:48 +02:00
zm_ffmpeg_camera.cpp Merge pull request #3257 from Carbenium/ffmpeg-stretch 2021-05-25 13:16:12 -04:00
zm_ffmpeg_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_ffmpeg_input.cpp cppcheck cleanups 2021-04-20 11:04:27 -04:00
zm_ffmpeg_input.h Add get_video_stream and get_audio_stream. 2021-03-03 09:56:31 -05:00
zm_ffmpeg_output.cpp Use global FFMPEGInit(). Removed compiler warning 2021-02-04 14:07:37 -05:00
zm_ffmpeg_output.h
zm_fifo.cpp style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_fifo.h packet can be const 2021-04-20 13:59:54 -04:00
zm_fifo_debug.cpp fix use of %d when %u is wanted 2021-04-20 11:06:54 -04: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 fix use of %d when %u is wanted 2021-04-20 11:07:22 -04:00
zm_fifo_stream.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_file_camera.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_file_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_font.cpp ZmFont: Store character padding in font file 2021-04-25 23:13:21 +02:00
zm_font.h ZmFont: Store character padding in font file 2021-04-25 23:13:21 +02:00
zm_frame.cpp Frame: Auto-format 2021-04-25 22:29:18 +02:00
zm_frame.h Frame: Auto-format 2021-04-25 22:29:18 +02:00
zm_group.cpp Fixes by cppcheck 2021-04-20 11:39:37 -04:00
zm_group.h Fixes by cppcheck 2021-04-20 11:39:37 -04:00
zm_image.cpp Add missing update_function_pointers so that we use SSE blend functions. Significantly reduces cpu use in motion detection. 2021-09-13 15:04:06 -04:00
zm_image.h Fixed a bug in Image::Buffer that would return the wrong location in the image if the image had > 1 channels (and if the request were for x > 0). 2021-09-15 14:11:16 -04:00
zm_image_analyser.cpp
zm_image_analyser.h
zm_jpeg.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01: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 finish converting Capture to std::shared_ptr 2021-05-09 07:35:47 -04:00
zm_line.h Polygon: Implement clipping to a boundary box 2021-05-16 19:41:45 +02:00
zm_local_camera.cpp LocalCamera: Add a missing include to fix FreeBSD build 2021-09-08 13:58:34 -04:00
zm_local_camera.h Actually close the camera in localcamera::Close 2021-06-08 14:09:33 -04:00
zm_logger.cpp Logger: Fix DB log messages not being populated 2021-05-25 11:29:32 -04: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 Fix monitor type labels by adding an Unknown for entry 0. Implement Function_Strings. Fix decoding_enabled not being recalculated correctly because we havn't loaded savejpegs or videowriter yet. 2021-10-25 16:44:09 -04:00
zm_monitor.h change mem_file to std::string to resolve initialization problems 2021-05-20 16:28:22 -04:00
zm_monitorstream.cpp Need to increase frame_count or else frame_count%frame_mod will never == 0 2021-09-10 18:01:32 -04: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-09-03 11:38:09 -04:00
zm_mpeg.cpp Fix logging format string mismatches 2021-04-30 00:26:24 +02:00
zm_mpeg.h Put back includes needed on FreeBSD. Fixes #3165 2021-02-22 08:03:10 -05:00
zm_packet.cpp Adjust debug logging 2021-06-08 14:04:44 -04:00
zm_packet.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_packetqueue.cpp Merge new logic from master. We now delete a non-keyframe from head instead of waiting in capture. 2021-10-25 17:03:36 -04: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-15 14:10:25 -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 Make failure to resolve non fatal 2021-09-04 12:17:50 -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-09-04 12:17:50 -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 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.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_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 Fix logging format string mismatches 2021-04-30 00:26:24 +02:00
zm_rtp_ctrl.h RtpCtrlThread: Add a missing include 2021-03-04 19:21:09 +01:00
zm_rtp_data.cpp RtpDataThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rtp_data.h RtpDataThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rtp_source.cpp Fix logging format string mismatches 2021-04-30 00:26:24 +02:00
zm_rtp_source.h Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_rtsp.cpp Fix logging format string mismatches 2021-04-30 00:26:24 +02:00
zm_rtsp.h RtspThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rtsp_auth.cpp Restore GnuTLS support after VLA removal 2021-05-18 00:18:26 +02:00
zm_rtsp_auth.h style and performance improvements reported by cppcheck 2021-05-09 16:39:38 -04:00
zm_rtsp_server.cpp Don't crash when unable to create source. erase will call the desctructor. Fixes #3344 2021-09-15 14:11:03 -04:00
zm_rtsp_server_adts_source.cpp Fix compile on old avcodec 2021-03-03 09:55:57 -05:00
zm_rtsp_server_adts_source.h Fix compile on old avcodec 2021-03-03 09:55:57 -05: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 Don't print out buffer since it isn't zero terminated 2021-05-30 18:31:57 -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 Make sure all logging macro calls are terminated with a semicolon 2021-05-02 23:08:48 +02:00
zm_sdp.h Fix warnings reported by -Wignored-qualifiers 2021-02-26 19:31:32 +01:00
zm_sendfile.h spacing 2020-09-07 13:28:45 -04:00
zm_signal.cpp Fix logging format string mismatches 2021-04-30 00:26:24 +02:00
zm_signal.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_storage.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_storage.h Fix warnings reported by -Wignored-qualifiers 2021-02-26 19:31:32 +01:00
zm_stream.cpp Handle the case when the monitor doesn't exist more gracefully and not crash. Fixes #3316 2021-07-08 10:06:49 -04:00
zm_stream.h Use old time code as this is 1.36 2021-09-03 12:19:53 -04:00
zm_swscale.cpp Spacing 2021-05-21 10:38:55 -04:00
zm_swscale.h add SWSCale::GetBufferSize to reduce duplicated lines of code. Makes input buffer size not have to match the aligned size. Reading from doesn't generally cause a crash. 2021-02-18 13:47:27 -05:00
zm_time.cpp
zm_time.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_user.cpp Restore GnuTLS support after VLA removal 2021-05-18 00:18:26 +02:00
zm_user.h pass jwt_token_str by reference 2021-04-20 17:04:45 -04:00
zm_utils.cpp improve scope of a,b 2021-04-20 17:07:07 -04:00
zm_utils.h Utils: Fix possible name clash between std::clamp and ZM::clamp 2021-05-17 10:46:50 +02:00
zm_vector2.h Box: Make range calculations mathematically correct 2021-05-16 19:41:45 +02:00
zm_videostore.cpp Merge pull request #3257 from Carbenium/ffmpeg-stretch 2021-05-25 13:16:12 -04:00
zm_videostore.h Merge pull request #3257 from Carbenium/ffmpeg-stretch 2021-05-25 13:16:12 -04:00
zm_zone.cpp Polygon: Perform clip operation on existing object instead of returning a new clipped one 2021-05-16 19:42:41 +02: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
zmc.cpp Remove dead code and useless debug 2021-05-12 18:54:07 -04:00
zms.cpp Do not stop dbQueue in logTerm. dbQueue is not just for logging. 2021-05-04 14:22:02 -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-06 10:37:54 -04:00