History

to support monochroma

add mbtype judge logic

zhuiling committed 11 years ago

Commit 0a8a4f21 parent a00dd565 files · +65 −39Browse files

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

Unified · Split

codec/decoder/core/src/decoder_data_tables.cpp+9−0
@@ -134,12 +134,21 @@ const uint8_t g_kuiIntra4x4CbpTable[48] = { · 133 unmodified lines
134134 8, 17, 18, 20, 24, 6, 9, 22, 25, 32, 33, 34, 36, 40, 38, 41 //47
135135 };
136136
137+const uint8_t g_kuiIntra4x4CbpTable400[16] = {
138+ 15, 0, 7, 11, 13, 14, 3, 5, 10, 12, 1, 2, 4, 8, 6, 9
139+
140+};
141+
137142 const uint8_t g_kuiInterCbpTable[48] = {
138143 0, 16, 1, 2, 4, 8, 32, 3, 5, 10, 12, 15, 47, 7, 11, 13, //15
139144 14, 6, 9, 31, 35, 37, 42, 44, 33, 34, 36, 40, 39, 43, 45, 46, //31
140145 17, 18, 20, 24, 19, 21, 26, 28, 23, 27, 29, 30, 22, 25, 38, 41 //47
141146 };
142147
148+const uint8_t g_kuiInterCbpTable400[16] = {
149+ 0, 1, 2, 4, 8, 3, 5, 10, 12, 15, 7, 11, 13, 14, 6, 9
150+};
151+
143152 const uint8_t g_kuiLeadingZeroTable[256] = {
144153 8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4,
145154 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,

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