Showing the changes to codec/decoder/core/src/decoder_data_tables.cpp (1 of 6 files). Show all
Unified · Split
| @@ -41,7 +41,7 @@ namespace WelsDec { · 40 unmodified lines | |||
| 41 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | 41 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 42 | 42 | ||
| 43 | //////non_zero_count[16+8] mapping scan index | 43 | //////non_zero_count[16+8] mapping scan index |
| 44 | const uint8_t g_kuiMbNonZeroCountIdx[24] = { | 44 | const 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 3 | 46 | 0, 1, 4, 5, // 2 3 | 6 7 0 | 1 0 1 2 3 |
| 47 | 2, 3, 6, 7, //--------------- --------- 4 5 6 7 | 47 | 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 26 | 53 | //cache element equal to 26 |
| 54 | 54 | ||
| 55 | const uint8_t g_kuiCacheNzcScanIdx[24] = { | 55 | const 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.h | 88 | // extern at wels_common_basis.h |
| 89 | 89 | ||
| 90 | const uint8_t g_kuiChromaQp[52] = { | 90 | const 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, |