Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 2 files). Show all
Unified · Split
| @@ -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]) { |