blakeblackshear.frigate/frigate
Cody Cutrer 2fae9dcb93
reduce contention on frame_queue (#6890)
* reduce contention on frame_queue

don't check if the queue is full, just attempt to add the frame
in a non-blocking manner, and then if it fails, skip it

* don't check if the frame queue is empty, just try and get from it

* Update frigate/video.py

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>

---------

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2023-07-06 08:18:39 -05:00
..
comms Ptz cleanup (#6999) 2023-07-06 07:42:17 -05:00
detectors
events Use pre capture for custom events (#7038) 2023-07-06 07:26:53 -05:00
images
motion use a different method for blur and contrast to reduce CPU (#6940) 2023-06-30 07:27:31 -05:00
record Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
test use clahe for contrast improvement (#6835) 2023-06-18 11:56:41 -05:00
track
__init__.py
__main__.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
app.py Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
config.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
const.py Check ffmpeg version instead of checking for presence of BTBN_PATH (#7023) 2023-07-06 07:35:26 -05:00
ffmpeg_presets.py Check ffmpeg version instead of checking for presence of BTBN_PATH (#7023) 2023-07-06 07:35:26 -05:00
http.py Add designator when events are from the api (#6997) 2023-07-03 09:48:00 -05:00
log.py Performance: multiprocessing improvement (#6936) 2023-06-28 05:39:39 -05:00
models.py
mypy.ini
object_detection.py Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
object_processing.py Apply zone filter before inertia (#6854) 2023-06-30 07:15:55 -05:00
output.py Force birdseye cameras into standard aspect ratios (#7026) 2023-07-06 07:30:05 -05:00
plus.py
ptz.py
stats.py update deps (#6973) 2023-07-01 07:47:16 -05:00
storage.py
timeline.py Performance: multiprocessing improvement (#6936) 2023-06-28 05:39:39 -05:00
types.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
util.py Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
video.py reduce contention on frame_queue (#6890) 2023-07-06 08:18:39 -05:00
watchdog.py update deps (#6973) 2023-07-01 07:47:16 -05:00