History

Convert tabs to spaces in defines

Martin Storsjö committed 11 years ago

Commit 72304481 parent 43767cd13 files · +34 −34Browse files

Showing the changes to codec/processing/src (2 of 13 files). Show all

Unified · Split

2 files
  1. codec/processing/src/common/util.h +4 −4
  2. codec/processing/src/denoise/denoise_filter.cpp +3 −3
codec/processing/src/common/util.h+4−4
@@ -70,15 +70,15 @@ WELSVP_NAMESPACE_BEGIN · 69 unmodified lines
70#define MB_TYPE_INTRA (MB_TYPE_INTRA4x4 | MB_TYPE_INTRA16x16 | MB_TYPE_INTRA_PCM)70#define MB_TYPE_INTRA (MB_TYPE_INTRA4x4 | MB_TYPE_INTRA16x16 | MB_TYPE_INTRA_PCM)
71#define IS_INTRA(type) ((type)&MB_TYPE_INTRA)71#define IS_INTRA(type) ((type)&MB_TYPE_INTRA)
72 72
73#define WELS_MAX(x, y) ((x) > (y) ? (x) : (y))73#define WELS_MAX(x, y) ((x) > (y) ? (x) : (y))
74#define WELS_MIN(x, y) ((x) < (y) ? (x) : (y))74#define WELS_MIN(x, y) ((x) < (y) ? (x) : (y))
75 75
76#ifndef WELS_SIGN76#ifndef WELS_SIGN
77#define WELS_SIGN(a) ((int32_t)(a) >> 31)77#define WELS_SIGN(a) ((int32_t)(a) >> 31)
78#endif78#endif
79 79
80#ifndef WELS_ABS80#ifndef WELS_ABS
81#define WELS_ABS(a) ((WELS_SIGN(a) ^ (int32_t)(a)) - WELS_SIGN(a))81#define WELS_ABS(a) ((WELS_SIGN(a) ^ (int32_t)(a)) - WELS_SIGN(a))
82#endif82#endif
83 83
84#define WELS_CLAMP(x, minv, maxv) WELS_MIN(WELS_MAX(x, minv), maxv)84#define WELS_CLAMP(x, minv, maxv) WELS_MIN(WELS_MAX(x, minv), maxv)
codec/processing/src/denoise/denoise_filter.cpp+3−3
@@ -83,9 +83,9 @@ void BilateralLumaFilter8_c (uint8_t* pSample, int32_t iStride) { · 82 unmodified lines
831 2 4 2 1831 2 4 2 1
841 1 2 1 1841 1 2 1 1
85***************************************************************************/85***************************************************************************/
86#define SUM_LINE1(pSample) (pSample[0] +(pSample[1]) +(pSample[2]<<1) + pSample[3] + pSample[4])86#define SUM_LINE1(pSample) (pSample[0] +(pSample[1]) +(pSample[2]<<1) + pSample[3] + pSample[4])
87#define SUM_LINE2(pSample) (pSample[0] +(pSample[1]<<1) +(pSample[2]<<2) +(pSample[3]<<1) +pSample[4])87#define SUM_LINE2(pSample) (pSample[0] +(pSample[1]<<1) +(pSample[2]<<2) +(pSample[3]<<1) + pSample[4])
88#define SUM_LINE3(pSample) ((pSample[0]<<1) +(pSample[1]<<2) +(pSample[2]*20) +(pSample[3]<<2) +(pSample[4]<<1))88#define SUM_LINE3(pSample) ((pSample[0]<<1) +(pSample[1]<<2) +(pSample[2]*20) +(pSample[3]<<2) +(pSample[4]<<1))
89void WaverageChromaFilter8_c (uint8_t* pSample, int32_t iStride) {89void WaverageChromaFilter8_c (uint8_t* pSample, int32_t iStride) {
90 int32_t sum;90 int32_t sum;
91 uint8_t* pStartPixels = pSample - UV_WINDOWS_RADIUS * iStride - UV_WINDOWS_RADIUS;91 uint8_t* pStartPixels = pSample - UV_WINDOWS_RADIUS * iStride - UV_WINDOWS_RADIUS;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t