| 495 | } |
| 496 | |
| 497 | bool 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 | |
| 505 | void InitMeRefinePointer (SMeRefinePointer* pMeRefine, SMbCache* pMbCache, int32_t iStride) { |
| 506 | pMeRefine->pHalfPixH = &pMbCache->pBufferInterPredMe[0] + iStride; |
no outgoing calls
no test coverage detected