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
41///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////41///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
42 42
43//////non_zero_count[16+8] mapping scan index43//////non_zero_count[16+8] mapping scan index
44const uint8_t g_kuiMbNonZeroCountIdx[24] = {44const uint8_t g_kuiMbCountScan4Idx[24] = {
45 // 0 1 | 4 5 luma 8*8 block non_zero_count[16+8]45 // 0 1 | 4 5 luma 8*8 block non_zero_count[16+8]
46 0, 1, 4, 5, // 2 3 | 6 7 0 | 1 0 1 2 346 0, 1, 4, 5, // 2 3 | 6 7 0 | 1 0 1 2 3
47 2, 3, 6, 7, //--------------- --------- 4 5 6 747 2, 3, 6, 7, //--------------- --------- 4 5 6 7
@@ -52,7 +52,7 @@ const uint8_t g_kuiMbNonZeroCountIdx[24] = { · 4 unmodified lines
52};52};
53//cache element equal to 2653//cache element equal to 26
54 54
55const uint8_t g_kuiCacheNzcScanIdx[24] = {55const uint8_t g_kuiCache48CountScan4Idx[24] = {
56 /* Luma */56 /* Luma */
57 9, 10, 17, 18, // 1+1*8, 2+1*8, 1+2*8, 2+2*8,57 9, 10, 17, 18, // 1+1*8, 2+1*8, 1+2*8, 2+2*8,
58 11, 12, 19, 20, // 3+1*8, 4+1*8, 3+2*8, 4+2*8,58 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
87 87
88// extern at wels_common_basis.h88// extern at wels_common_basis.h
89 89
90const uint8_t g_kuiChromaQp[52] = {90const uint8_t g_kuiChromaQpTable[52] = {
91 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,91 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
92 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,92 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
93 28, 29, 29, 30, 31, 32, 32, 33, 34, 34, 35, 35, 36, 36, 37, 37,93 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