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

Function DynSliceRealloc

codec/encoder/core/src/encoder_ext.cpp:4516–4532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4514}
4515
4516int32_t DynSliceRealloc (sWelsEncCtx* pCtx,
4517 SFrameBSInfo* pFrameBsInfo,
4518 SLayerBSInfo* pLayerBsInfo) {
4519 int32_t iRet = 0;
4520
4521 iRet = FrameBsRealloc (pCtx, pFrameBsInfo, pLayerBsInfo, pCtx->pCurDqLayer->iMaxSliceNum);
4522 if (ENC_RETURN_SUCCESS != iRet) {
4523 return iRet;
4524 }
4525
4526 iRet = ReallocSliceBuffer (pCtx);
4527 if (ENC_RETURN_SUCCESS != iRet) {
4528 return iRet;
4529 }
4530
4531 return iRet;
4532}
4533
4534int32_t WelsCodeOnePicPartition (sWelsEncCtx* pCtx,
4535 SFrameBSInfo* pFrameBSInfo,

Callers 1

WelsCodeOnePicPartitionFunction · 0.85

Calls 2

FrameBsReallocFunction · 0.85
ReallocSliceBufferFunction · 0.85

Tested by

no test coverage detected