/third_party/openh264/codec/processing/src/downsample/ |
D | downsample.cpp | 144 EResult CDownsampling::Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pDstPixMap) { in Process() argument 145 int32_t iSrcWidthY = pSrcPixMap->sRect.iRectWidth; in Process() 146 int32_t iSrcHeightY = pSrcPixMap->sRect.iRectHeight; in Process() 162 (uint8_t*)pSrcPixMap->pPixel[0], pSrcPixMap->iStride[0], iSrcWidthY, iSrcHeightY); in Process() 164 (uint8_t*)pSrcPixMap->pPixel[1], pSrcPixMap->iStride[1], iSrcWidthUV, iSrcHeightUV); in Process() 166 (uint8_t*)pSrcPixMap->pPixel[2], pSrcPixMap->iStride[2], iSrcWidthUV, iSrcHeightUV); in Process() 170 … (uint8_t*)pSrcPixMap->pPixel[0], pSrcPixMap->iStride[0], iSrcWidthY, iSrcHeightY); in Process() 173 … (uint8_t*)pSrcPixMap->pPixel[1], pSrcPixMap->iStride[1], iSrcWidthUV, iSrcHeightUV); in Process() 176 … (uint8_t*)pSrcPixMap->pPixel[2], pSrcPixMap->iStride[2], iSrcWidthUV, iSrcHeightUV); in Process() 181 … (uint8_t*)pSrcPixMap->pPixel[0], pSrcPixMap->iStride[0], iSrcWidthY, iDstHeightY); in Process() [all …]
|
/third_party/openh264/codec/processing/src/scrolldetection/ |
D | ScrollDetection.cpp | 40 EResult CScrollDetection::Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pRefPixMap) { in Process() argument 41 if (pRefPixMap->pPixel[0] == NULL || pSrcPixMap->pPixel[0] == NULL || in Process() 42 pRefPixMap->sRect.iRectWidth != pSrcPixMap->sRect.iRectWidth in Process() 43 || pRefPixMap->sRect.iRectHeight != pSrcPixMap->sRect.iRectHeight) { in Process() 48 ScrollDetectionWithoutMask (pSrcPixMap, pRefPixMap); in Process() 50 ScrollDetectionWithMask (pSrcPixMap, pRefPixMap); in Process() 71 void CScrollDetection::ScrollDetectionWithMask (SPixMap* pSrcPixMap, SPixMap* pRefPixMap) { in ScrollDetectionWithMask() argument 87 …ScrollDetectionCore (pSrcPixMap, pRefPixMap, iWidth, iHeight, iStartX, iStartY, m_sScrollDetection… in ScrollDetectionWithMask() 91 void CScrollDetection::ScrollDetectionWithoutMask (SPixMap* pSrcPixMap, SPixMap* pRefPixMap) { in ScrollDetectionWithoutMask() argument 94 const int32_t kiPicBorderWidth = pSrcPixMap->sRect.iRectHeight >> 4; in ScrollDetectionWithoutMask() [all …]
|
D | ScrollDetection.h | 57 EResult Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pRefPixMap); 62 void ScrollDetectionWithMask (SPixMap* pSrcPixMap, SPixMap* pRefPixMap); 63 void ScrollDetectionWithoutMask (SPixMap* pSrcPixMap, SPixMap* pRefPixMap);
|
D | ScrollDetectionFuncs.cpp | 110 void ScrollDetectionCore (SPixMap* pSrcPixMap, SPixMap* pRefPixMap, int32_t iWidth, int32_t iHeight, in ScrollDetectionCore() argument 123 pYSrc = (uint8_t*)pSrcPixMap->pPixel[0]; in ScrollDetectionCore()
|
D | ScrollDetectionFuncs.h | 58 void ScrollDetectionCore (SPixMap* pSrcPixMap, SPixMap* pRefPixMap, int32_t iWidth, int32_t iHeight,
|
/third_party/openh264/codec/processing/src/common/ |
D | WelsFrameWork.cpp | 151 EResult CVpFrameWork::Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pDstPixMap) { in Process() argument 160 if (pSrcPixMap) sSrcPic = *pSrcPixMap; in Process() 218 bool CVpFrameWork::CheckValid (EMethods eMethod, SPixMap& pSrcPixMap, SPixMap& pDstPixMap) { in CheckValid() argument 225 if (pSrcPixMap.pPixel[0]) { in CheckValid() 226 if (pSrcPixMap.eFormat != VIDEO_FORMAT_I420 && pSrcPixMap.eFormat != VIDEO_FORMAT_YV12) in CheckValid() 229 if (pSrcPixMap.pPixel[0] && pDstPixMap.pPixel[0]) { in CheckValid() 230 if (pDstPixMap.eFormat != pSrcPixMap.eFormat) in CheckValid() 235 if (pSrcPixMap.pPixel[0]) { in CheckValid() 236 if (pSrcPixMap.sRect.iRectWidth <= 0 || pSrcPixMap.sRect.iRectHeight <= 0 in CheckValid() 237 || pSrcPixMap.sRect.iRectWidth * pSrcPixMap.sRect.iRectHeight > (MAX_MBS_PER_FRAME << 8)) in CheckValid() [all …]
|
/third_party/openh264/codec/processing/src/complexityanalysis/ |
D | ComplexityAnalysis.cpp | 51 EResult CComplexityAnalysis::Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pRefPixMap) { in Process() argument 56 AnalyzeFrameComplexityViaSad (pSrcPixMap, pRefPixMap); in Process() 59 AnalyzeGomComplexityViaSad (pSrcPixMap, pRefPixMap); in Process() 62 AnalyzeGomComplexityViaVar (pSrcPixMap, pRefPixMap); in Process() 97 void CComplexityAnalysis::AnalyzeFrameComplexityViaSad (SPixMap* pSrcPixMap, SPixMap* pRefPixMap) { in AnalyzeFrameComplexityViaSad() argument 104 …m_sComplexityAnalysisParam.iFrameComplexity = GetFrameSadExcludeBackground (pSrcPixMap, pRefPixMap… in AnalyzeFrameComplexityViaSad() 108 int32_t CComplexityAnalysis::GetFrameSadExcludeBackground (SPixMap* pSrcPixMap, SPixMap* pRefPixMap… in GetFrameSadExcludeBackground() argument 109 int32_t iWidth = pSrcPixMap->sRect.iRectWidth; in GetFrameSadExcludeBackground() 110 int32_t iHeight = pSrcPixMap->sRect.iRectHeight; in GetFrameSadExcludeBackground() 171 void CComplexityAnalysis::AnalyzeGomComplexityViaSad (SPixMap* pSrcPixMap, SPixMap* pRefPixMap) { in AnalyzeGomComplexityViaSad() argument [all …]
|
/third_party/openh264/codec/processing/src/vaacalc/ |
D | vaacalculation.cpp | 114 EResult CVAACalculation::Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pRefPixMap) { in Process() argument 115 uint8_t* pCurData = (uint8_t*)pSrcPixMap->pPixel[0]; in Process() 117 int32_t iPicWidth = pSrcPixMap->sRect.iRectWidth; in Process() 118 int32_t iPicHeight = pSrcPixMap->sRect.iRectHeight; in Process() 119 int32_t iPicStride = pSrcPixMap->iStride[0]; in Process()
|
/third_party/openh264/codec/processing/src/backgrounddetection/ |
D | BackgroundDetection.cpp | 63 EResult CBackgroundDetection::Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pRefPixMap) { in Process() argument 66 if (pSrcPixMap == NULL || pRefPixMap == NULL) in Process() 69 m_BgdParam.pCur[0] = (uint8_t*)pSrcPixMap->pPixel[0]; in Process() 70 m_BgdParam.pCur[1] = (uint8_t*)pSrcPixMap->pPixel[1]; in Process() 71 m_BgdParam.pCur[2] = (uint8_t*)pSrcPixMap->pPixel[2]; in Process() 75 m_BgdParam.iBgdWidth = pSrcPixMap->sRect.iRectWidth; in Process() 76 m_BgdParam.iBgdHeight = pSrcPixMap->sRect.iRectHeight; in Process() 77 m_BgdParam.iStride[0] = pSrcPixMap->iStride[0]; in Process() 78 m_BgdParam.iStride[1] = pSrcPixMap->iStride[1]; in Process() 79 m_BgdParam.iStride[2] = pSrcPixMap->iStride[2]; in Process()
|
/third_party/openh264/codec/processing/src/scenechangedetection/ |
D | SceneChangeDetection.h | 215 EResult Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pRefPixMap) { in Process() argument 218 m_sLocalParam.iWidth = pSrcPixMap->sRect.iRectWidth; in Process() 219 m_sLocalParam.iHeight = pSrcPixMap->sRect.iRectHeight; in Process() 223 m_sLocalParam.pCurY = (uint8_t*)pSrcPixMap->pPixel[0]; in Process() 225 m_sLocalParam.iCurStride = pSrcPixMap->iStride[0]; in Process()
|
/third_party/openh264/codec/processing/src/adaptivequantization/ |
D | AdaptiveQuantization.cpp | 57 EResult CAdaptiveQuantization::Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pRefPixMap) { in Process() argument 60 int32_t iWidth = pSrcPixMap->sRect.iRectWidth; in Process() 61 int32_t iHeight = pSrcPixMap->sRect.iRectHeight; in Process() 84 pCurFrameY = (uint8_t*)pSrcPixMap->pPixel[0]; in Process() 87 iCurStride = pSrcPixMap->iStride[0]; in Process()
|