bool is one of the built in, standard types in C++, there's no need for a typedef for it.
Showing the changes to codec/processing/src/backgrounddetection/BackgroundDetection.cpp (1 of 82 files). Show all
Unified · Split
| @@ -201,7 +201,7 @@ inline int32_t CBackgroundDetection::CalculateAsdChromaEdge (uint8_t* pOriRef, u · 200 unmodified lines | |||
| 201 | return WELS_ABS (ASD); | 201 | return WELS_ABS (ASD); |
| 202 | } | 202 | } |
| 203 | 203 | ||
| 204 | inline bool_t CBackgroundDetection::ForegroundDilation23Luma (SBackgroundOU* pBackgroundOU, | 204 | inline bool CBackgroundDetection::ForegroundDilation23Luma (SBackgroundOU* pBackgroundOU, |
| 205 | SBackgroundOU* pOUNeighbours[]) { | 205 | SBackgroundOU* pOUNeighbours[]) { |
| 206 | SBackgroundOU* pOU_L = pOUNeighbours[0]; | 206 | SBackgroundOU* pOU_L = pOUNeighbours[0]; |
| 207 | SBackgroundOU* pOU_R = pOUNeighbours[1]; | 207 | SBackgroundOU* pOU_R = pOUNeighbours[1]; |
| @@ -234,7 +234,7 @@ inline bool_t CBackgroundDetection::ForegroundDilation23Luma (SBackgroundOU* pBa · 26 unmodified lines | |||
| 234 | return 0; | 234 | return 0; |
| 235 | } | 235 | } |
| 236 | 236 | ||
| 237 | inline bool_t CBackgroundDetection::ForegroundDilation23Chroma (int8_t iNeighbourForegroundFlags, | 237 | inline bool CBackgroundDetection::ForegroundDilation23Chroma (int8_t iNeighbourForegroundFlags, |
| 238 | int32_t iStartSamplePos, int32_t iPicStrideUV, vBGDParam* pBgdParam) { | 238 | int32_t iStartSamplePos, int32_t iPicStrideUV, vBGDParam* pBgdParam) { |
| 239 | static const int8_t kaOUPos[4] = {OU_LEFT, OU_RIGHT, OU_TOP, OU_BOTTOM}; | 239 | static const int8_t kaOUPos[4] = {OU_LEFT, OU_RIGHT, OU_TOP, OU_BOTTOM}; |
| 240 | int32_t aEdgeOffset[4] = {0, BGD_OU_SIZE_UV - 1, 0, iPicStrideUV* (BGD_OU_SIZE_UV - 1)}; | 240 | int32_t aEdgeOffset[4] = {0, BGD_OU_SIZE_UV - 1, 0, iPicStrideUV* (BGD_OU_SIZE_UV - 1)}; |