History

update Max GOP size and minor fixes for early return

ruil2 committed 12 years ago

Commit 4fd3baf1 parent ae734116 files · +24 −27Browse files

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

Unified · Split

codec/encoder/core/src/encoder_data_tables.cpp+2−10
@@ -468,31 +468,23 @@ const ALIGNED_DECLARE (uint8_t, g_kuiEncNcMapTable[18], 16) = { · 467 unmodified lines
468 468
469const uint8_t g_kuiTemporalIdListTable[MAX_TEMPORAL_LEVEL][MAX_GOP_SIZE + 1] = {469const uint8_t g_kuiTemporalIdListTable[MAX_TEMPORAL_LEVEL][MAX_GOP_SIZE + 1] = {
470 {470 {
471 0, 0, 0, 0, 0, 0, 0, 0,
472 0, 0, 0, 0, 0, 0, 0, 0,471 0, 0, 0, 0, 0, 0, 0, 0,
473 0472 0
474 }, // gop size = 1473 }, // gop size = 1
475 {474 {
476 0, 1, 0, 0, 0, 0, 0, 0,475 0, 1, 0, 0, 0, 0, 0, 0,
477 0, 0, 0, 0, 0, 0, 0, 0,
478 0476 0
479 }, // uiGopSize = 2477 }, // uiGopSize = 2
480 {478 {
481 0, 2, 1, 2, 0, 0, 0, 0,479 0, 2, 1, 2, 0, 0, 0, 0,
482 0, 0, 0, 0, 0, 0, 0, 0,
483 0480 0
484 }, // uiGopSize = 4481 }, // uiGopSize = 4
485 {482 {
486 0, 3, 2, 3, 1, 3, 2, 3,483 0, 3, 2, 3, 1, 3, 2, 3,
487 0, 0, 0, 0, 0, 0, 0, 0,
488 0484 0
489 }, // uiGopSize = 8485 } //uiGopSize = 8
490 {
491 0, 4, 3, 4, 2, 4, 3, 4,
492 1, 4, 3, 4, 2, 4, 3, 4,
493 0
494 } // uiGopSize = 16
495};486};
487
496///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////488///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
497 489
498// extern at svc_encode_slice.h490// extern at svc_encode_slice.h

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