[x265] [PATCH] remove unused <algorithm> includes
Gopu Govindaswamy
gopu at multicorewareinc.com
Thu Oct 10 08:41:46 CEST 2013
# HG changeset patch
# User Gopu Govindaswamy <gopu at multicorewareinc.com>
# Date 1381387236 -19800
# Node ID dc733384852a48e15ef3be9f9dccdefbe6d87f0e
# Parent 75a05ed704816fe1a0f45dbbe2723d438043a836
remove unused <algorithm> includes
diff -r 75a05ed70481 -r dc733384852a source/Lib/TLibCommon/CommonDef.h
--- a/source/Lib/TLibCommon/CommonDef.h Thu Oct 10 12:06:38 2013 +0530
+++ b/source/Lib/TLibCommon/CommonDef.h Thu Oct 10 12:10:36 2013 +0530
@@ -38,7 +38,6 @@
#ifndef X265_COMMONDEF_H
#define X265_COMMONDEF_H
-#include <algorithm>
#include <cstdlib>
#include "TypeDef.h"
diff -r 75a05ed70481 -r dc733384852a source/Lib/TLibCommon/TComDataCU.h
--- a/source/Lib/TLibCommon/TComDataCU.h Thu Oct 10 12:06:38 2013 +0530
+++ b/source/Lib/TLibCommon/TComDataCU.h Thu Oct 10 12:10:36 2013 +0530
@@ -46,7 +46,6 @@
#include "TComPattern.h"
#include <assert.h>
-#include <algorithm>
namespace x265 {
// private namespace
diff -r 75a05ed70481 -r dc733384852a source/Lib/TLibEncoder/NALwrite.cpp
--- a/source/Lib/TLibEncoder/NALwrite.cpp Thu Oct 10 12:06:38 2013 +0530
+++ b/source/Lib/TLibEncoder/NALwrite.cpp Thu Oct 10 12:10:36 2013 +0530
@@ -36,9 +36,6 @@
#include "NALwrite.h"
#include "common.h"
-#include <algorithm>
-#include <cstring>
-
namespace x265 {
//! \ingroup TLibEncoder
diff -r 75a05ed70481 -r dc733384852a source/Lib/TLibEncoder/TEncSbac.cpp
--- a/source/Lib/TLibEncoder/TEncSbac.cpp Thu Oct 10 12:06:38 2013 +0530
+++ b/source/Lib/TLibEncoder/TEncSbac.cpp Thu Oct 10 12:10:36 2013 +0530
@@ -36,7 +36,6 @@
*/
#include "TEncSbac.h"
-#include <algorithm>
using namespace x265;
diff -r 75a05ed70481 -r dc733384852a source/common/dct.cpp
--- a/source/common/dct.cpp Thu Oct 10 12:06:38 2013 +0530
+++ b/source/common/dct.cpp Thu Oct 10 12:10:36 2013 +0530
@@ -29,7 +29,6 @@
#include "TLibCommon/TComRom.h"
#include "primitives.h"
-#include <algorithm>
#include <string.h>
using namespace x265;
diff -r 75a05ed70481 -r dc733384852a source/common/pixel.cpp
--- a/source/common/pixel.cpp Thu Oct 10 12:06:38 2013 +0530
+++ b/source/common/pixel.cpp Thu Oct 10 12:10:36 2013 +0530
@@ -27,7 +27,6 @@
#include "TLibCommon/TComRom.h"
#include "primitives.h"
-#include <algorithm>
#include <cstdlib> // abs()
using namespace x265;
diff -r 75a05ed70481 -r dc733384852a source/common/vec/dct-sse3.cpp
--- a/source/common/vec/dct-sse3.cpp Thu Oct 10 12:06:38 2013 +0530
+++ b/source/common/vec/dct-sse3.cpp Thu Oct 10 12:10:36 2013 +0530
@@ -37,7 +37,6 @@
#include <assert.h>
#include <string.h>
-#include <algorithm>
using namespace x265;
diff -r 75a05ed70481 -r dc733384852a source/common/vec/dct-sse41.cpp
--- a/source/common/vec/dct-sse41.cpp Thu Oct 10 12:06:38 2013 +0530
+++ b/source/common/vec/dct-sse41.cpp Thu Oct 10 12:10:36 2013 +0530
@@ -37,7 +37,6 @@
#include <assert.h>
#include <string.h>
-#include <algorithm>
#include <smmintrin.h>
using namespace x265;
diff -r 75a05ed70481 -r dc733384852a source/x265.cpp
--- a/source/x265.cpp Thu Oct 10 12:06:38 2013 +0530
+++ b/source/x265.cpp Thu Oct 10 12:10:36 2013 +0530
@@ -53,7 +53,6 @@
#include <string.h>
#include <stdio.h>
#include <string>
-#include <list>
#include <ostream>
#include <fstream>
More information about the x265-devel
mailing list