Commit Graph

27 Commits

Author SHA1 Message Date
Mr-DaveDev
6298716a56 Revise defines for HAVE_STDLIB_H 2018-10-22 21:03:39 -06:00
Mr-DaveDev
4ff191be82 Implement Translations via Gettext
Implement translations of Motion log messages and web control using the gettext function.
2018-03-25 16:39:57 -06:00
void-user
fcc66b8c91 Setjmp fixes for jpegutils.c (#650)
* Move setjmp invocation back into decoding function.

Behavior is undefined if longjmp is called after the function containing
setjmp invocation has terminated.

* Revert "Add error checking on jpeg utils (#563)"

This is dead code because longjmp invocation ensures control is returned
to the existing error path.

This reverts commit caea41df75.

* Silence spurious gcc 4.8.4 warning.
2018-02-12 21:41:55 -07:00
Mr-DaveDev
caea41df75 Add error checking on jpeg utils (#563) 2017-12-07 17:25:40 -07:00
Mr-Dave
425bf05c08 14.04 Issues
Resolve issues related to RTSP Cameras
1.  Do not drain the codec at each frame
2.  Add variable active to context and remove #ifdef HAVE_FFMPEG
3.  Reset return code for encoding when timing problems for pts
4.  Set the jpeg error messages to debug level.
5.  Comment out the frame timing debug messages that flood log.
2017-09-10 17:03:14 -06:00
MrDave
b744c3ca25 MJPG Huffman tables
Provide Huffman tables to v4l2 mjpg streams using older jpg libraries.
2017-09-10 09:38:53 -06:00
Mr-DaveDev
eeecf611f7 Resolve Developer Warnings (#497)
1.  Revise the developer warnings to treat all warnings as errors
2.  Revise a few of the comparisons of signed to unsigned.
3.  Isolate the setjmp to separate function since it is warning on 14.04
4.  Remove redundant clang OSX test since gcc is really clang according to travis logs
2017-09-08 18:18:20 -06:00
MrDave
d1e5a8f91b jpegutils small fixes 2017-08-06 18:29:47 -06:00
MrDave
2539f76165 Add Documentation
Add some documentation to jpegutils.c
2017-08-06 15:29:40 -06:00
MrDave
563a688777 jpegutils.c Error Messages
Filter out the extra error messages from jpeg libary
2017-08-05 19:02:04 -06:00
MrDave
eaaf8b47d9 Rewrite jpegutils.c
The previous version of jpegutils.c was performing the downsampling of images manually
This commit rewrites the decompression to take advantage of the built in downsampling
and image color space conversion that is part of the JPEG libaries.

This function is currently only called from the vid_mjpegtoyuv420p routine.
2017-08-05 17:50:50 -06:00
tosiara
910412f175 Changed MOTION_LOG macro (#428)
* Changed MOTION_LOG macro and remover "%s:" from the format string
Function name will be now auto added

* Re-applied log-update after conflict resolution

* Some old style logging still remaining, updated
2017-07-30 17:07:40 -06:00
MrDave
f196a2c5af Whitespace and Tab cleanup
Remove trailing whitespace and convert tabs to four spaces.
No code changes.
2017-02-12 18:25:43 -07:00
Sebastiaan Lokhorst
915c889257 Add CMake build system 2016-11-11 21:47:37 +01:00
Mr Dave
124e8e302a Logitech MJPEG patch 2015-08-30 23:37:48 -06:00
David Fries
cf88e025ab typo fix, unused variable cleanup, etc
motion.c bad spelling, to "an image"
webhttpd.c consolidate the timeout to the top of the file as I needed
to change it for testing
2015-08-23 16:50:47 -05:00
Dave
976fe425a5 Removed compiler warnings and small bug fix for webhttpd.c 2014-06-13 20:47:13 -06:00
Dave
048791e449 Merge tosiara/rtsp branch (commit 46cfcf31d, 2014/05/21) 2014-06-13 19:52:34 -06:00
Angel Carpintero
353933d1f9 Remove warnings for libjpeg > 7.0 2011-10-29 05:13:23 +02:00
Angel Carpintero
dc2380b04d Try to fix : http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2011x08x20x194659
Adding dinfo.do_fancy_upsampling = FALSE;
2011-10-29 03:59:20 +02:00
Angel Carpintero
d8063fb1df - Change default log level to 6 / NTC
- Reviewed log levels to make motion less verbose and move most of them to NTC level.
2010-05-23 00:01:05 +02:00
AngelCarpintero
3e53086a81 fix spelling and code standard compliant 2010-04-05 18:35:19 +00:00
AngelCarpintero
f7469950d0 Added a macro MOTION_LOG , no need to add __FUNCTION__ anymore. 2010-04-04 21:50:50 +00:00
AngelCarpintero
79cf297cd4 Implemented http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionLog 2010-04-03 19:34:23 +00:00
AngelCarpintero
314a4ee004 http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionWriteBuffersPatch 2009-07-08 07:11:19 +00:00
AngelCarpintero
df4e417219 Fix jpegutils warning , update man page date in 3.2.11 and update CREDITS and CHANGELOG in trunk 2008-08-02 15:40:12 +00:00
AngelCarpintero
6c39dbb18d Get rid of mjpegtools dependecies adding only jpegutils, Fix rotate for v4l2 devices using JPEG/MJPEG palettes 2008-07-25 12:31:26 +00:00