Showing the changes to codec/decoder (2 of 2 files). Show all
Unified · Split
| @@ -59,9 +59,6 @@ int32_t WelsMbInterSampleConstruction (PWelsDecoderContext pCtx, PDqLayer pCurLa · 58 unmodified lines | ||
| 59 | 59 | int32_t WelsMbInterConstruction (PWelsDecoderContext pCtx, PDqLayer pCurLayer); |
| 60 | 60 | void WelsLumaDcDequantIdct (int16_t* pBlock, int32_t iQp); |
| 61 | 61 | int32_t WelsMbInterPrediction (PWelsDecoderContext pCtx, PDqLayer pCurLayer); |
| 62 | −void WelsMbCopy (uint8_t* pDst, int32_t iStrideDst, uint8_t* pSrc, int32_t iStrideSrc, | |
| 63 | − int32_t iHeight, int32_t iWidth); | |
| 64 | − | |
| 65 | 62 | void WelsChromaDcIdct (int16_t* pBlock); |
| 66 | 63 | |
| 67 | 64 | #ifdef __cplusplus |
| @@ -270,18 +270,6 @@ int32_t WelsMbInterPrediction (PWelsDecoderContext pCtx, PDqLayer pCurLayer) { · 269 unmodified lines | ||
| 270 | 270 | return 0; |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | −void WelsMbCopy (uint8_t* pDst, int32_t iStrideDst, uint8_t* pSrc, int32_t iStrideSrc, | |
| 274 | − int32_t iHeight, int32_t iWidth) { | |
| 275 | − int32_t i; | |
| 276 | − int32_t iOffsetDst = 0, iOffsetSrc = 0; | |
| 277 | − for (i = 0; i < iHeight; i++) { | |
| 278 | − memcpy (pDst + iOffsetDst, pSrc + iOffsetSrc, iWidth); | |
| 279 | − iOffsetDst += iStrideDst; | |
| 280 | − iOffsetSrc += iStrideSrc; | |
| 281 | − } | |
| 282 | −} | |
| 283 | − | |
| 284 | − | |
| 285 | 273 | int32_t WelsTargetMbConstruction (PWelsDecoderContext pCtx) { |
| 286 | 274 | PDqLayer pCurLayer = pCtx->pCurDqLayer; |
| 287 | 275 | if (MB_TYPE_INTRA_PCM == pCurLayer->pMbType[pCurLayer->iMbXyIndex]) { |