History

Use bool instead of bool_t

bool is one of the built in, standard types in C++, there's no need for a typedef for it.

Martin Storsjö committed 12 years ago

Commit 2b77fe71 parent 17d7b5d82 files · +468 −471Browse files

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

Unified · Split

2 files
  1. codec/processing/src/backgrounddetection/BackgroundDetection.cpp +2 −2
  2. codec/processing/src/backgrounddetection/BackgroundDetection.h +2 −2
codec/processing/src/backgrounddetection/BackgroundDetection.cpp+2−2
@@ -201,7 +201,7 @@ inline int32_t CBackgroundDetection::CalculateAsdChromaEdge (uint8_t* pOriRef, u · 200 unmodified lines
201201 return WELS_ABS (ASD);
202202 }
203203
204−inline bool_t CBackgroundDetection::ForegroundDilation23Luma (SBackgroundOU* pBackgroundOU,
204+inline bool CBackgroundDetection::ForegroundDilation23Luma (SBackgroundOU* pBackgroundOU,
205205 SBackgroundOU* pOUNeighbours[]) {
206206 SBackgroundOU* pOU_L = pOUNeighbours[0];
207207 SBackgroundOU* pOU_R = pOUNeighbours[1];
@@ -234,7 +234,7 @@ inline bool_t CBackgroundDetection::ForegroundDilation23Luma (SBackgroundOU* pBa · 26 unmodified lines
234234 return 0;
235235 }
236236
237−inline bool_t CBackgroundDetection::ForegroundDilation23Chroma (int8_t iNeighbourForegroundFlags,
237+inline bool CBackgroundDetection::ForegroundDilation23Chroma (int8_t iNeighbourForegroundFlags,
238238 int32_t iStartSamplePos, int32_t iPicStrideUV, vBGDParam* pBgdParam) {
239239 static const int8_t kaOUPos[4] = {OU_LEFT, OU_RIGHT, OU_TOP, OU_BOTTOM};
240240 int32_t aEdgeOffset[4] = {0, BGD_OU_SIZE_UV - 1, 0, iPicStrideUV* (BGD_OU_SIZE_UV - 1)};
codec/processing/src/backgrounddetection/BackgroundDetection.h+2−2
@@ -83,9 +83,9 @@ class CBackgroundDetection : public IStrategy { · 82 unmodified lines
8383 inline SBackgroundOU* AllocateOUArrayMemory (int32_t iWidth, int32_t iHeight);
8484 inline void FreeOUArrayMemory();
8585 inline int32_t CalculateAsdChromaEdge (uint8_t* pOriRef, uint8_t* pOriCur, int32_t iStride);
86− inline bool_t ForegroundDilation23Luma (SBackgroundOU* pBackgroundOU,
86+ inline bool ForegroundDilation23Luma (SBackgroundOU* pBackgroundOU,
8787 SBackgroundOU* pOUNeighbours[]); //Foreground_Dilation_2_3_Luma
88− inline bool_t ForegroundDilation23Chroma (int8_t iNeighbourForegroundFlags, int32_t iStartSamplePos,
88+ inline bool ForegroundDilation23Chroma (int8_t iNeighbourForegroundFlags, int32_t iStartSamplePos,
8989 int32_t iPicStrideUV, vBGDParam* pBgdParam);//Foreground_Dilation_2_3_Chroma
9090 inline void ForegroundDilation (SBackgroundOU* pBackgroundOU, SBackgroundOU* pOUNeighbours[], vBGDParam* pBgdParam,
9191 int32_t iChromaSampleStartPos);

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