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
235 SNalUnit sPrefixNal;235 SNalUnit sPrefixNal;
236 236
237 PAccessUnit pAccessUnitList; // current access unit list to be performed237 PAccessUnit pAccessUnitList; // current access unit list to be performed
238 PSps pActiveLayerSps[MAX_LAYER_NUM];
239 PPps pActiveLayerPps[MAX_LAYER_NUM];
238 PSps pSps; // used by current AU240 PSps pSps; // used by current AU
239 PPps pPps; // used by current AU241 PPps pPps; // used by current AU
240 // Memory for pAccessUnitList is dynamically held till decoder destruction.242 // 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
87//#define BASE_DEPENDENCY_ID 087//#define BASE_DEPENDENCY_ID 0
88#define BASE_DQ_ID 088#define BASE_DQ_ID 0
89#define MAX_DQ_ID ((uint8_t)-1)89#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-tuple90#define MAX_LAYER_NUM 8
91 91
92#define LAYER_NUM_EXCHANGEABLE 192#define LAYER_NUM_EXCHANGEABLE 1
93 93

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