History

Bugzilla 1479656, 1485229 and 1486223 fixes without mixing with other update.

xiaotiansf committed 7 years ago

Commit 9461ae81 parent 63a546e4 files · +17 −16Browse files

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

Unified · Split

codec/decoder/core/src/deblocking.cpp+5−5
@@ -148,13 +148,13 @@ static const uint8_t g_kuiTableB8x8Idx[2][16] = { · 147 unmodified lines
148148 8, 9, 12, 13, 10, 11, 14, 15
149149 },
150150 };
151−
151+//fix Bugzilla 1486223
152152 #define TC0_TBL_LOOKUP(tc, iIndexA, pBS, bChroma) \
153153 {\
154− tc[0] = g_kiTc0Table(iIndexA)[pBS[0]] + bChroma;\
155− tc[1] = g_kiTc0Table(iIndexA)[pBS[1]] + bChroma;\
156− tc[2] = g_kiTc0Table(iIndexA)[pBS[2]] + bChroma;\
157− tc[3] = g_kiTc0Table(iIndexA)[pBS[3]] + bChroma;\
154+ tc[0] = g_kiTc0Table(iIndexA)[pBS[0] & 3] + bChroma;\
155+ tc[1] = g_kiTc0Table(iIndexA)[pBS[1] & 3] + bChroma;\
156+ tc[2] = g_kiTc0Table(iIndexA)[pBS[2] & 3] + bChroma;\
157+ tc[3] = g_kiTc0Table(iIndexA)[pBS[3] & 3] + bChroma;\
158158 }
159159
160160 void 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