* fill data fields in SPS and PPS default for decoder context */
| 370 | * fill data fields in SPS and PPS default for decoder context |
| 371 | */ |
| 372 | void WelsDecoderSpsPpsDefaults (SWelsDecoderSpsPpsCTX& sSpsPpsCtx) { |
| 373 | sSpsPpsCtx.bSpsExistAheadFlag = false; |
| 374 | sSpsPpsCtx.bSubspsExistAheadFlag = false; |
| 375 | sSpsPpsCtx.bPpsExistAheadFlag = false; |
| 376 | sSpsPpsCtx.bAvcBasedFlag = true; |
| 377 | sSpsPpsCtx.iSpsErrorIgnored = 0; |
| 378 | sSpsPpsCtx.iSubSpsErrorIgnored = 0; |
| 379 | sSpsPpsCtx.iPpsErrorIgnored = 0; |
| 380 | sSpsPpsCtx.iPPSInvalidNum = 0; |
| 381 | sSpsPpsCtx.iPPSLastInvalidId = -1; |
| 382 | sSpsPpsCtx.iSPSInvalidNum = 0; |
| 383 | sSpsPpsCtx.iSPSLastInvalidId = -1; |
| 384 | sSpsPpsCtx.iSubSPSInvalidNum = 0; |
| 385 | sSpsPpsCtx.iSubSPSLastInvalidId = -1; |
| 386 | sSpsPpsCtx.iSeqId = -1; |
| 387 | } |
| 388 | |
| 389 | /* |
| 390 | * fill last decoded picture info |
no outgoing calls
no test coverage detected