The astyle configuration makes sure normal code is indented consistently with 2 spaces, but astyle doesn't seem to touch the indentation in these multi-line macros.
Showing the changes to codec/decoder/core/src/deblocking.cpp (1 of 9 files). Show all
Unified · Split
| @@ -81,9 +81,9 @@ namespace WelsDec { · 80 unmodified lines | |||
| 81 | 81 | ||
| 82 | #define GET_ALPHA_BETA_FROM_QP(iQp, iAlphaOffset, iBetaOffset, iIndex, iAlpha, iBeta) \ | 82 | #define GET_ALPHA_BETA_FROM_QP(iQp, iAlphaOffset, iBetaOffset, iIndex, iAlpha, iBeta) \ |
| 83 | {\ | 83 | {\ |
| 84 | iIndex = (iQp + iAlphaOffset);\ | 84 | iIndex = (iQp + iAlphaOffset);\ |
| 85 | iAlpha = g_kuiAlphaTable(iIndex);\ | 85 | iAlpha = g_kuiAlphaTable(iIndex);\ |
| 86 | iBeta = g_kiBetaTable((iQp + iBetaOffset));\ | 86 | iBeta = g_kiBetaTable((iQp + iBetaOffset));\ |
| 87 | } | 87 | } |
| 88 | 88 | ||
| 89 | static const uint8_t g_kuiAlphaTable[52 + 24] = { //this table refers to Table 8-16 in H.264/AVC standard | 89 | static const uint8_t g_kuiAlphaTable[52 + 24] = { //this table refers to Table 8-16 in H.264/AVC standard |
| @@ -151,10 +151,10 @@ static const uint8_t g_kuiTableB8x8Idx[2][16] = { · 61 unmodified lines | |||
| 151 | 151 | ||
| 152 | #define TC0_TBL_LOOKUP(tc, iIndexA, pBS, bChroma) \ | 152 | #define TC0_TBL_LOOKUP(tc, iIndexA, pBS, bChroma) \ |
| 153 | {\ | 153 | {\ |
| 154 | tc[0] = g_kiTc0Table(iIndexA)[pBS[0]] + bChroma;\ | 154 | tc[0] = g_kiTc0Table(iIndexA)[pBS[0]] + bChroma;\ |
| 155 | tc[1] = g_kiTc0Table(iIndexA)[pBS[1]] + bChroma;\ | 155 | tc[1] = g_kiTc0Table(iIndexA)[pBS[1]] + bChroma;\ |
| 156 | tc[2] = g_kiTc0Table(iIndexA)[pBS[2]] + bChroma;\ | 156 | tc[2] = g_kiTc0Table(iIndexA)[pBS[2]] + bChroma;\ |
| 157 | tc[3] = g_kiTc0Table(iIndexA)[pBS[3]] + bChroma;\ | 157 | tc[3] = g_kiTc0Table(iIndexA)[pBS[3]] + bChroma;\ |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | void inline DeblockingBSInsideMBAvsbase (int8_t* pNnzTab, uint8_t nBS[2][4][4], int32_t iLShiftFactor) { | 160 | void inline DeblockingBSInsideMBAvsbase (int8_t* pNnzTab, uint8_t nBS[2][4][4], int32_t iLShiftFactor) { |