Commit 6b6eb8cd authored by fbarchard@google.com's avatar fbarchard@google.com

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
parent d9c9f37a
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 928
Version: 929
License: BSD
License File: LICENSE
......
......@@ -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) && \
......
......@@ -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
......@@ -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) {
......
......@@ -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;
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment