[x265] [PATCH] MOved LAMBDA_PARTITION_SELECT defnition from CommonDef to compress.cpp

aarthi at multicorewareinc.com aarthi at multicorewareinc.com
Thu Aug 1 11:01:42 CEST 2013


# HG changeset patch
# User aarthi
# Date 1375347689 -19800
# Node ID e488a641d5aa90ebb435885b45bc2d2d5f6e8efe
# Parent  2712a1cc03bbdd46c035c293d0dc367737763748
MOved LAMBDA_PARTITION_SELECT defnition from CommonDef to compress.cpp

diff -r 2712a1cc03bb -r e488a641d5aa source/Lib/TLibCommon/CommonDef.h
--- a/source/Lib/TLibCommon/CommonDef.h	Thu Aug 01 14:30:09 2013 +0530
+++ b/source/Lib/TLibCommon/CommonDef.h	Thu Aug 01 14:31:29 2013 +0530
@@ -126,7 +126,6 @@
 #define REG_DCT                     65535
 
 #define CABAC_INIT_PRESENT_FLAG     1
-#define LAMBDA_PARTITION_SELECT     0.9
 
 #define _SUMMARY_OUT_               0           ///< print-out PSNR results of all slices to summary.txt
 #define _SUMMARY_PIC_               0           ///< print-out PSNR results for each slice type to summary.txt
diff -r 2712a1cc03bb -r e488a641d5aa source/encoder/compress.cpp
--- a/source/encoder/compress.cpp	Thu Aug 01 14:30:09 2013 +0530
+++ b/source/encoder/compress.cpp	Thu Aug 01 14:31:29 2013 +0530
@@ -23,10 +23,13 @@
 
 #include "TLibEncoder/TEncCu.h"
 #include <math.h>
-#include <common.h>
+
 
 /* Temporary macro for development only. Will be removed once the early exit is fully tested and profiled */
-#define EARLY_EXIT_NO_RDO 0
+#define EARLY_EXIT_NO_RDO 1
+
+/* Lambda Partition Select adjusts the threshold value for Early Exit in No-RDO flow */
+#define LAMBDA_PARTITION_SELECT     0.9
 
 using namespace x265;
 


More information about the x265-devel mailing list