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

Function InitSlicePEncCtx

codec/encoder/core/src/svc_enc_slice_segment.cpp:476–492  ·  view source on GitHub ↗

! * \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

Source from the content-addressed store, hash-verified

474 * \return 0 - successful; none 0 - failed;
475 */
476int32_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/*!

Callers 1

InitDqLayersFunction · 0.85

Calls 1

InitSliceSegmentFunction · 0.85

Tested by

no test coverage detected