MCPcopy Create free account
hub / github.com/cisco/openh264 / WelsDecoderSpsPpsDefaults

Function WelsDecoderSpsPpsDefaults

codec/decoder/core/src/decoder.cpp:372–387  ·  view source on GitHub ↗

* fill data fields in SPS and PPS default for decoder context */

Source from the content-addressed store, hash-verified

370* fill data fields in SPS and PPS default for decoder context
371*/
372void 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

Callers 2

InitMethod · 0.85
InitDecoderCtxMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected