lint fixes

BUG=none
TEST=LINT
R=tpsiaki@google.com

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

git-svn-id: http://libyuv.googlecode.com/svn/trunk@929 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
fbarchard@google.com 2013-12-27 02:09:58 +00:00
parent d9c9f37ac4
commit 6b6eb8cd36
6 changed files with 7 additions and 14 deletions

View File

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

View File

@ -11,10 +11,10 @@
#ifndef INCLUDE_LIBYUV_ROW_H_ // NOLINT
#define INCLUDE_LIBYUV_ROW_H_
#include "libyuv/basic_types.h"
#include <stdlib.h> // For malloc.
#include "libyuv/basic_types.h"
#ifdef __cplusplus
namespace libyuv {
extern "C" {
@ -22,7 +22,7 @@ extern "C" {
#define IS_ALIGNED(p, a) (!((uintptr_t)(p) & ((a) - 1)))
// TODO (fbarchard): Port to C.
// TODO(fbarchard): Port to C.
#define align_buffer_64(var, size) \
uint8* var; \
uint8* var##_mem; \
@ -44,7 +44,7 @@ extern "C" {
#endif
// Enable for NaCL pepper 33 for bundle and AVX2 support.
//#define NEW_BINUTILS
// #define NEW_BINUTILS
// The following are available on all x86 platforms:
#if !defined(LIBYUV_DISABLE_X86) && \

View File

@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 928
#define LIBYUV_VERSION 929
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT

View File

@ -89,7 +89,6 @@ void ARGBRotate270(const uint8* src, int src_stride,
ARGBTranspose(src, src_stride, dst, dst_stride, width, height);
}
SAFEBUFFERS
void ARGBRotate180(const uint8* src, int src_stride,
uint8* dst, int dst_stride,
int width, int height) {

View File

@ -375,7 +375,6 @@ static void ScaleAddCols1_C(int dst_width, int boxheight, int x, int dx,
// one pixel of destination using fixed point (16.16) to step
// through source, sampling a box of pixel with simple
// averaging.
SAFEBUFFERS
static void ScalePlaneBox(int src_width, int src_height,
int dst_width, int dst_height,
int src_stride, int dst_stride,
@ -445,7 +444,6 @@ static void ScalePlaneBox(int src_width, int src_height,
}
// Scale plane down with bilinear interpolation.
SAFEBUFFERS
void ScalePlaneBilinearDown(int src_width, int src_height,
int dst_width, int dst_height,
int src_stride, int dst_stride,
@ -545,7 +543,6 @@ void ScalePlaneBilinearDown(int src_width, int src_height,
}
// Scale up down with bilinear interpolation.
SAFEBUFFERS
void ScalePlaneBilinearUp(int src_width, int src_height,
int dst_width, int dst_height,
int src_stride, int dst_stride,
@ -789,7 +786,7 @@ void ScalePlane(const uint8* src, int src_stride,
return;
}
}
if (filtering == kFilterBox && dst_height * 2 < src_height ) {
if (filtering == kFilterBox && dst_height * 2 < src_height) {
ScalePlaneBox(src_width, src_height, dst_width, dst_height,
src_stride, dst_stride, src, dst);
return;

View File

@ -162,7 +162,6 @@ static void ScaleARGBDownEven(int src_width, int src_height,
}
// Scale ARGB down with bilinear interpolation.
SAFEBUFFERS
static void ScaleARGBBilinearDown(int src_height,
int dst_width, int dst_height,
int src_stride, int dst_stride,
@ -262,7 +261,6 @@ static void ScaleARGBBilinearDown(int src_height,
}
// Scale ARGB up with bilinear interpolation.
SAFEBUFFERS
static void ScaleARGBBilinearUp(int src_width, int src_height,
int dst_width, int dst_height,
int src_stride, int dst_stride,
@ -396,7 +394,6 @@ static void ScaleARGBBilinearUp(int src_width, int src_height,
#ifdef YUVSCALEUP
// Scale YUV to ARGB up with bilinear interpolation.
SAFEBUFFERS
static void ScaleYUVToARGBBilinearUp(int src_width, int src_height,
int dst_width, int dst_height,
int src_stride_y,