[x265] [PATCH] Fix: Documentation for scenecut options and macros in slicetype.h

srikanth.kurapati at multicorewareinc.com srikanth.kurapati at multicorewareinc.com
Mon Dec 16 12:55:56 CET 2019


# HG changeset patch
# User Srikanth Kurapati
# Date 1576496970 -19800
#      Mon Dec 16 17:19:30 2019 +0530
# Node ID a26521d2082747b2cff90a3dfdfc75a5ba1b6967
# Parent  a4e060a4483913e28df2ce8b8549f3ba8b63ac5a
Fix: Documentation for scenecut options and macros in slicetype.h

diff -r a4e060a44839 -r a26521d20827 doc/reST/cli.rst
--- 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 @@
 .. 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.
 	
diff -r a4e060a44839 -r a26521d20827 source/encoder/slicetype.h
--- 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 @@
 #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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265-default.patch
Type: text/x-patch
Size: 1875 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20191216/06b0b62d/attachment.bin>


More information about the x265-devel mailing list