| 4514 | } |
| 4515 | |
| 4516 | int32_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 | |
| 4534 | int32_t WelsCodeOnePicPartition (sWelsEncCtx* pCtx, |
| 4535 | SFrameBSInfo* pFrameBSInfo, |
no test coverage detected