zoneminder/src
Peter Keresztes Schmidt 9e4674b53a ZoneStats: Let the compiler define the copy constr. and assignment op.
There is no need for the user-defined versions since no manual resource management is done in the class.
Also a user-defined copy constructor or assignment operator prevents the implicit definition of a move constructor.
2021-04-25 17:18:07 +02:00
..
CMakeLists.txt build: Store all generated sources in CMAKE_BINARY_DIR 2021-04-11 01:28:23 +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 Must join the previous thread before starting a new one or we crash 2021-04-17 12:50:26 -04:00
zm_analysis_thread.h reintroduce Start() methods to analysis and decoding thread 2021-04-07 20:36:38 -04:00
zm_box.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_box.h More work on flushing out ZoneStats. Use references to avoid copying 2021-04-21 21:40:39 -04: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 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_comms.cpp Fix bool return value when int is desired 2021-04-20 10:41:41 -04:00
zm_comms.h Fix bool return value when int is desired 2021-04-20 10:41:41 -04: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_coord.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_coord.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01: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 Add libcurl.so.4 as an option to load before libcurl-gnutls 2021-04-23 09:10:54 -04:00
zm_curl_camera.h Add overrides 2021-04-20 12:58:35 -04:00
zm_db.cpp add a stop function to dbQueue to clear out the queue before we kill log. 2021-04-23 09:25:07 -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 define: Add macro to annotate intended switch fallthroughs 2021-04-11 23:39:35 +02:00
zm_event.cpp Cleanup, fix length test for stats insert 2021-04-23 09:18:56 -04:00
zm_event.h Switch to using std::string for inserting frames and stats. We just can't know how long the sql will be and we aren't going to waste 2MB of ram on it. Remove unused functions. 2021-04-22 22:30:45 -04:00
zm_eventstream.cpp Eliminate non-thread-safe calls to localtime 2021-03-21 21:42:02 +01: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 spacing 2021-04-19 10:26:08 -04:00
zm_ffmpeg.h add a simple define to make codec/codecpar access easier 2021-03-30 09:15:28 -04:00
zm_ffmpeg_camera.cpp mFormatContextPtr doesn't need to be a class member 2021-04-20 13:58:23 -04:00
zm_ffmpeg_camera.h mFormatContextPtr doesn't need to be a class member 2021-04-20 13:58:23 -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 packet can be const 2021-04-20 13:59:54 -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 Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_file_camera.h Add overrides 2021-04-20 12:59:08 -04:00
zm_font.cpp fix bogus font validation 2021-04-20 11:37:57 -04:00
zm_font.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_frame.cpp Introduce a ZoneStats structure/class and implement a list of them in packet, frame. Store the stats in a list in the packet until it is time to write them to the db in the event. Hence implement batched queuing of stats. 2021-04-21 17:51:43 -04:00
zm_frame.h Introduce a ZoneStats structure/class and implement a list of them in packet, frame. Store the stats in a list in the packet until it is time to write them to the db in the event. Hence implement batched queuing of stats. 2021-04-21 17:51:43 -04: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 initialize padding 2021-04-20 14:10:33 -04:00
zm_image.h Move DumpImgBuffer into public section so that we can clear an image instead of deleting it 2021-04-23 14:52:29 -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 utils: cleanup Split and Join 2021-04-04 00:30:18 +02:00
zm_libvlc_camera.h Add overrides 2021-04-20 12:59:27 -04:00
zm_libvnc_camera.cpp init mVncData 2021-04-20 11:48:21 -04:00
zm_libvnc_camera.h add overrides to quiet cppcheck 2021-04-20 11:48:12 -04:00
zm_local_camera.cpp remove dead code 2021-04-20 12:59:41 -04:00
zm_local_camera.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_logger.cpp Quiet cppcheck issues 2021-04-20 12:59:59 -04:00
zm_logger.h logger: Move log_mutex to std::recursive_mutex 2021-03-03 23:31:53 +01:00
zm_mem_utils.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_monitor.cpp When resume is given, clear the ref image, so that analysis can re-assign it. Don't do ref image in decode, leave it for analysis only. Handle zm_terminate after waiting for decode. 2021-04-23 14:52:29 -04:00
zm_monitor.h Pass where string by ref 2021-04-20 14:13:09 -04:00
zm_monitorstream.cpp Remove unused code 2021-04-20 16:18:50 -04:00
zm_monitorstream.h Remove unused code 2021-04-20 16:18:50 -04:00
zm_mpeg.cpp Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_mpeg.h Put back includes needed on FreeBSD. Fixes #3165 2021-02-22 08:03:10 -05:00
zm_packet.cpp add missing initializers 2021-04-20 17:09:14 -04:00
zm_packet.h Introduce a ZoneStats structure/class and implement a list of them in packet, frame. Store the stats in a list in the packet until it is time to write them to the db in the event. Hence implement batched queuing of stats. 2021-04-21 17:51:43 -04:00
zm_packetqueue.cpp Improve code and logging 2021-04-20 23:06:17 -04:00
zm_packetqueue.h introduce packetqueue::unlock to unlock packets and notify anyone waiting. Also check for iterators pointing to packets when not keeping keyframes. Loop with waiting when we can't lock a packet 2021-04-01 11:52:28 -04:00
zm_poly.cpp fix = operator to not require self-check 2021-04-20 16:35:47 -04:00
zm_poly.h Remove unused edges and slices 2021-04-20 17:09:42 -04: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 utils: cleanup Base64Encode 2021-04-04 00:39:40 +02:00
zm_remote_camera.h Add overrides 2021-04-20 12:58:17 -04:00
zm_remote_camera_http.cpp improve scope of buffer_len 2021-04-20 16:38:42 -04:00
zm_remote_camera_http.h Add overrides 2021-04-20 12:58:17 -04:00
zm_remote_camera_nvsocket.cpp Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_remote_camera_nvsocket.h Add overrides 2021-04-20 12:58:17 -04:00
zm_remote_camera_rtsp.cpp RtspThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_remote_camera_rtsp.h add overrides 2021-04-20 17:09:51 -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 RtpCtrlThread: Convert to std::thread 2021-03-03 23:31:53 +01: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 Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01: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 RtspThread: Fix a stack-buffer-overflow reported by ASAN 2021-04-11 11:37:03 +02:00
zm_rtsp.h RtspThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rtsp_auth.cpp Make params const 2021-04-20 16:41:08 -04:00
zm_rtsp_auth.h Make params const 2021-04-20 16:41:08 -04:00
zm_rtsp_server.cpp pass peer_ip by const ref 2021-04-20 17:16:09 -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 Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01: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 Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05:00
zm_rtsp_server_fifo_adts_source.h Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05: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 set hType 2021-03-25 13:12:21 -04:00
zm_rtsp_server_fifo_h264_source.h pass fifo by const ref 2021-04-20 17:18:09 -04:00
zm_rtsp_server_fifo_source.cpp Correct nal count reporting 2021-04-17 12:50:26 -04:00
zm_rtsp_server_fifo_source.h implement a nal splitter for udp transmission 2021-03-25 13:12:52 -04:00
zm_rtsp_server_fifo_video_source.cpp FifoSource: Adapt to changed xop::AVFrame API 2021-04-11 00:08:26 +02:00
zm_rtsp_server_fifo_video_source.h add override 2021-04-20 17:18:23 -04:00
zm_rtsp_server_frame.h Allow setting the frame size 2021-03-25 13:39:07 -04:00
zm_rtsp_server_h264_device_source.cpp Fix compile on old avcodec 2021-03-03 09:55:57 -05:00
zm_rtsp_server_h264_device_source.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_rtsp_server_server_media_subsession.cpp rename numChannels to getChannels and samplingFrequency to getFrequency 2021-03-01 16:49:27 -05: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 Fix overlaping use of i variable. Remove unused payloadDesc 2021-04-20 17:01:54 -04: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 Cleanup and reorganize includes 2021-02-04 18:02:01 +01: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 Disconnect if we call loadMonitor a second time. 2021-04-12 15:59:31 -04:00
zm_stream.h Fix warnings reported by -Wmissing-field-initializers 2021-02-26 22:46:09 +01:00
zm_swscale.cpp swscale is a problem. When to use alignment/padding? Defaulting to alignment=1 makes libvnc work, but is less performant. Some scale operations require padding. 2021-02-24 10:10:37 -05: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 use better variable names and avoid reusing user 2021-04-20 17:06:29 -04: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: some more reshuffling/grouping and formatting 2021-04-04 01:18:34 +02:00
zm_videostore.cpp fix redundant if 2021-04-20 17:09:00 -04:00
zm_videostore.h Only have fifo if HAVE_LIBSWRESAMPLE 2021-04-20 17:18:45 -04:00
zm_zone.cpp More work on flushing out ZoneStats. Use references to avoid copying 2021-04-21 21:40:39 -04:00
zm_zone.h More work on flushing out ZoneStats. Use references to avoid copying 2021-04-21 21:40:39 -04:00
zm_zone_stats.h ZoneStats: Let the compiler define the copy constr. and assignment op. 2021-04-25 17:18:07 +02:00
zmc.cpp add a stop function to dbQueue to clear out the queue before we kill log. 2021-04-23 09:25:07 -04:00
zms.cpp utils: some more reshuffling/grouping and formatting 2021-04-04 01:18:34 +02:00
zmu.cpp Remove unused state var and unneeded if have_output 2021-04-20 17:22:35 -04:00