! * \brief Initialize Wels SSlice context (Single/multiple slices and FMO) * * \param pCurDq current layer which its SSlice context will be initialized * \param bFmoUseFlag flag of using fmo * \param iMbWidth MB width * \param iMbHeight MB height * \param uiSliceMode slice mode * \param mul_slice_arg argument for multiple slice if it is applica
| 474 | * \return 0 - successful; none 0 - failed; |
| 475 | */ |
| 476 | int32_t InitSlicePEncCtx (SDqLayer* pCurDq, |
| 477 | CMemoryAlign* pMa, |
| 478 | bool bFmoUseFlag, |
| 479 | int32_t iMbWidth, |
| 480 | int32_t iMbHeight, |
| 481 | SSliceArgument* pSliceArgument, |
| 482 | void* pPpsArg) { |
| 483 | if (NULL == pCurDq) |
| 484 | return 1; |
| 485 | |
| 486 | InitSliceSegment (pCurDq, |
| 487 | pMa, |
| 488 | pSliceArgument, |
| 489 | iMbWidth, |
| 490 | iMbHeight); |
| 491 | return 0; |
| 492 | } |
| 493 | |
| 494 | |
| 495 | /*! |
no test coverage detected