Home
last modified time | relevance | path

Searched refs:pDstPixMap (Results 1 – 2 of 2) sorted by relevance

/third_party/openh264/codec/processing/src/downsample/
Ddownsample.cpp144 EResult CDownsampling::Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pDstPixMap) { in Process() argument
147 int32_t iDstWidthY = pDstPixMap->sRect.iRectWidth; in Process()
148 int32_t iDstHeightY = pDstPixMap->sRect.iRectHeight; in Process()
161 DownsampleHalfAverage ((uint8_t*)pDstPixMap->pPixel[0], pDstPixMap->iStride[0], in Process()
163 DownsampleHalfAverage ((uint8_t*)pDstPixMap->pPixel[1], pDstPixMap->iStride[1], in Process()
165 DownsampleHalfAverage ((uint8_t*)pDstPixMap->pPixel[2], pDstPixMap->iStride[2], in Process()
169 m_pfDownsample.pfQuarterDownsampler ((uint8_t*)pDstPixMap->pPixel[0], pDstPixMap->iStride[0], in Process()
172 m_pfDownsample.pfQuarterDownsampler ((uint8_t*)pDstPixMap->pPixel[1], pDstPixMap->iStride[1], in Process()
175 m_pfDownsample.pfQuarterDownsampler ((uint8_t*)pDstPixMap->pPixel[2], pDstPixMap->iStride[2], in Process()
180 m_pfDownsample.pfOneThirdDownsampler ((uint8_t*)pDstPixMap->pPixel[0], pDstPixMap->iStride[0], in Process()
[all …]
/third_party/openh264/codec/processing/src/common/
DWelsFrameWork.cpp151 EResult CVpFrameWork::Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pDstPixMap) { in Process() argument
161 if (pDstPixMap) sDstPic = *pDstPixMap; in Process()
218 bool CVpFrameWork::CheckValid (EMethods eMethod, SPixMap& pSrcPixMap, SPixMap& pDstPixMap) { in CheckValid() argument
229 if (pSrcPixMap.pPixel[0] && pDstPixMap.pPixel[0]) { in CheckValid()
230 if (pDstPixMap.eFormat != pSrcPixMap.eFormat) in CheckValid()
243 if (pDstPixMap.pPixel[0]) { in CheckValid()
244 if (pDstPixMap.sRect.iRectWidth <= 0 || pDstPixMap.sRect.iRectHeight <= 0 in CheckValid()
245 || pDstPixMap.sRect.iRectWidth * pDstPixMap.sRect.iRectHeight > (MAX_MBS_PER_FRAME << 8)) in CheckValid()
247 if (pDstPixMap.sRect.iRectTop >= pDstPixMap.sRect.iRectHeight in CheckValid()
248 …|| pDstPixMap.sRect.iRectLeft >= pDstPixMap.sRect.iRectWidth || pDstPixMap.sRect.iRectWidth > pDst… in CheckValid()