zoneminder/src
Isaac Connor 35ae81d985 dynamically allocate next_dts and use it in write_packet to store the next dts value. write_interleaved_packet destroys the passed in packet so we need to store next_dts before writing out the packet. 2019-10-23 09:25:16 -04:00
..
jwt-cpp remove bcrypt & jwt-cpp as submodules, bring in statically under src 2019-06-23 12:12:12 -05:00
libbcrypt rename bcrypt to libbcrypt to reflect name of the project 2019-06-23 12:56:04 -05:00
CMakeLists.txt Explicitly link with libdl (#2649) 2019-06-27 15:08:29 -04:00
jinclude.h
zm.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm.h Move PATH_MAX to zm_config where all the other defines are 2018-11-23 12:43:51 -05:00
zm_bigfont.h tabs to spaces and use 2space indenting 2016-04-04 10:11:48 -04:00
zm_box.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_box.h add Copy and =operators to satisfy cppcheck 2017-11-16 09:15:04 -05:00
zm_buffer.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_buffer.h more cppcheck fixes 2017-11-16 09:19:27 -05:00
zm_camera.cpp Fix imagesize requirements (#2404) 2019-02-22 09:44:57 -05:00
zm_camera.h Fix problem calculating mem_size using an int from ImageSize. With camera resolutions going up, width*height*colour could exceed 32bits. So use a guarnteed 53bit type, which fixes the memsize calculations. Fixes #2682 2019-08-11 20:21:37 -04:00
zm_comms.cpp move freeaddrinfo up before a return to prevent memleak 2017-12-12 12:35:05 -05:00
zm_comms.h zm_comms uses logging functions, so include zm_logger.h 2018-11-23 12:44:10 -05:00
zm_config.cpp Spacing and google code style 2019-09-17 10:28:42 -04:00
zm_config.h.in remove ZM_DIR_IMAGES (#2374) 2018-12-29 09:52:58 -05:00
zm_coord.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_coord.h add Copy and =operators to satisfy cppcheck 2017-11-16 09:15:04 -05:00
zm_crypt.cpp Fix spacing 2019-08-28 10:33:18 -04:00
zm_crypt.h initial plumbing to introduce token expiry and API bans per user 2019-05-11 13:39:40 -04:00
zm_curl_camera.cpp Fix for file and curl camera sources (#2545) 2019-03-05 09:59:36 -05:00
zm_curl_camera.h Introduce Close() to camera and monitor api. Use it to close a camera when there is an error with capturing. Remove the sleep10 on error. 2018-04-17 07:02:52 -07:00
zm_db.cpp Don't log about calling dbConnect when already connected. We make this call in zm_logger, it is just going to have to be acceptable to call it multiple times. 2019-09-17 10:29:30 -04:00
zm_db.h Implement a RecursiveMutex class which is an explicit Recursive Mutex. Change the db mutex to a recursive Mutex 2018-06-01 11:27:35 -04:00
zm_event.cpp fix case of sql 2019-09-28 12:57:00 -04:00
zm_event.h store the snapshot_file and alarm_file strings in the boject during construction so that we don't have to do it everytime we write out an image 2019-04-04 12:28:08 -04:00
zm_eventstream.cpp quit a bit earlier when stream is broken. 2019-08-20 11:13:38 -04:00
zm_eventstream.h Merge branch 'storageareas' into h265 2019-03-06 11:10:01 -05:00
zm_exception.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_exception.h zm_exception doesn't use anything from zm.h so don't include it 2018-11-23 12:44:54 -05:00
zm_ffmpeg.cpp Handle the case of flushing resampler by sending NULL 2019-10-17 17:37:36 -04:00
zm_ffmpeg.h Hack in missing bits for ubuntu trusty/libav/avresample 2019-09-13 15:51:35 -04:00
zm_ffmpeg_camera.cpp zm_send_packet_receive_frame sends 0 as success 2019-10-18 13:52:07 -04:00
zm_ffmpeg_camera.h remove some redundant debugs. Improve some messages 2019-08-20 14:09:47 -04:00
zm_ffmpeg_input.cpp add flushing the resample buffer to get the remaining samples encoded 2019-09-13 10:55:30 -04:00
zm_ffmpeg_input.h Working zms h265 playing. 2018-11-19 16:45:56 -05:00
zm_fifo.cpp fix compile warning by copying two bytes, which will grab the \0 after the \n 2019-06-27 10:24:51 -04:00
zm_fifo.h Google code style, ifdef out all the extra includs that shouldn't be in the .h 2019-06-27 10:29:47 -04:00
zm_file_camera.cpp code style, add bytes per second read statistic and a code comment about the sleeping 2019-09-14 10:48:39 -04:00
zm_file_camera.h Introduce Close() to camera and monitor api. Use it to close a camera when there is an error with capturing. Remove the sleep10 on error. 2018-04-17 07:02:52 -07:00
zm_font.h tabs to spaces and use 2space indenting 2016-04-04 10:11:48 -04:00
zm_frame.cpp create a simple Frame class. Add a queue of Frames to the Event. When we get 10 of them write them out to the db. 2018-12-05 13:18:21 -05:00
zm_frame.h create a simple Frame class. Add a queue of Frames to the Event. When we get 10 of them write them out to the db. 2018-12-05 13:18:21 -05:00
zm_group.cpp Put backticks around all columns and tables in sql to deal with mysql 8 2019-08-14 16:18:21 -04:00
zm_group.h add groups 2018-05-02 12:20:36 -07:00
zm_image.cpp fix compile warning due to snprintf into a too small char array 2019-10-18 09:43:25 -04:00
zm_image.h Improve some debugging to try to diagnose recent segfault report 2019-08-10 14:46:05 -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 FIFO support for zoneminder zone debugging (#2594) 2019-05-16 15:37:03 -04:00
zm_jpeg.h FIFO support for zoneminder zone debugging (#2594) 2019-05-16 15:37:03 -04:00
zm_libvlc_camera.cpp add a logging callback to the libvlc camera 2019-01-08 13:06:19 -05:00
zm_libvlc_camera.h add a logging callback to the libvlc camera 2019-01-08 13:06:19 -05:00
zm_local_camera.cpp specify which input we are setting standard on. Not sure it is required, but the api docs do it 2019-01-10 12:08:51 -05:00
zm_local_camera.h Introduce Close() to camera and monitor api. Use it to close a camera when there is an error with capturing. Remove the sleep10 on error. 2018-04-17 07:02:52 -07:00
zm_logger.cpp Only open log file if we are going to write to it. 2019-09-17 11:36:57 -04:00
zm_logger.h Cleanup/rework. Handle database connection failure. This can happen if we init logging before config reading. Default terminal log level to warning. Cleanup logInit copying the options in order to populate mLogPath from config. We can handle this in the constructor now. 2019-09-17 11:10:59 -04:00
zm_mem_utils.h fixes #2694 2019-09-03 11:55:37 -04:00
zm_monitor.cpp remove errant i 2019-08-18 21:32:19 -04:00
zm_monitor.h Add capture_max_fps to monitor object instead of just calculating the delay. 2019-07-31 11:23:02 -04:00
zm_monitorstream.cpp Fix play from pause when not buffering. When change of zoom, send two paused images so that response is instant. Fix some misplaced line feeds. 2019-09-26 13:51:13 -04:00
zm_monitorstream.h ifdef HAVE_ZLIB_H around code that uses Image->Zip (#2597) 2019-05-16 15:35:19 -04:00
zm_mpeg.cpp coverity scan fixes/cleanups 2018-04-12 11:29:35 -04:00
zm_mpeg.h coverity scan fixes/cleanups 2018-04-12 11:29:35 -04:00
zm_packet.cpp Revert audio sync fixes (#2646) 2019-06-24 11:27:47 -04:00
zm_packet.h Revert audio sync fixes (#2646) 2019-06-24 11:27:47 -04:00
zm_packetqueue.cpp fix parameter order 2019-10-18 13:39:52 -04:00
zm_packetqueue.h Clean up cruft from videostore api. Fix packetqueue clear_unwanted_packets to take a pre_event_count and take it into consideration when finding the right spot in the queue to start recording. 2019-06-27 11:11:14 -04:00
zm_poly.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_poly.h fixes from cppcheck. 2017-11-18 16:00:10 -05:00
zm_regexp.cpp initilize things to quiet coverity 2017-12-12 13:09:55 -05:00
zm_regexp.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_remote_camera.cpp Google code style and add a debug showing the # of addresses in hp 2018-11-02 10:26:39 -04:00
zm_remote_camera.h reorder variables to match init order in constructor 2018-03-09 07:24:53 -05:00
zm_remote_camera_http.cpp spacing 2019-09-20 08:19:57 -04:00
zm_remote_camera_http.h add Disconnect to Close 2018-05-26 13:03:13 -04:00
zm_remote_camera_nvsocket.cpp quiten build error 2018-04-23 14:43:16 -04:00
zm_remote_camera_nvsocket.h Introduce Close() to camera and monitor api. Use it to close a camera when there is an error with capturing. Remove the sleep10 on error. 2018-04-17 07:02:52 -07:00
zm_remote_camera_rtsp.cpp CaptureAndRecord in remote camera rtsp doesn't work. Remove it. 2019-09-23 10:52:57 -04:00
zm_remote_camera_rtsp.h CaptureAndRecord in remote camera rtsp doesn't work. Remove it. 2019-09-23 10:52:57 -04:00
zm_rgb.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_rtp.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_rtp.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_rtp_ctrl.cpp Fix Remote RTSP Method on newer ffmpeg 2019-04-28 12:05:32 -04:00
zm_rtp_ctrl.h Fix Remote RTSP Method on newer ffmpeg 2019-04-28 12:05:32 -04:00
zm_rtp_data.cpp moer cppcheck fixes 2017-11-17 07:52:26 -05:00
zm_rtp_data.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_rtp_source.cpp spaces 2019-09-23 10:53:21 -04:00
zm_rtp_source.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_rtsp.cpp Fix Remote RTSP Method on newer ffmpeg 2019-04-28 12:05:32 -04:00
zm_rtsp.h moer cppcheck fixes 2017-11-17 07:52:26 -05:00
zm_rtsp_auth.cpp google code style 2018-05-25 14:21:06 -04:00
zm_rtsp_auth.h moer cppcheck fixes 2017-11-17 07:52:26 -05:00
zm_sdp.cpp Fix Remote RTSP Method on newer ffmpeg 2019-04-28 12:05:32 -04:00
zm_sdp.h moer cppcheck fixes 2017-11-17 07:52:26 -05:00
zm_sendfile.h finish roughing in ffmpeg_input 2017-06-26 16:55:49 -04:00
zm_signal.cpp COmment out logging in signal handlers. Logging is too complex. 2018-12-14 08:40:32 -05:00
zm_signal.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_storage.cpp Put backticks around all columns and tables in sql to deal with mysql 8 2019-08-14 16:18:21 -04:00
zm_storage.h add StorageScheme to Storage and Events. Deprecate ZM_USE_DEEP_STORAGE 2017-12-18 12:52:26 -05:00
zm_stream.cpp make last_zoom last_scale last_x and last_y members of the StreamBase object instead of static vars so that we can access them in monitorStream 2019-09-26 13:51:49 -04:00
zm_stream.h make last_zoom last_scale last_x and last_y members of the StreamBase object instead of static vars so that we can access them in monitorStream 2019-09-26 13:51:49 -04:00
zm_swscale.cpp make swscale more robust by moving bits that can fail into an init function instead of the constructor 2018-04-12 10:24:10 -04:00
zm_swscale.h make swscale more robust by moving bits that can fail into an init function instead of the constructor 2018-04-12 10:24:10 -04:00
zm_thread.cpp Implement a RecursiveMutex class which is an explicit Recursive Mutex. Change the db mutex to a recursive Mutex 2018-06-01 11:27:35 -04:00
zm_thread.h remove extra include unistd.h and we have to pre-define RecursiveMutex because we use it in zm_logger. 2018-11-23 12:46:10 -05:00
zm_threaddata.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_time.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_time.h remove unused code that doesn't compile 2018-04-06 19:48:00 +02:00
zm_timer.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_timer.h coverity scan fixes/cleanups 2018-04-12 11:29:35 -04:00
zm_user.cpp Fix crash when using auth_relay=none 2019-08-28 10:34:30 -04:00
zm_user.h Fix crash when using auth_relay=none 2019-08-28 10:34:30 -04:00
zm_utils.cpp Add a string_toupper function 2019-09-17 11:11:22 -04:00
zm_utils.h add string_toupper function 2019-09-17 11:37:20 -04:00
zm_video.cpp When writing MP4 sample, save buffer.size() into a temporary variable before calling buffer.extract(). (#2628) 2019-06-01 16:43:29 -04:00
zm_video.h make encodeloop return frame_size to indicate error so that we can bail 2018-05-02 12:21:01 -07:00
zm_videostore.cpp dynamically allocate next_dts and use it in write_packet to store the next dts value. write_interleaved_packet destroys the passed in packet so we need to store next_dts before writing out the packet. 2019-10-23 09:25:16 -04:00
zm_videostore.h dynamically allocate next_dts and use it in write_packet to store the next dts value. write_interleaved_packet destroys the passed in packet so we need to store next_dts before writing out the packet. 2019-10-23 09:25:16 -04:00
zm_zone.cpp Spacing, google code style and tabs to spaces 2019-06-24 10:28:11 -04:00
zm_zone.h cleanup. Google Code Style. Move diag_path from a static to a class member so that multiple zones will create different diag files. 2018-04-23 14:36:54 -04:00
zma.cpp FIFO support for zoneminder zone debugging (#2594) 2019-05-16 15:37:03 -04:00
zmc.cpp Fix %d to %s 2019-09-20 08:19:44 -04:00
zms.cpp Fix return 403 status code 2019-07-26 12:22:04 -04:00
zmu.cpp Print out an error when a monitor is in MONITOR mode because we can't handle alarms. Allow signals to terminate zmu by checking zm_terminate. 2019-06-19 09:22:21 -04:00