include lint warning fixes

BUG=none
TEST=lint
R=ryanpetrie@google.com

Review URL: https://webrtc-codereview.appspot.com/1676004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@728 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
fbarchard@google.com 2013-06-17 16:37:39 +00:00
parent f2f9dbb644
commit b3a08b3e05
6 changed files with 12 additions and 13 deletions

View File

@ -16,7 +16,7 @@ LOCAL_SRC_FILES := \
source/convert_to_argb.cc \
source/convert_to_i420.cc \
source/cpu_id.cc \
source/fixed_math.cc \
source/fixed_math.cc \
source/format_conversion.cc \
source/planar_functions.cc \
source/rotate.cc \

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 727
Version: 728
License: BSD
License File: LICENSE

View File

@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 727
#define LIBYUV_VERSION 728
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT

View File

@ -76,7 +76,6 @@
'include/libyuv/scale_argb.h',
'include/libyuv/version.h',
'include/libyuv/video_common.h',
'source/fixed_math.h',
# sources.
'source/compare.cc',
@ -93,6 +92,7 @@
'source/convert_to_i420.cc',
'source/cpu_id.cc',
'source/fixed_math.cc',
'source/fixed_math.h',
'source/format_conversion.cc',
'source/mjpeg_decoder.cc',
'source/mjpeg_validate.cc',

View File

@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "libyuv/basic_types.h"
#include "./fixed_math.h" // NOLINT
#ifdef __cplusplus
namespace libyuv {
@ -708,6 +708,3 @@ extern const float kRecipTable[4097] = {
} // extern "C"
} // namespace libyuv
#endif

View File

@ -11,6 +11,13 @@
#ifndef UNIT_TEST_UNIT_TEST_H_ // NOLINT
#define UNIT_TEST_UNIT_TEST_H_
#ifdef WIN32
#include <windows.h>
#else
#include <sys/time.h>
#include <sys/resource.h>
#endif
#include <gtest/gtest.h>
#include "libyuv/basic_types.h"
@ -42,7 +49,6 @@ static __inline int Abs(int v) {
var = 0;
#ifdef WIN32
#include <windows.h>
static inline double get_time() {
LARGE_INTEGER t, f;
QueryPerformanceCounter(&t);
@ -53,10 +59,6 @@ static inline double get_time() {
#define random rand
#define srandom srand
#else
#include <sys/time.h>
#include <sys/resource.h>
static inline double get_time() {
struct timeval t;
struct timezone tzp;