Commit Graph

6647 Commits (620407e4089eb5cb0ee6d7594de747975c55d11f)

Author SHA1 Message Date
Isaac Connor e6dc6c37c8 Fix now updating last_write_time when quadra is in effect 2025-05-23 02:25:54 +05:30
Isaac Connor 071d0050c3 Turn off debug 2025-05-23 02:25:54 +05:30
Isaac Connor e575c72038 Put HAVE_QUADRA around netint_yolo 2025-05-23 02:25:54 +05:30
Isaac Connor 3ca6bd91bd Don't write CreatePullPointSubscriptionResponse 2025-05-22 16:55:19 -04:00
Isaac Connor 4857f62c57 Merge updates from 5.2.7 for yolov8 2025-05-22 16:54:58 -04:00
Isaac Connor b5d5e19331 Merge updates from 5.2.7 for yolov8 2025-05-22 16:54:48 -04:00
Isaac Connor 03e6e4d677 Merge branch 'ai_server' of github.com:connortechnology/zoneminder into ai_server 2025-05-22 10:31:51 -04:00
Isaac Connor 91bfcb7375 Clear in packet in copy constructor and move constructor 2025-05-22 10:31:37 -04:00
Isaac Connor 20a71543f4 Log onvif contents at error level instead of debug 2025-05-22 10:29:21 -04:00
nvme 791ac4c26e Implement batching for untether 2025-05-21 17:20:06 -07:00
nvme e511100a7f Cleanup code style 2025-05-21 14:53:24 -07:00
Isaac Connor 5d532845d0 Fix opening encoder with hw_device. Set devid if possible. Fix dts/pts in writeAudio 2025-05-21 16:36:52 -04:00
Isaac Connor 3377ad5ea0 Add get_hw_decide_id to zm_packet 2025-05-21 16:36:16 -04:00
Isaac Connor c2d08c8b0c Add ni_get_cardno 2025-05-21 16:35:47 -04:00
Isaac Connor 649b6ddf97 Break up long line 2025-05-21 14:30:28 -04:00
Isaac Connor de6e6716fa Only error if no image and decoding always 2025-05-21 14:30:20 -04:00
Isaac Connor 5a6ec2c549 increase sleep time in zm_event. Remove code to clean up packet. 2025-05-21 14:29:48 -04:00
Isaac Connor 1038c3dac1 Merge branch 'ai_server' of github.com:connortechnology/zoneminder into ai_server 2025-05-16 09:04:23 -04:00
Isaac Connor fa759a9bf1 DOn't alter ipkt, always use opkt. Do not unref the input packet. 2025-05-16 08:42:51 -04:00
Isaac Connor fb21c9aec2 accept in_frame for motion_detection as well as image. Test for needs_transfer before just calling transfer to prevent error message. 2025-05-15 22:42:23 -04:00
nvme 94f11e22d9 Move shared m_out_buf into the Job and give it a better name. 2025-05-15 13:56:33 -07:00
Isaac Connor e4b8a2835c Improve debug 2025-05-14 22:44:48 +00:00
Isaac Connor 9998d253ea Reduce last_detection_count to 2 2025-05-14 22:44:28 +00:00
Isaac Connor d11d1c8863 Sleep 30000 as that is 30fps 2025-05-14 21:11:14 +00:00
Isaac Connor 6bf1be0de7 Disable debug, fix drawboxes 2025-05-14 21:11:03 +00:00
Isaac Connor 18cf8fb588 Add ebug 2025-05-14 20:46:40 +00:00
Isaac Connor 1d02e08d44 Fix when no quadra 2025-05-14 20:46:40 +00:00
Isaac Connor c1df984188 Merge branch 'ai_server' of github.com:connortechnology/zoneminder into ai_server 2025-05-14 16:44:22 -04:00
Isaac Connor 7f05efd674 cleanup 2025-05-14 16:44:14 -04:00
Isaac Connor f6ad29a643 Maybe fix not freeing audio packets 2025-05-14 16:44:05 -04:00
Isaac Connor 1462377c6d Add CloseCodec, check for in_frame before doing OD 2025-05-14 16:43:31 -04:00
Isaac Connor be8bd70189 Turn off curl verbose 2025-05-14 20:34:26 +00:00
Isaac Connor c41043298d Notify while holding the lock 2025-05-13 20:49:21 -04:00
Isaac Connor 2096b4da07 Fix crashes when not decoding 2025-05-13 20:49:09 -04:00
Isaac Connor 3658e580b5 Merge branch 'ai_server' of github.com:connortechnology/zoneminder into ai_server 2025-05-13 07:19:03 -04:00
Isaac Connor b21ca5c384 convert zm_terminate to a std::atomic<bool> 2025-05-13 07:18:55 -04:00
Isaac Connor e4b21bfb6c Get lock earlier 2025-05-13 07:16:45 -04:00
Isaac Connor e80aa853be notify while holding the lock 2025-05-13 07:16:13 -04:00
nvme 1ee5b76f9f Init u and v_buffer 2025-05-13 00:12:07 +00:00
nvme a34dbda727 Space, init dsrawbox_filter 2025-05-12 22:10:02 +00:00
nvme 56ebbd0616 Init u and v_buffer 2025-05-12 19:55:52 +00:00
nvme 161ec2b308 Split draw_boxes 2025-05-12 19:55:52 +00:00
Isaac Connor fc6764ae67 Add ifdef QUADRA 2025-05-12 11:41:35 -04:00
Isaac Connor 9c4f4d31d0 Add ifdef QUADRA 2025-05-12 11:34:51 -04:00
Isaac Connor 692dbbe9b7 Fix error referencing reorder_queue for audio stream. 2025-05-11 17:24:17 -04:00
Isaac Connor 5bf49badfb Cleanup drawbox 2025-05-11 17:23:34 -04:00
Isaac Connor 029828739c Only allocate quadra if codec is open. Set codec contet to null when closing. Add locking around codec opening/closing due to quadra's use of it. 2025-05-11 17:23:21 -04:00
Isaac Connor 3e7409d22b IMprove drawbox. We now will keep u_buffer and v_buffer because sometimes it is not all contiguous 2025-05-11 17:22:30 -04:00
Isaac Connor 8afcee53a5 Handle errrs from sw_scale. If error from receive_frame, close codec 2025-05-11 17:21:51 -04:00
Isaac Connor 89800aaff7 Fix brg_to_yuv 2025-05-09 12:38:54 -04:00