History

add layer sps/pps to decoder context

Licai Guo committed 12 years ago

Commit 9ac1cd01 parent 881298e2 files · +3 −1Browse files

Showing the changes to codec/decoder (2 of 2 files). Show all

Unified · Split

2 files
  1. codec/decoder/core/inc/decoder_context.h +2 −0
  2. codec/decoder/core/inc/wels_const.h +1 −1
codec/decoder/core/inc/decoder_context.h+2−0
@@ -235,6 +235,8 @@ typedef struct TagWelsDecoderContext { · 234 unmodified lines
235235 SNalUnit sPrefixNal;
236236
237237 PAccessUnit pAccessUnitList; // current access unit list to be performed
238+ PSps pActiveLayerSps[MAX_LAYER_NUM];
239+ PPps pActiveLayerPps[MAX_LAYER_NUM];
238240 PSps pSps; // used by current AU
239241 PPps pPps; // used by current AU
240242 // Memory for pAccessUnitList is dynamically held till decoder destruction.
codec/decoder/core/inc/wels_const.h+1−1
@@ -87,7 +87,7 @@ · 86 unmodified lines
8787 //#define BASE_DEPENDENCY_ID 0
8888 #define BASE_DQ_ID 0
8989 #define MAX_DQ_ID ((uint8_t)-1)
90−//#define MAX_LAYER_NUM (MAX_DEPENDENCY_LAYER * MAX_TEMPORAL_LEVEL * MAX_QUALITY_LEVEL) // Layer number of Three-tuple
90+#define MAX_LAYER_NUM 8
9191
9292 #define LAYER_NUM_EXCHANGEABLE 1
9393

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