mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-17 07:39:53 +08:00
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:
parent
f2f9dbb644
commit
b3a08b3e05
@ -16,7 +16,7 @@ LOCAL_SRC_FILES := \
|
|||||||
source/convert_to_argb.cc \
|
source/convert_to_argb.cc \
|
||||||
source/convert_to_i420.cc \
|
source/convert_to_i420.cc \
|
||||||
source/cpu_id.cc \
|
source/cpu_id.cc \
|
||||||
source/fixed_math.cc \
|
source/fixed_math.cc \
|
||||||
source/format_conversion.cc \
|
source/format_conversion.cc \
|
||||||
source/planar_functions.cc \
|
source/planar_functions.cc \
|
||||||
source/rotate.cc \
|
source/rotate.cc \
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 727
|
Version: 728
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 727
|
#define LIBYUV_VERSION 728
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
@ -76,7 +76,6 @@
|
|||||||
'include/libyuv/scale_argb.h',
|
'include/libyuv/scale_argb.h',
|
||||||
'include/libyuv/version.h',
|
'include/libyuv/version.h',
|
||||||
'include/libyuv/video_common.h',
|
'include/libyuv/video_common.h',
|
||||||
'source/fixed_math.h',
|
|
||||||
|
|
||||||
# sources.
|
# sources.
|
||||||
'source/compare.cc',
|
'source/compare.cc',
|
||||||
@ -93,6 +92,7 @@
|
|||||||
'source/convert_to_i420.cc',
|
'source/convert_to_i420.cc',
|
||||||
'source/cpu_id.cc',
|
'source/cpu_id.cc',
|
||||||
'source/fixed_math.cc',
|
'source/fixed_math.cc',
|
||||||
|
'source/fixed_math.h',
|
||||||
'source/format_conversion.cc',
|
'source/format_conversion.cc',
|
||||||
'source/mjpeg_decoder.cc',
|
'source/mjpeg_decoder.cc',
|
||||||
'source/mjpeg_validate.cc',
|
'source/mjpeg_validate.cc',
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
* be found in the AUTHORS file in the root of the source tree.
|
* 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
|
#ifdef __cplusplus
|
||||||
namespace libyuv {
|
namespace libyuv {
|
||||||
@ -708,6 +708,3 @@ extern const float kRecipTable[4097] = {
|
|||||||
} // extern "C"
|
} // extern "C"
|
||||||
} // namespace libyuv
|
} // namespace libyuv
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,13 @@
|
|||||||
#ifndef UNIT_TEST_UNIT_TEST_H_ // NOLINT
|
#ifndef UNIT_TEST_UNIT_TEST_H_ // NOLINT
|
||||||
#define UNIT_TEST_UNIT_TEST_H_
|
#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 <gtest/gtest.h>
|
||||||
|
|
||||||
#include "libyuv/basic_types.h"
|
#include "libyuv/basic_types.h"
|
||||||
@ -42,7 +49,6 @@ static __inline int Abs(int v) {
|
|||||||
var = 0;
|
var = 0;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <windows.h>
|
|
||||||
static inline double get_time() {
|
static inline double get_time() {
|
||||||
LARGE_INTEGER t, f;
|
LARGE_INTEGER t, f;
|
||||||
QueryPerformanceCounter(&t);
|
QueryPerformanceCounter(&t);
|
||||||
@ -53,10 +59,6 @@ static inline double get_time() {
|
|||||||
#define random rand
|
#define random rand
|
||||||
#define srandom srand
|
#define srandom srand
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/resource.h>
|
|
||||||
|
|
||||||
static inline double get_time() {
|
static inline double get_time() {
|
||||||
struct timeval t;
|
struct timeval t;
|
||||||
struct timezone tzp;
|
struct timezone tzp;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user