changeset 12591:a26521d20827

Fix: Documentation for scenecut options and macros in slicetype.h
author Srikanth Kurapati
date Mon, 16 Dec 2019 17:19:30 +0530
parents a4e060a44839
children a8a2c4c37267
files doc/reST/cli.rst source/encoder/slicetype.h
diffstat 2 files changed, 4 insertions(+-), 4 deletions(-) [+]
line wrap: on
line diff
--- a/doc/reST/cli.rst	Wed Sep 11 15:38:06 2019 +0530
+++ b/doc/reST/cli.rst	Mon Dec 16 17:19:30 2019 +0530
@@ -1437,13 +1437,13 @@ Slice decision options
 .. option:: --hist-scenecut, --no-hist-scenecut
 
 	Indicates that scenecuts need to be detected using luma edge and chroma histograms.
-	option: `--hist-scenecut` enables scenecut detection using the histograms and disables the default scene cut algorithm.
-	option: `--no-hist-scenecut` disables histogram based scenecut algorithm.
+	:option: `--hist-scenecut` enables scenecut detection using the histograms and disables the default scene cut algorithm.
+	:option: `--no-hist-scenecut` disables histogram based scenecut algorithm.
 	
 .. option:: --hist-threshold <0.0..2.0>
 
 	This value represents the threshold for normalized SAD of edge histograms used in scenecut detection.
-	This requires option: `--hist-scenecut` to be enabled. For example, a value of 0.2 indicates that a frame with normalized SAD value 
+	This requires :option: `--hist-scenecut` to be enabled. For example, a value of 0.2 indicates that a frame with normalized SAD value 
 	greater than 0.2 against the previous frame as scenecut. 
 	Default 0.01.
 	
--- a/source/encoder/slicetype.h	Wed Sep 11 15:38:06 2019 +0530
+++ b/source/encoder/slicetype.h	Mon Dec 16 17:19:30 2019 +0530
@@ -43,7 +43,7 @@ class Lookahead;
 #define AQ_EDGE_BIAS 0.5
 #define EDGE_INCLINATION 45
 
-#ifdef HIGH_BIT_DEPTH
+#if HIGH_BIT_DEPTH
 #define edgeThreshold 1023.0
 #else
 #define edgeThreshold 255.0