| 949 | |
| 950 | |
| 951 | void CWelsPreProcess::InitPixMap (const SPicture* pPicture, SPixMap* pPixMap) { |
| 952 | pPixMap->pPixel[0] = pPicture->pData[0]; |
| 953 | pPixMap->pPixel[1] = pPicture->pData[1]; |
| 954 | pPixMap->pPixel[2] = pPicture->pData[2]; |
| 955 | pPixMap->iSizeInBits = sizeof (uint8_t); |
| 956 | pPixMap->iStride[0] = pPicture->iLineSize[0]; |
| 957 | pPixMap->iStride[1] = pPicture->iLineSize[1]; |
| 958 | pPixMap->sRect.iRectWidth = pPicture->iWidthInPixel; |
| 959 | pPixMap->sRect.iRectHeight = pPicture->iHeightInPixel; |
| 960 | |
| 961 | pPixMap->eFormat = VIDEO_FORMAT_I420; |
| 962 | } |
| 963 | |
| 964 | SPicture** CWelsPreProcessScreen::GetReferenceSrcPicList (int32_t iTargetDid) { |
| 965 | return (&m_pSpatialPic[iTargetDid][1]); |
nothing calls this directly
no outgoing calls
no test coverage detected