zoneminder/src
Isaac Connor 44d4a79f70 Fixes by cppcheck 2021-04-20 11:39:37 -04:00
..
CMakeLists.txt build: Store all generated sources in CMAKE_BINARY_DIR 2021-04-11 01:28:23 +02:00
jinclude.h Migrate svn to git 2013-03-17 00:45:21 +01:00
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 Cleanup and reorganize includes 2021-02-04 18:02:01 +01: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 use .head() instead of casting the buffer 2021-03-01 16:47:18 -05:00
zm_curl_camera.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_db.cpp Implement zmDbDoUpdate which returns -mysql_errer or # of rows modified 2021-03-11 13:48:16 -05:00
zm_db.h Merge branch 'release-1.34' 2021-04-09 20:00:47 -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 Quiet cpp-check complaints 2021-04-20 11:00:13 -04:00
zm_event.h remove unused member sd 2021-03-31 12:06:14 -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 update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
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 Implement a 10 second timeout in ffmpeg_camera. read_frame can block forever otherwise 2021-04-17 12:50:26 -04:00
zm_ffmpeg_camera.h quiet cppcheck by adding overrides 2021-04-20 11:01:02 -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 add rouhged in output 2017-10-25 13:27:34 -07:00
zm_fifo.cpp Use a define when setting pipe size 2021-03-22 17:49:59 -04:00
zm_fifo.h Fifo+EventStream: Remove unused private fields 2021-04-11 14:26:37 +02: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 to quiet cppcheck 2021-04-20 11:08:15 -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 Pass delta by ref for performance 2021-04-20 11:36:20 -04:00
zm_frame.h Pass delta by ref for performance 2021-04-20 11:36:20 -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 Image: Fix Wtype-limits warnings in zm_convert_yuyv_rgb 2021-04-12 08:58:57 +02:00
zm_image.h do sws_scale from decoded image to Image using a member context and avframe to save a few cycles 2021-04-01 13:22:57 -04:00
zm_image_analyser.cpp tabs to spaces and use 2space indenting 2016-04-04 10:11:48 -04:00
zm_image_analyser.h tabs to spaces and use 2space indenting 2016-04-04 10:11:48 -04:00
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 LibvlcCamera: Convert ThreadData with std::condition_variable 2021-03-03 23:31:53 +01:00
zm_libvnc_camera.cpp Remove warning on fail to Prime. zmc will log it 2021-04-11 12:59:18 -04:00
zm_libvnc_camera.h Code style spacing and cleanups. 2021-02-24 10:10:37 -05:00
zm_local_camera.cpp LocalCamera: Fix Wformat warnings reported by Clang 2021-04-11 18:00:12 +02: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 utils: cleanup Split and Join 2021-04-04 00:30:18 +02: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 Improve debugging 2021-04-19 13:18:35 -04:00
zm_monitor.h Remove AddZones function and remove other commented out code 2021-04-19 10:26:08 -04:00
zm_monitorstream.cpp Fix memleak caused by loadMonitor that is already loaded 2021-04-12 15:59:31 -04:00
zm_monitorstream.h MonitorStream: Actually use the MAX_SLEEP_USEC variable meant for this class 2021-04-11 14:39:08 +02: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 Rework locking in ZMPacket by using a new class called ZMLockedPacket. 2021-03-15 17:05:30 -04:00
zm_packet.h add explicit to LockedPacket constructor 2021-04-17 12:50:26 -04:00
zm_packetqueue.cpp fix memleak caused by not deleting the packetlock when we can't get the lock 2021-04-17 12:50:26 -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 Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_poly.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_regexp.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_regexp.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_remote_camera.cpp utils: cleanup Base64Encode 2021-04-04 00:39:40 +02:00
zm_remote_camera.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_remote_camera_http.cpp spacing, remove dead code 2021-04-19 10:26:08 -04:00
zm_remote_camera_http.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01: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 Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_remote_camera_rtsp.cpp RtspThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_remote_camera_rtsp.h RtspThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rgb.h rgb: Convert some constant defines to constexpr 2021-03-01 00:38:21 +01:00
zm_rtp.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
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 utils: cleanup Base64Encode 2021-04-04 00:39:40 +02:00
zm_rtsp_auth.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_rtsp_server.cpp Initialize video_sources and audio_sources to prevent crash 2021-04-20 09:22:37 -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 FifoSource: Adapt to changed xop::AVFrame API 2021-04-11 00:08:26 +02:00
zm_rtsp_server_fifo_audio_source.h Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05: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 Remove h264markers cuz it's in zm_rtsp_server_frame.h 2021-03-22 17:49:59 -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 Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05: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 SessionDescriptor: Fix a ffmpeg deprecation warning 2021-04-11 11:41:53 +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 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 update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_time.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_user.cpp utils: cleanup Split and Join 2021-04-04 00:30:18 +02:00
zm_user.h Fix warnings reported by -Wignored-qualifiers 2021-02-26 19:31:32 +01:00
zm_utils.cpp utils: remove unused curl include 2021-04-04 01:18:34 +02:00
zm_utils.h utils: some more reshuffling/grouping and formatting 2021-04-04 01:18:34 +02:00
zm_videostore.cpp Add special case for older ffmpeg that has different AV_CODEC define numbers 2021-03-30 14:28:40 -04:00
zm_videostore.h Deprecate video_in_stream_index and audio_in_stream_index as they are not useful 2021-03-03 12:03:36 -05:00
zm_zone.cpp spacing 2021-04-19 13:19:23 -04:00
zm_zone.h ifout an unused constructor in zone. Add polygon copy in copy constructor. 2021-04-19 13:19:17 -04:00
zmc.cpp Must disconnect on error/reload to avoid memleak. Remove waiting 5 second on failure/reload. 2021-04-17 12:50:26 -04:00
zms.cpp utils: some more reshuffling/grouping and formatting 2021-04-04 01:18:34 +02:00
zmu.cpp Allow users to start/stop alarms without monitor view permission. When forcing an alarm, disable recording first so that the alarm is distinct. This is necessary due to permissions. 2021-04-12 15:59:31 -04:00