| 277 | } |
| 278 | |
| 279 | void CDownsampling::DownsampleHalfAverage (uint8_t* pDst, int32_t iDstStride, |
| 280 | uint8_t* pSrc, int32_t iSrcStride, int32_t iSrcWidth, int32_t iSrcHeight) { |
| 281 | if ((iSrcStride & 31) == 0) { |
| 282 | assert ((iDstStride & 15) == 0); |
| 283 | m_pfDownsample.pfHalfAverageWidthx32 (pDst, iDstStride, |
| 284 | pSrc, iSrcStride, WELS_ALIGN (iSrcWidth & ~1, 32), iSrcHeight); |
| 285 | } else { |
| 286 | assert ((iSrcStride & 15) == 0); |
| 287 | assert ((iDstStride & 7) == 0); |
| 288 | m_pfDownsample.pfHalfAverageWidthx16 (pDst, iDstStride, |
| 289 | pSrc, iSrcStride, WELS_ALIGN (iSrcWidth & ~1, 16), iSrcHeight); |
| 290 | } |
| 291 | } |
| 292 | |
| 293 | |
| 294 | WELSVP_NAMESPACE_END |
nothing calls this directly
no outgoing calls
no test coverage detected