Kfir Itzhak
71e6735b60
Neon32 functions now work on 64 bytes at a time. This results in 4-6x performance increase over standard functions
...
Memory allocations and image size requirements changed to be as needed for 64 byte alignment.
Self-test code for Blend modified accordingly and added Self-test for the delta functions.
2017-04-16 10:57:37 +03:00
Andrew Bauer
8c298b96d0
Merge pull request #1820 from SteveGilvarry/Remove_arg_r
...
Remove zmc -r argument as it does not seem to be implemented.
2017-04-15 07:17:56 -05:00
Andrew Bauer
6b0f587725
invert timestamp_on_capture condition
2017-04-13 15:51:50 -05:00
Isaac Connor
68ab2cb756
Merge pull request #1837 from DarkDeepBlue/fix-format-string-local-cam
...
zm_local_camera.cpp: Improve format strings
2017-04-06 08:54:20 -04:00
Andrew Bauer
b609b9ad4c
Merge pull request #1826 from connortechnology/uri_decode_in_zms
...
Uri decode in zms
2017-04-03 20:13:30 -05:00
Kfir Itzhak
5f6332f313
Fixed the assembly in hwcaps_detect() to compile with -fpic & -fPIC and added SSE4.1, SSE4.2 and AVX detection
2017-03-30 20:35:31 +03:00
Michael Schupikov
184eb507a7
zm_local_camera.cpp: Improve format strings
...
This avoids printing '0x0' as char and hence terminating the output too
early.
2017-03-29 12:45:44 +02:00
Kfir Itzhak
7162c62d26
Implemented a fix to get the Neon code to compile successfully with GCC < 6.0
2017-03-25 21:49:15 +03:00
Isaac Connor
3a8a04c213
Merge branch 'master' into feature-h264-videostorage
2017-03-22 09:02:02 -04:00
Kfir Itzhak
3431cf7732
Reduce code duplication in the SSSE3 functions: a single function for delta and a single function for RGB32->grayscale convert
2017-03-22 11:38:15 +02:00
Isaac Connor
9f30ccfa75
Use new UriDecode function to decode username and password
2017-03-20 11:16:39 -04:00
Isaac Connor
3b15ba91d1
Rough in a CURL based UriDecode
2017-03-20 11:16:21 -04:00
Kfir Itzhak
ca99d84995
Only include sys/auxv.h on ARM systems. That way the code can compile with glibc < 2.16
2017-03-20 15:12:28 +02:00
Kfir Itzhak
8b593b701b
Fixed hwcaps_detect() failing to compile on x86-64
2017-03-19 15:11:06 +02:00
Kfir Itzhak
29885135a6
Corrected issues in last two ARM Neon commits
2017-03-19 13:39:24 +02:00
Kfir Itzhak
510f65c414
Added ARM Neon (AArch32) FastBlend function
2017-03-19 13:31:44 +02:00
Kfir Itzhak
c5c9b52d18
Added ARM Neon (AArch32) Delta functions for 32bit color and 8bit grayscale
2017-03-19 13:02:42 +02:00
Kfir Itzhak
e02e033cc8
Renamed ssedetect() to hwcaps_detect() and added ARM Neon and AVX2 detection
2017-03-19 02:05:01 +02:00
SteveGilvarry
e5b18ee213
Remove zmc -r argument as it does not seem to be implemented.
2017-03-18 23:25:14 +11:00
Isaac Connor
c24853ad11
Merge pull request #1806 from adam900710/compile_fix
...
ZoneMinder: Rename public enum CHAR_WIDTH/CHAR_HEIGHT to avoid conflicts
2017-03-17 09:42:15 -04:00
Isaac Connor
6a447194eb
Fix zmc crashing when zones are no good bby decreasing n_zone before continuing
2017-03-16 10:55:13 -04:00
Kfir Itzhak
f7fcab24c4
Fixed a mistake in recent commit e7a681b8ff
2017-03-14 22:46:36 +02:00
Kfir Itzhak
f30192e5da
Use standard memcpy() on x86-64, as it behaves similar performs the equal or better
2017-03-14 22:41:35 +02:00
Kfir Itzhak
67f7ad40ae
Removed SSSE3 deinterlacing functions, as they were typically equal or slower than the standard code (when compiled with -O2 or better)
...
The function is too complicated to be vectorized efficiently
2017-03-14 22:36:26 +02:00
Kfir Itzhak
e7a681b8ff
Added BGRA, ARGB and ABGR variants of SSSE3 32bit color to grayscale conversion and made the code actually use them all
2017-03-14 22:29:55 +02:00
Kfir Itzhak
20604c2150
SSSE3 rgba->gray8 convert function now uses less instructions and is 10-20% faster
2017-03-14 16:54:00 +02:00
Kfir Itzhak
844b4bb5ee
SSSE3 delta functions now use less instructions and are 5-10% faster
2017-03-14 12:17:01 +02:00
Qu Wenruo
0b9853e1d4
ZoneMinder: Rename public enum CHAR_WIDTH/CHAR_HEIGHT to avoid conflicts
...
CHAR_WIDTH is defined by limits.h, and class Image redefines it to 6,
which causes gcc6, clang, gcc5 to complain about it.
Fix by adding ZM_ prefix to CHAR_WIDTH and CHAR_HEIGHT, so it can be
compiled.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
2017-03-12 22:00:46 +08:00
Isaac Connor
e723b6dbef
Must cast codec
2017-02-21 16:28:53 -05:00
Isaac Connor
0880412e7f
Merge branch 'master' into feature-h264-videostorage
2017-02-21 16:04:27 -05:00
Isaac Connor
d5bb6f3210
remove line that causes endless reading when doing single image mode
2017-02-11 09:57:36 -05:00
abishai
74dd8ab027
make clang happy take two
2017-02-06 09:57:22 +03:00
abishai
8d5a8f5512
make clang happy
2017-02-03 14:53:53 +03:00
abishai
1687217d18
switch to POSIX basename()
2017-01-31 11:10:25 +03:00
abishai
97380f009b
implement platform-agnostic comparison without abs()
2017-01-31 10:42:57 +03:00
Isaac Connor
41b6369c36
Merge branch 'master' into feature-h264-videostorage
2017-01-25 09:46:06 -05:00
SteveGilvarry
2f3ebd80da
Remove zmf, die..die..die
2017-01-16 13:20:05 -08:00
Andrew Bauer
5833196a84
packpack - change error code handling
2017-01-16 08:36:46 -06:00
Isaac Connor
242e5a56d8
rough in the ability to filter on RunState
2017-01-14 16:55:28 -05:00
Isaac Connor
7f059b750f
fix whitespacing causing a warning when compiling. In this case braces are not neccessary.
2017-01-11 14:25:46 -05:00
Isaac Connor
87daba346b
fix else behaviour by adding braces
2017-01-11 14:18:56 -05:00
Isaac Connor
c0e929f136
change regexp to handle quotes in the content-type line. This is needed for edimax cameras
2017-01-11 09:11:27 -05:00
Isaac Connor
d5ad757116
Merge branch 'master' into feature-h264-videostorage
2017-01-02 10:00:02 -05:00
klemens
0d549f1db3
spelling fixes
2016-12-29 10:31:05 +01:00
Andy Bauer
254fcbcef7
update gpl 2 mailing address in source files
2016-12-26 09:23:16 -06:00
Isaac Connor
f6c377c2b4
Merge branch 'master' into feature-h264-videostorage
2016-12-15 16:47:32 -05:00
Isaac Connor
6fa3b25d2a
fix whitespace
2016-12-12 21:44:03 -05:00
Isaac Connor
1f6a6f9758
fix whitespace
2016-12-12 21:43:07 -05:00
Isaac Connor
9b76a16af4
log failed sql when db insert fails. Also, don't permanently turn off db logging just for one failed insert
2016-12-12 21:41:55 -05:00
Andy Bauer
873bb9902b
recalculating zmswap at this point is unnesessary
2016-11-19 08:53:17 -06:00
Andy Bauer
3afa8937d8
calculate string lengths and array ndx's properly
2016-11-19 08:52:22 -06:00
Andy Bauer
d3a7fca079
only unlink if zmc is being destroyed
2016-11-14 19:01:00 -06:00
Andy Bauer
6c7d71361a
unlink the mmap file when the monitor object is destroyed
2016-11-13 16:40:54 -06:00
Isaac Connor
a2f782d61a
Merge branch 'master' into feature-h264-videostorage
2016-11-03 16:26:18 -04:00
Isaac Connor
006fcad10a
move jpeg context freeing to a Deinitialise function instead of ~Image. Turn down the logging
2016-10-07 11:35:14 -04:00
Isaac Connor
a7979eb63b
Merge branch 'master' into feature-h264-videostorage
2016-10-03 13:21:50 -04:00
Steve Gilvarry
6be3938ae1
Ignore bad decodes
2016-09-26 22:36:53 +10:00
Isaac Connor
5722f3af2f
fix audio_stream to audio_st
2016-09-21 14:01:32 -04:00
Isaac Connor
249d3cadc5
fix for video on stream 1
2016-09-21 12:17:09 -04:00
Isaac Connor
288b03290c
remark out some debugging
2016-09-21 09:05:55 -04:00
Isaac Connor
59b28e8346
deprecate the z_frame_rate stuff which is deprecated in ffmpeg
2016-09-13 10:15:47 -04:00
Isaac Connor
39e06b929f
add braces and only call closeEvent if there is an event
2016-09-13 09:36:45 -04:00
Steve Gilvarry
fc060135fe
Move our recording flag deeper into closeevent
2016-09-13 22:58:38 +10:00
Isaac Connor
dfb06fd548
Merge pull request #1607 from mattdurant/fix_issue_1460
...
Fix issue #1460
2016-09-01 14:02:13 -04:00
Matt Durant
350352d956
Added check for SINGLE_IMAGE if ReadData() detects the socket closed by remote side to return 0 instead of -1.
2016-08-31 20:56:30 -05:00
Matt Durant
0950ecbcb9
Replaced loops to create color tables during initialization with statically declared arrays.
2016-08-31 19:36:14 -05:00
Isaac Connor
1277f3c792
need arpa/inet for reverse lookups
2016-08-10 12:32:58 -04:00
Isaac Connor
6ac1a70b9c
Merge my Rotation/Orientation work and fixes for bad h264 streams
2016-08-10 12:22:04 -04:00
Steve Gilvarry
5d8159462c
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2016-08-11 00:51:46 +10:00
Isaac Connor
3f713df826
bump libavutil version check as per @SteveGilvarry
2016-08-09 13:14:10 -04:00
Isaac Connor
177c2c741b
Fixes #1584 . I've just copied the relevant functions from ffmpeg source. Please review carefully before merging.
2016-08-07 10:55:19 -04:00
Andrew Bauer
f67394ffb7
Merge pull request #1567 from SteveGilvarry/avdictparsestring
...
Use av_dict_parse_string to create AVDictionary of options
2016-08-06 09:50:49 -05:00
Andrew Bauer
382896dc0d
Merge pull request #1498 from josh4trunks/mysql_port_socket
...
Add support for MySQL Port / Unix Socket
2016-08-06 09:32:32 -05:00
Steve Gilvarry
ea1ae815f1
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2016-08-05 23:03:06 +10:00
Steve Gilvarry
1a684b7709
Remove whitespace
2016-07-28 23:22:34 +10:00
Steve Gilvarry
71e3789bd0
Use av_dict_parse_string to split ffmpeg options, and remove creating strings to split them in next step for rtsp_transport
2016-07-28 23:15:01 +10:00
Steve Gilvarry
b9a48eb464
Pass swscale_ctx back in to getCachedContext or it will create new
...
context every frame and leak memory like a mofo.
2016-07-17 08:11:53 +10:00
Dmitry Smirnov
f1acc52913
spellcheck/codespell
2016-07-14 00:30:39 +10:00
Steve Gilvarry
b05eabfe1d
Forgot that I was trying to solve case of stream is true and record_audio
...
is false.
2016-07-13 08:31:10 +10:00
Steve Gilvarry
f1b9e1205a
Respect record_audio flag when setting up video file so dont try and initiliase mp4 with unsupported audio
2016-07-12 23:13:02 +10:00
Steve Gilvarry
5d2ece0063
Why are these failing
2016-07-10 11:57:08 +10:00
Steve Gilvarry
25f7a8cadf
Restore lost fixes for deprecation
2016-07-09 22:31:01 +10:00
Steve Gilvarry
142784746c
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2016-07-07 19:33:04 +10:00
Andrew Bauer
75a98601ef
fix jpeg buffer too small
2016-07-03 14:59:05 -05:00
Andrew Bauer
97baf4ecd3
Merge pull request #1529 from ZoneMinder/fix_1526
...
connect needs a +1
2016-06-24 09:53:46 -05:00
Isaac Connor
7496dc392f
get rid of use of separator, just use \n
2016-06-21 14:06:07 -04:00
Isaac Connor
dfc885a12a
fix tabs
2016-06-21 12:25:13 -04:00
Steve Gilvarry
d8f6cc952d
Fix missing } from merge that was preventing building.
2016-06-19 07:22:14 +10:00
Isaac Connor
08c8da3e8f
fix extra else and some whitespace
2016-06-17 11:37:20 -04:00
Isaac Connor
26bba58c56
Merge branch 'master' into feature-h264-videostorage
2016-06-17 11:09:47 -04:00
Isaac Connor
472973e975
connect needs a +1
2016-06-12 15:45:24 -04:00
Andrew Bauer
f289b84901
move VIDEO_MAX_FRAME up
2016-06-06 19:04:02 -05:00
Andy Bauer
06923d44ba
Set VIDEO_MAX_FRAME if it is not defined
2016-06-06 16:27:13 -05:00
Isaac Connor
2385575c56
fix +1 being outside bind()
2016-06-02 16:23:04 -04:00
Andy Bauer
d12b9dc16d
fix typo. needs }
2016-05-24 09:24:18 -05:00
Andy Bauer
6e82f2c9a9
add messages back with debug 3
2016-05-24 08:50:09 -05:00
Andrew Bauer
bc163b33fc
move multiserver message to once during startup only
2016-05-23 20:06:29 -05:00
josh4trunks
2ab79820a1
Add back changes
2016-05-22 08:08:12 -07:00
Isaac Connor
58d326681a
quick fix for gcc6
2016-05-17 09:17:19 -04:00
Isaac Connor
435a1f7a2e
remove duplicated locking code created by bind_fixes
2016-05-17 09:11:52 -04:00
Steve Gilvarry
413eced6df
Merge pull request #1450 from ZoneMinder/bind_fixes
...
add some error checking, but fix the call to bind
2016-05-10 08:00:10 +10:00
Isaac Connor
fd896acd50
Merge branch 'RTSP-IPv6' of https://github.com/schrorg/ZoneMinder into schrorg-RTSP-IPv6
2016-05-06 08:32:21 -04:00
Isaac Connor
341ebc7b45
Merge branch 'master' into bind_fixes
2016-05-02 12:39:55 -04:00
Steve Gilvarry
b9a6273f32
Fix dropped part of sql query.
2016-05-01 15:59:53 +10:00
Steve Gilvarry
da157f5a1a
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2016-04-30 22:27:10 +10:00
Steve Gilvarry
e73935a15b
Clean up extraneous avutil include
2016-04-29 21:29:07 +10:00
Steve Gilvarry
8452c4bce5
Fix tab to spaces merge issues
2016-04-29 21:27:28 +10:00
Isaac Connor
0dc2987b84
add some error checking, but fix the call to bind which really should have a +1 in it.
2016-04-28 16:32:50 -04:00
Isaac Connor
fac07cba6d
Merge branch 'master' into tabs_to_spaces
2016-04-28 09:31:40 -04:00
Isaac Connor
629f141734
Merge pull request #1441 from SteveGilvarry/remove_commented_code
...
Delete large commented out code segment
2016-04-28 09:30:43 -04:00
Isaac Connor
24e3306955
master master
2016-04-28 09:20:56 -04:00
Steve Gilvarry
af361042ef
Merge pull request #1446 from ZoneMinder/stdstring_instead_of_c_string
...
use std::string instead of C strings. Mostly this will quiet build wa…
2016-04-28 22:13:44 +10:00
Steve Gilvarry
d9fd0faa32
Merge pull request #1447 from ZoneMinder/simplify_zm_signal
...
Simplify zm signal
2016-04-28 21:37:55 +10:00
Isaac Connor
69d5065ebf
move ip down as well
2016-04-26 16:05:37 -04:00
Isaac Connor
5d88acb8a6
re-arrange a few lines to remove some duplicate ifdef's. And move the cr2 def into the area that uses it to remove build warnings on freebsd
2016-04-26 16:03:26 -04:00
Isaac Connor
7d7249f328
use std::string instead of C strings. Mostly this will quiet build warnings on FreeBSD and removes the potential for buffer overflows
2016-04-26 15:48:21 -04:00
abi
9aff84fbbb
unbreak build under FreeBSD 32 bit II
2016-04-26 21:53:50 +03:00
Isaac Connor
2d8c484792
rotate dimensions when instantiating the Monitor object
2016-04-25 16:48:26 -04:00
Isaac Connor
8c53925fdc
redo rotation fix. cameras have to be given the width and height that the camera will be sending. The monitor will report rotated dimensions.
2016-04-25 16:00:34 -04:00
Isaac Connor
26a45d5fa9
Don't rotate dimensions when constructing the monitor because they are already rotated
2016-04-25 13:55:28 -04:00
Steve Gilvarry
4ca61b7bd8
Removed 180 lines of commented out code that has been hanging around
...
in here for a long time.
2016-04-25 22:12:49 +10:00
Isaac Connor
e4f116af2f
more debug and comments, return checking
2016-04-15 15:32:48 -04:00
Isaac Connor
b3e68ca2f7
Must init videoStore in constuctor
2016-04-15 15:10:26 -04:00
Isaac Connor
c189e60d9b
add some comments, and dump filename and AVFormatContext on failure to write header
2016-04-14 12:34:52 -04:00
Andrew Bauer
28b30ecb47
Merge pull request #1377 from ZoneMinder/random_fixes
...
Random fixes
2016-04-11 12:04:05 -05:00
Isaac Connor
fefa2dc804
add a test and error message if the codec is not h264
2016-04-06 12:48:16 -04:00
Isaac Connor
d83ab4d46c
Steal some packet dumping routines from ffmpeg. Convert them to use our logging routines
2016-04-06 11:25:05 -04:00
Isaac Connor
2f1376950a
spelling fix
2016-04-06 10:50:12 -04:00
Isaac Connor
9aeba8ced8
whitespace fixes
2016-04-06 10:50:00 -04:00
Isaac Connor
0ef02287dd
revert
2016-04-06 10:49:42 -04:00
Isaac Connor
222f7755fe
fix whitespace
2016-04-06 10:27:41 -04:00
Isaac Connor
9a795432cf
merge all the commits from the messed up iconnor_video branch
2016-04-05 17:14:46 -04:00
SteveGilvarry
4d7ded5ef0
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
...
Conflicts:
configure.ac
src/Makefile.am
web/js/Makefile.am
2016-04-05 22:06:14 +10:00
Andy Bauer
4e9a925933
Merge branch 'Autotools_delete' of https://github.com/SteveGilvarry/ZoneMinder into SteveGilvarry-Autotools_delete
2016-04-04 20:52:49 -05:00
Andy Bauer
7ff8d36598
Merge branch 'depracation_nation' of https://github.com/SteveGilvarry/ZoneMinder into SteveGilvarry-depracation_nation
2016-04-04 20:44:53 -05:00
Isaac Connor
03b1ced568
tabs to spaces and use 2space indenting
2016-04-04 10:11:48 -04:00
Isaac Connor
abcf48b65c
Merge branch 'master' into feature-h264-videostorage
2016-04-01 08:53:45 -04:00
Isaac Connor
ecce87b779
mamke status a member so that we aren't return the address of a local variable
2016-03-31 14:43:22 -04:00
Isaac Connor
a16c1746e5
separate a failure to open versus failure to lock. Quiets coverity because close can't handle a negative value
2016-03-24 10:00:02 -04:00
Isaac Connor
1e52a8ad2c
remove unused class member
2016-03-24 09:44:34 -04:00
Isaac Connor
b6ee4e4228
move return up into #ifdef.
2016-03-24 09:43:15 -04:00
Isaac Connor
0c32ae61ef
Merge branch 'master' into fix_coverity_issues
2016-03-24 09:42:01 -04:00
Jon Burgess
bfd846bbff
Add more logging to diagnose problems with applying ffmpeg options
2016-03-20 21:44:58 +00:00
SteveGilvarry
5f4441878e
Coded_Frame deprecation all examples were no lomger setting AV_PKT_FLAG_KEY, is it on the packet already.
2016-03-03 17:16:06 +11:00
SteveGilvarry
2122d6e443
Fix all the av_picture related deprecations
2016-03-03 01:03:55 +11:00
SteveGilvarry
3ce620eb89
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2016-02-27 19:46:56 +11:00
SteveGilvarry
23d437ab47
ffmpeg 3.0 API build failure fixes
2016-02-27 02:12:22 +11:00
SteveGilvarry
e70d037895
Start avpicture deprecation
2016-02-27 01:23:20 +11:00
SteveGilvarry
0277a66700
Remove eyezm from distros and Cmake.
...
Conflicts:
distros/debian8/control
2016-02-26 22:41:27 +11:00
SteveGilvarry
4837585601
Deleted eyezm options documentation and references to it in other areas of documentation. Removed zmstreamer.cpp.
...
Conflicts:
src/zmstreamer.cpp
2016-02-26 22:37:23 +11:00