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

Function CheckAllSliceBuffer

codec/encoder/core/src/svc_encode_slice.cpp:1451–1464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1449}
1450
1451static inline int32_t CheckAllSliceBuffer (SDqLayer* pCurLayer, const int32_t kiCodedSliceNum) {
1452 int32_t iSliceIdx = 0;
1453 for (; iSliceIdx < kiCodedSliceNum ; iSliceIdx ++) {
1454 if (NULL == pCurLayer->ppSliceInLayer[iSliceIdx]) {
1455 return ENC_RETURN_UNEXPECTED;
1456 }
1457
1458 if (iSliceIdx != pCurLayer->ppSliceInLayer[iSliceIdx]->iSliceIdx) {
1459 return ENC_RETURN_UNEXPECTED;
1460 }
1461 }
1462
1463 return ENC_RETURN_SUCCESS;
1464}
1465
1466int32_t ReOrderSliceInLayer (sWelsEncCtx* pCtx,
1467 const SliceModeEnum kuiSliceMode,

Callers 1

ReOrderSliceInLayerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected