Merge pull request #599 from licaiguo/add-sps-pps-for-each-layer
add layer sps/pps to decoder context
This commit is contained in:
commit
0c12c4b21b
@ -235,6 +235,8 @@ typedef struct TagWelsDecoderContext {
|
||||
SNalUnit sPrefixNal;
|
||||
|
||||
PAccessUnit pAccessUnitList; // current access unit list to be performed
|
||||
PSps pActiveLayerSps[MAX_LAYER_NUM];
|
||||
PPps pActiveLayerPps[MAX_LAYER_NUM];
|
||||
PSps pSps; // used by current AU
|
||||
PPps pPps; // used by current AU
|
||||
// Memory for pAccessUnitList is dynamically held till decoder destruction.
|
||||
|
@ -87,7 +87,7 @@
|
||||
//#define BASE_DEPENDENCY_ID 0
|
||||
#define BASE_DQ_ID 0
|
||||
#define MAX_DQ_ID ((uint8_t)-1)
|
||||
//#define MAX_LAYER_NUM (MAX_DEPENDENCY_LAYER * MAX_TEMPORAL_LEVEL * MAX_QUALITY_LEVEL) // Layer number of Three-tuple
|
||||
#define MAX_LAYER_NUM 8
|
||||
|
||||
#define LAYER_NUM_EXCHANGEABLE 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user