History

Rename some decoder tables to match the name used in the encoder

Martin Storsjö committed 12 years ago

Commit eb7cdf21 parent 4aa22da6 files · +23 −23Browse files

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

Unified · Split

codec/decoder/core/src/decoder_data_tables.cpp+3−3
@@ -41,7 +41,7 @@ namespace WelsDec { · 40 unmodified lines
4141 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4242
4343 //////non_zero_count[16+8] mapping scan index
44−const uint8_t g_kuiMbNonZeroCountIdx[24] = {
44+const uint8_t g_kuiMbCountScan4Idx[24] = {
4545 // 0 1 | 4 5 luma 8*8 block non_zero_count[16+8]
4646 0, 1, 4, 5, // 2 3 | 6 7 0 | 1 0 1 2 3
4747 2, 3, 6, 7, //--------------- --------- 4 5 6 7
@@ -52,7 +52,7 @@ const uint8_t g_kuiMbNonZeroCountIdx[24] = { · 4 unmodified lines
5252 };
5353 //cache element equal to 26
5454
55−const uint8_t g_kuiCacheNzcScanIdx[24] = {
55+const uint8_t g_kuiCache48CountScan4Idx[24] = {
5656 /* Luma */
5757 9, 10, 17, 18, // 1+1*8, 2+1*8, 1+2*8, 2+2*8,
5858 11, 12, 19, 20, // 3+1*8, 4+1*8, 3+2*8, 4+2*8,
@@ -87,7 +87,7 @@ const uint8_t g_kuiScan4[16] = { //for mb cache in sMb (only current element, wi · 28 unmodified lines
8787
8888 // extern at wels_common_basis.h
8989
90−const uint8_t g_kuiChromaQp[52] = {
90+const uint8_t g_kuiChromaQpTable[52] = {
9191 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
9292 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
9393 28, 29, 29, 30, 31, 32, 32, 33, 34, 34, 35, 35, 36, 36, 37, 37,

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