Showing the changes to codec/processing/src/backgrounddetection/BackgroundDetection.cpp (1 of 21 files). Show all
Unified · Split
| @@ -39,16 +39,16 @@ WELSVP_NAMESPACE_BEGIN · 38 unmodified lines | ||
| 39 | 39 | #define BGD_OU_SIZE (1<<LOG2_BGD_OU_SIZE) |
| 40 | 40 | #define BGD_OU_SIZE_UV (BGD_OU_SIZE>>1) |
| 41 | 41 | #define BGD_THD_SAD (2*BGD_OU_SIZE*BGD_OU_SIZE) |
| 42 | −#define BGD_THD_ASD_UV (4*BGD_OU_SIZE_UV) | |
| 42 | +#define BGD_THD_ASD_UV (4*BGD_OU_SIZE_UV) | |
| 43 | 43 | #define LOG2_MB_SIZE (4) |
| 44 | 44 | #define OU_SIZE_IN_MB (BGD_OU_SIZE >> 4) |
| 45 | 45 | #define Q_FACTOR (8) |
| 46 | 46 | #define BGD_DELTA_QP_THD (3) |
| 47 | 47 | |
| 48 | −#define OU_LEFT (0x01) | |
| 49 | −#define OU_RIGHT (0x02) | |
| 50 | −#define OU_TOP (0x04) | |
| 51 | −#define OU_BOTTOM (0x08) | |
| 48 | +#define OU_LEFT (0x01) | |
| 49 | +#define OU_RIGHT (0x02) | |
| 50 | +#define OU_TOP (0x04) | |
| 51 | +#define OU_BOTTOM (0x08) | |
| 52 | 52 | |
| 53 | 53 | CBackgroundDetection::CBackgroundDetection (int32_t iCpuFlag) { |
| 54 | 54 | m_eMethod = METHOD_BACKGROUND_DETECTION; |