Home
last modified time | relevance | path

Searched refs:sRect (Results 1 – 22 of 22) sorted by relevance

/third_party/openh264/codec/processing/src/common/
DWelsFrameWork.cpp236 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()
239 if (pSrcPixMap.sRect.iRectTop >= pSrcPixMap.sRect.iRectHeight in CheckValid()
240 …|| pSrcPixMap.sRect.iRectLeft >= pSrcPixMap.sRect.iRectWidth || pSrcPixMap.sRect.iRectWidth > pSrc… 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()
/third_party/openh264/codec/processing/src/scrolldetection/
DScrollDetection.cpp42 pRefPixMap->sRect.iRectWidth != pSrcPixMap->sRect.iRectWidth in Process()
43 || pRefPixMap->sRect.iRectHeight != pSrcPixMap->sRect.iRectHeight) { in Process()
94 const int32_t kiPicBorderWidth = pSrcPixMap->sRect.iRectHeight >> 4; in ScrollDetectionWithoutMask()
95 const int32_t kiRegionWidth = (int) (pSrcPixMap->sRect.iRectWidth - (kiPicBorderWidth << 1)) / 3; in ScrollDetectionWithoutMask()
96 const int32_t kiRegionHeight = (pSrcPixMap->sRect.iRectHeight * 7) >> 3; in ScrollDetectionWithoutMask()
97 const int32_t kiHieghtStride = (int) pSrcPixMap->sRect.iRectHeight * 5 / 24; in ScrollDetectionWithoutMask()
101 iStartY = -pSrcPixMap->sRect.iRectHeight * 7 / 48 + (int) (i / 3) * (kiHieghtStride); in ScrollDetectionWithoutMask()
DScrollDetectionFuncs.cpp116 int32_t iPicHeight = pRefPixMap->sRect.iRectHeight; in ScrollDetectionCore()
/third_party/openh264/codec/processing/src/imagerotate/
Dimagerotate.cpp75 …rocessImageRotate (iType, (uint8_t*)pSrc->pPixel[0], pSrc->iSizeInBits * 8, pSrc->sRect.iRectWidth, in Process()
76 pSrc->sRect.iRectHeight, (uint8_t*)pDst->pPixel[0]); in Process()
78 …ProcessImageRotate (iType, (uint8_t*)pSrc->pPixel[0], pSrc->iSizeInBits * 8, pSrc->sRect.iRectWidt… in Process()
79 pSrc->sRect.iRectHeight, (uint8_t*)pDst->pPixel[0]); in Process()
80 …ProcessImageRotate (iType, (uint8_t*)pSrc->pPixel[1], pSrc->iSizeInBits * 8, (pSrc->sRect.iRectWid… in Process()
81 (pSrc->sRect.iRectHeight >> 1), (uint8_t*)pDst->pPixel[1]); in Process()
82 …mageRotate (iType, (uint8_t*)pSrc->pPixel[2], pSrc->iSizeInBits * 8, (pSrc->sRect.iRectWidth >> 1), in Process()
83 (pSrc->sRect.iRectHeight >> 1), (uint8_t*)pDst->pPixel[2]); in Process()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp481 SliceRectF sRect; in stretchRect() local
486 sRect.x0 = sourceRect->x0; in stretchRect()
487 sRect.x1 = sourceRect->x1; in stretchRect()
488 sRect.y0 = sourceRect->y0; in stretchRect()
489 sRect.y1 = sourceRect->y1; in stretchRect()
490 sRect.slice = sourceRect->slice; in stretchRect()
492 if(sRect.x0 > sRect.x1) in stretchRect()
494 swap(sRect.x0, sRect.x1); in stretchRect()
497 if(sRect.y0 > sRect.y1) in stretchRect()
499 swap(sRect.y0, sRect.y1); in stretchRect()
[all …]
DContext.cpp3725 void Context::blit(sw::Surface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::Sl… in blit() argument
3727 …sw::SliceRectF sRectF((float)sRect.x0, (float)sRect.y0, (float)sRect.x1, (float)sRect.y1, sRect.sl… in blit()
DContext.h642 …void blit(sw::Surface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::SliceRect …
/third_party/openh264/test/processing/
DProcessUT_ScrollDetection.cpp59 sSrcMap.sRect.iRectWidth = sRefMap.sRect.iRectWidth = iWidth; in TEST()
60 sSrcMap.sRect.iRectHeight = sRefMap.sRect.iRectHeight = iHeight; in TEST()
/third_party/openh264/codec/encoder/core/src/
Dwels_preprocess.cpp582 sSrcPixMap.sRect.iRectWidth = kiWidth; in BilateralDenoising()
583 sSrcPixMap.sRect.iRectHeight = kiHeight; in BilateralDenoising()
602 sSrcPixMap.sRect.iRectWidth = pCurPicture->iWidthInPixel; in DetectSceneChange()
603 sSrcPixMap.sRect.iRectHeight = pCurPicture->iHeightInPixel; in DetectSceneChange()
609 sRefPixMap.sRect.iRectWidth = pRefPicture->iWidthInPixel; in DetectSceneChange()
610 sRefPixMap.sRect.iRectHeight = pRefPicture->iHeightInPixel; in DetectSceneChange()
636 sSrcPixMap.sRect.iRectWidth = iSrcWidth; in DownsamplePadding()
637 sSrcPixMap.sRect.iRectHeight = iSrcHeight; in DownsamplePadding()
649 sDstPicMap.sRect.iRectWidth = iShrinkWidth; in DownsamplePadding()
650 sDstPicMap.sRect.iRectHeight = iShrinkHeight; in DownsamplePadding()
[all …]
/third_party/openh264/codec/processing/src/complexityanalysis/
DComplexityAnalysis.cpp109 int32_t iWidth = pSrcPixMap->sRect.iRectWidth; in GetFrameSadExcludeBackground()
110 int32_t iHeight = pSrcPixMap->sRect.iRectHeight; in GetFrameSadExcludeBackground()
172 int32_t iWidth = pSrcPixMap->sRect.iRectWidth; in AnalyzeGomComplexityViaSad()
173 int32_t iHeight = pSrcPixMap->sRect.iRectHeight; in AnalyzeGomComplexityViaSad()
221 int32_t iWidth = pSrcPixMap->sRect.iRectWidth; in AnalyzeGomComplexityViaVar()
222 int32_t iHeight = pSrcPixMap->sRect.iRectHeight; in AnalyzeGomComplexityViaVar()
351 int32_t iWidth = pSrc->sRect.iRectWidth; in GomComplexityAnalysisIntra()
352 int32_t iHeight = pSrc->sRect.iRectHeight; in GomComplexityAnalysisIntra()
407 int32_t iWidth = pSrc->sRect.iRectWidth; in GomComplexityAnalysisInter()
408 int32_t iHeight = pSrc->sRect.iRectHeight; in GomComplexityAnalysisInter()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DBlitter.cpp44 SliceRectF sRect(0.5f, 0.5f, 0.5f, 0.5f, 0); // Sample from the middle. in clear() local
45 blit(color, sRect, dest, dRect, {rgbaMask}); in clear()
151 SliceRectF sRect = sourceRect; in blit() local
160 swap(sRect.x0, sRect.x1); in blit()
165 swap(sRect.y0, sRect.y1); in blit()
168 source->lockInternal(0, 0, sRect.slice, sw::LOCK_READONLY, sw::PUBLIC); in blit()
171 float w = sRect.width() / dRect.width(); in blit()
172 float h = sRect.height() / dRect.height(); in blit()
174 float xStart = sRect.x0 + (0.5f - dRect.x0) * w; in blit()
175 float yStart = sRect.y0 + (0.5f - dRect.y0) * h; in blit()
[all …]
DBlitter.hpp99 …void blit(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, const O…
114 …bool blitReactor(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, …
DRenderer.hpp284 …void blit(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, bool fi…
DRenderer.cpp732 …void Renderer::blit(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRec… in blit() argument
734 blitter->blit(source, sRect, dest, dRect, {filter, isStencil, sRGBconversion}); in blit()
/third_party/openh264/codec/processing/src/denoise/
Ddenoise.cpp75 int32_t iWidthY = pSrc->sRect.iRectWidth; in Process()
76 int32_t iHeightY = pSrc->sRect.iRectHeight; in Process()
/third_party/openh264/codec/processing/src/downsample/
Ddownsample.cpp145 int32_t iSrcWidthY = pSrcPixMap->sRect.iRectWidth; in Process()
146 int32_t iSrcHeightY = pSrcPixMap->sRect.iRectHeight; in Process()
147 int32_t iDstWidthY = pDstPixMap->sRect.iRectWidth; in Process()
148 int32_t iDstHeightY = pDstPixMap->sRect.iRectHeight; in Process()
/third_party/openh264/codec/processing/src/vaacalc/
Dvaacalculation.cpp117 int32_t iPicWidth = pSrcPixMap->sRect.iRectWidth; in Process()
118 int32_t iPicHeight = pSrcPixMap->sRect.iRectHeight; in Process()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
DContext.hpp43 …virtual void blit(sw::Surface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::Sl…
/third_party/openh264/codec/processing/src/scenechangedetection/
DSceneChangeDetection.h218 m_sLocalParam.iWidth = pSrcPixMap->sRect.iRectWidth; in Process()
219 m_sLocalParam.iHeight = pSrcPixMap->sRect.iRectHeight; in Process()
/third_party/openh264/codec/processing/src/adaptivequantization/
DAdaptiveQuantization.cpp60 int32_t iWidth = pSrcPixMap->sRect.iRectWidth; in Process()
61 int32_t iHeight = pSrcPixMap->sRect.iRectHeight; in Process()
/third_party/openh264/codec/processing/src/backgrounddetection/
DBackgroundDetection.cpp75 m_BgdParam.iBgdWidth = pSrcPixMap->sRect.iRectWidth; in Process()
76 m_BgdParam.iBgdHeight = pSrcPixMap->sRect.iRectHeight; in Process()
/third_party/openh264/codec/processing/interface/
DIWelsVP.h116 SRect sRect; member