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

Function MdIntraAnalysisVaaInfo

codec/encoder/core/src/md.cpp:497–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495}
496
497bool MdIntraAnalysisVaaInfo (sWelsEncCtx* pEncCtx, uint8_t* pEncMb) {
498
499 SDqLayer* pCurDqLayer = pEncCtx->pCurDqLayer;
500 const int32_t kiLineSize = pCurDqLayer->iEncStride[0];
501 const int32_t kiVariance = pEncCtx->pFuncList->pfGetVarianceFromIntraVaa (pEncMb, kiLineSize);
502 return (kiVariance >= INTRA_VARIANCE_SAD_THRESHOLD);
503}
504
505void InitMeRefinePointer (SMeRefinePointer* pMeRefine, SMbCache* pMbCache, int32_t iStride) {
506 pMeRefine->pHalfPixH = &pMbCache->pBufferInterPredMe[0] + iStride;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected