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

Function TrackSliceComplexities

codec/encoder/core/src/slice_multi_threading.cpp:578–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576
577#if defined(MT_DEBUG)
578void TrackSliceComplexities (sWelsEncCtx* pCtx, const int32_t iCurDid) {
579 const int32_t kiCountSliceNum = pCtx->pCurDqLayer->sSliceEncCtx.iSliceNumInFrame;
580 SSlice** ppSliceInLayer = pCtx->pCurDqLayer->ppSliceInLayer;
581 if (kiCountSliceNum > 0) {
582 int32_t iSliceIdx = 0;
583 do {
584 fprintf (pCtx->pSliceThreading->pFSliceDiff, "%6.3f complexity pRatio at iDid %d pSlice %d\n",
585 ppSliceInLayer[iSliceIdx]->iSliceComplexRatio, iCurDid, iSliceIdx);
586 ++ iSliceIdx;
587 } while (iSliceIdx < kiCountSliceNum);
588 }
589}
590#endif
591
592#if defined(MT_DEBUG)

Callers 1

WelsEncoderEncodeExtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected