Removed OPT_ from a couple of options.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@433 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-03-27 09:32:39 +00:00
parent 03796df14d
commit 56d14d55b3
3 changed files with 4 additions and 4 deletions

View File

@ -40,5 +40,5 @@
#define ZM_RECORD_EVENT_STATS <from zmconfig> // Whether to record event statistical information, change to no if too slow (from zmconfig) #define ZM_RECORD_EVENT_STATS <from zmconfig> // Whether to record event statistical information, change to no if too slow (from zmconfig)
#define ZM_STRICT_VIDEO_CONFIG <from zmconfig> // Whether to allow errors in setting video config to be fatal #define ZM_STRICT_VIDEO_CONFIG <from zmconfig> // Whether to allow errors in setting video config to be fatal
#define ZM_OPT_LOCAL_BGR_INVERT <from zmconfig> // Invert BGR colours to RGB #define ZM_LOCAL_BGR_INVERT <from zmconfig> // Invert BGR colours to RGB
#define ZM_BLEND_ALARM_IMAGES <from zmconfig> // Whether alarmed images are blended to update the reference image #define ZM_BLEND_ALARM_IMAGES <from zmconfig> // Whether alarmed images are blended to update the reference image

View File

@ -120,7 +120,7 @@ public:
buffer = new JSAMPLE[size]; buffer = new JSAMPLE[size];
memset( buffer, 0, size ); memset( buffer, 0, size );
} }
if ( colours == 1 || !ZM_OPT_LOCAL_BGR_INVERT ) if ( colours == 1 || !ZM_LOCAL_BGR_INVERT )
{ {
memcpy( buffer, new_buffer, size ); memcpy( buffer, new_buffer, size );
} }

View File

@ -213,14 +213,14 @@ my @options =
type => $types{boolean}, type => $types{boolean},
}, },
{ {
name => "ZM_OPT_LOCAL_BGR_INVERT", name => "ZM_LOCAL_BGR_INVERT",
default => "yes", default => "yes",
description => "Invert BGR colours to RGB", description => "Invert BGR colours to RGB",
help => "Some cameras or video cards capture images in BGR (Blue-Green-Red) order even when the paletter says RGB. If you see strange colours casts on your images then it may be worth trying this option to see if that corrects the issue. Note this option will apply only to local cameras and not those over a network.", help => "Some cameras or video cards capture images in BGR (Blue-Green-Red) order even when the paletter says RGB. If you see strange colours casts on your images then it may be worth trying this option to see if that corrects the issue. Note this option will apply only to local cameras and not those over a network.",
type => $types{boolean}, type => $types{boolean},
}, },
{ {
name => "ZM_OPT_BLEND_ALARMED_IMAGES", name => "ZM_BLEND_ALARMED_IMAGES",
default => "yes", default => "yes",
description => "Whether alarmed images are blended to update the reference image ", description => "Whether alarmed images are blended to update the reference image ",
help => "To detect alarms ZoneMinder compares an image with a reference image which is formed from a composite of the previous images. This option determines whether images that cause events are included in this process. Doing so may increase the precision of the alarmed region but can cause problems if wholescale lighting changes cause alarms as this would not get fed back into the image.", help => "To detect alarms ZoneMinder compares an image with a reference image which is formed from a composite of the previous images. This option determines whether images that cause events are included in this process. Doing so may increase the precision of the alarmed region but can cause problems if wholescale lighting changes cause alarms as this would not get fed back into the image.",