History

Don't use tabs for indentation in multi-line macros

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.

Martin Storsjö committed 11 years ago

Commit dd913ef1 parent cf33d709 files · +85 −85Browse files

Showing the changes to codec/decoder/core/src/deblocking.cpp (1 of 9 files). Show all

Unified · Split

codec/decoder/core/src/deblocking.cpp+7−7
@@ -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
89static const uint8_t g_kuiAlphaTable[52 + 24] = { //this table refers to Table 8-16 in H.264/AVC standard89static 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
160void inline DeblockingBSInsideMBAvsbase (int8_t* pNnzTab, uint8_t nBS[2][4][4], int32_t iLShiftFactor) {160void inline DeblockingBSInsideMBAvsbase (int8_t* pNnzTab, uint8_t nBS[2][4][4], int32_t iLShiftFactor) {

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