Showing the changes to codec/decoder (2 of 2 files). Show all
Unified · Split
| @@ -235,6 +235,8 @@ typedef struct TagWelsDecoderContext { · 234 unmodified lines | ||
| 235 | 235 | SNalUnit sPrefixNal; |
| 236 | 236 | |
| 237 | 237 | PAccessUnit pAccessUnitList; // current access unit list to be performed |
| 238 | + PSps pActiveLayerSps[MAX_LAYER_NUM]; | |
| 239 | + PPps pActiveLayerPps[MAX_LAYER_NUM]; | |
| 238 | 240 | PSps pSps; // used by current AU |
| 239 | 241 | PPps pPps; // used by current AU |
| 240 | 242 | // Memory for pAccessUnitList is dynamically held till decoder destruction. |
| @@ -87,7 +87,7 @@ · 86 unmodified lines | ||
| 87 | 87 | //#define BASE_DEPENDENCY_ID 0 |
| 88 | 88 | #define BASE_DQ_ID 0 |
| 89 | 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-tuple | |
| 90 | +#define MAX_LAYER_NUM 8 | |
| 91 | 91 | |
| 92 | 92 | #define LAYER_NUM_EXCHANGEABLE 1 |
| 93 | 93 | |