i420_to_i420_c
| 1362 | |
| 1363 | //i420_to_i420_c |
| 1364 | void WelsMoveMemory_c (uint8_t* pDstY, uint8_t* pDstU, uint8_t* pDstV, int32_t iDstStrideY, int32_t iDstStrideUV, |
| 1365 | uint8_t* pSrcY, uint8_t* pSrcU, uint8_t* pSrcV, int32_t iSrcStrideY, int32_t iSrcStrideUV, int32_t iWidth, |
| 1366 | int32_t iHeight) { |
| 1367 | int32_t iWidth2 = iWidth >> 1; |
| 1368 | int32_t iHeight2 = iHeight >> 1; |
| 1369 | int32_t j; |
| 1370 | |
| 1371 | for (j = iHeight; j; j--) { |
| 1372 | WelsMemcpy (pDstY, pSrcY, iWidth); |
| 1373 | pDstY += iDstStrideY; |
| 1374 | pSrcY += iSrcStrideY; |
| 1375 | } |
| 1376 | |
| 1377 | for (j = iHeight2; j; j--) { |
| 1378 | WelsMemcpy (pDstU, pSrcU, iWidth2); |
| 1379 | WelsMemcpy (pDstV, pSrcV, iWidth2); |
| 1380 | pDstU += iDstStrideUV; |
| 1381 | pDstV += iDstStrideUV; |
| 1382 | pSrcU += iSrcStrideUV; |
| 1383 | pSrcV += iSrcStrideUV; |
| 1384 | } |
| 1385 | } |
| 1386 | |
| 1387 | void CWelsPreProcess::WelsMoveMemoryWrapper (SWelsSvcCodingParam* pSvcParam, SPicture* pDstPic, |
| 1388 | const SSourcePicture* kpSrc, |
no test coverage detected