Home
last modified time | relevance | path

Searched refs:iWidth (Results 1 – 25 of 99) sorted by relevance

1234

/third_party/openh264/codec/common/src/
Dmc.cpp55 int32_t iWidth, int32_t iHeight);
163 … const uint8_t* pSrcB, int32_t iSrcBStride, int32_t iWidth, int32_t iHeight) { in PixelAvg_c() argument
166 for (j = 0; j < iWidth; j++) { in PixelAvg_c()
174 …Copy_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, int32_t iWidth, in McCopy_c() argument
176 if (iWidth == 16) in McCopy_c()
178 else if (iWidth == 8) in McCopy_c()
180 else if (iWidth == 4) in McCopy_c()
188 int32_t iWidth, in McHorVer20_c() argument
192 for (j = 0; j < iWidth; j++) { in McHorVer20_c()
202 int32_t iWidth, in McHorVer02_c() argument
[all …]
/third_party/openh264/test/encoder/
DEncUT_EncoderMb.cpp120 int16_t* pDctCompare, int16_t iWidth, int16_t iHeight) { in TestQuant() argument
127 RandomPixelDataGenerator (pSrc, iWidth, iHeight, iWidth); in TestQuant()
128 RandomPixelDataGenerator (pPred, iWidth, iHeight, iWidth); in TestQuant()
145 RandomPixelDataGenerator (pSrc, iWidth, iHeight, iWidth); in TestQuant()
146 RandomPixelDataGenerator (pPred, iWidth, iHeight, iWidth); in TestQuant()
163 RandomPixelDataGenerator (pSrc, iWidth, iHeight, iWidth); in TestQuant()
164 RandomPixelDataGenerator (pPred, iWidth, iHeight, iWidth); in TestQuant()
184 int16_t iWidth = 16; in TEST() local
187 uint8_t* pSrc = (uint8_t*)cMemoryAlign.WelsMalloc (iWidth * iHeight, "quant_src"); in TEST()
188 uint8_t* pPred = (uint8_t*)cMemoryAlign.WelsMalloc (iWidth * iHeight, "quant_pred"); in TEST()
[all …]
DEncUT_MotionCompensation.cpp36 …MCCopyAnchor (uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, int32_t iWidth, in MCCopyAnchor() argument
39 memcpy (pDst, pSrc, iWidth * sizeof (uint8_t)); in MCCopyAnchor()
46 … int32_t iStride, int32_t iWidth, int32_t iHeight, int16_t* pBuf) { in MCHalfPelFilterAnchor() argument
48 for (int32_t x = 0; x < iWidth; x++) in MCHalfPelFilterAnchor()
50 for (int32_t x = -2; x < iWidth + 3; x++) { in MCHalfPelFilterAnchor()
52 if (x >= 0 && x < iWidth) in MCHalfPelFilterAnchor()
56 for (int32_t x = 0; x < iWidth; x++) in MCHalfPelFilterAnchor()
67 uint8_t* pSrc2, int32_t iSrc2Stride, int32_t iWidth, int32_t iHeight) { in PixelAvgAnchor() argument
69 for (int32_t x = 0; x < iWidth; x++) in PixelAvgAnchor()
78 int32_t iMvX, int32_t iMvY, int32_t iWidth, int32_t iHeight) { in MCLumaAnchor() argument
[all …]
/third_party/openh264/codec/processing/src/imagerotate/
Dimagerotatefuncs.cpp41 void ImageRotate90D_c (uint8_t* pSrc, uint32_t uiBytesPerPixel, uint32_t iWidth, uint32_t iHeight, … in ImageRotate90D_c() argument
43 for (uint32_t i = 0; i < iWidth; i++) { in ImageRotate90D_c()
45 …pDst[ (i * iHeight + iHeight - 1 - j)*uiBytesPerPixel + n] = pSrc[ (iWidth * j + i) * uiBytesPerPi… in ImageRotate90D_c()
49 void ImageRotate180D_c (uint8_t* pSrc, uint32_t uiBytesPerPixel, uint32_t iWidth, uint32_t iHeight,… in ImageRotate180D_c() argument
51 for (uint32_t i = 0; i < iWidth; i++) { in ImageRotate180D_c()
53 …pDst[ ((iHeight - 1 - j)*iWidth + iWidth - 1 - i)*uiBytesPerPixel + n] = pSrc[ (iWidth * j + i) * … in ImageRotate180D_c()
57 void ImageRotate270D_c (uint8_t* pSrc, uint32_t uiBytesPerPixel, uint32_t iWidth, uint32_t iHeight,… in ImageRotate270D_c() argument
58 for (uint32_t j = 0; j < iWidth; j++) { in ImageRotate270D_c()
61 …pDst[ ((iWidth - 1 - j)*iHeight + i)*uiBytesPerPixel + n] = pSrc[ (iWidth * i + j) * uiBytesPerPix… in ImageRotate270D_c()
Dimagerotate.cpp54 …ating::ProcessImageRotate (int32_t iType, uint8_t* pSrc, uint32_t uiBytesPerPixel, uint32_t iWidth, in ProcessImageRotate() argument
57 m_pfRotateImage.pfImageRotate90D (pSrc, uiBytesPerPixel, iWidth, iHeight, pDst); in ProcessImageRotate()
59 m_pfRotateImage.pfImageRotate180D (pSrc, uiBytesPerPixel, iWidth, iHeight, pDst); in ProcessImageRotate()
61 m_pfRotateImage.pfImageRotate270D (pSrc, uiBytesPerPixel, iWidth, iHeight, pDst); in ProcessImageRotate()
Dimagerotate.h51 typedef void (ImageRotateFunc) (uint8_t* pSrc, uint32_t uiBytesPerPixel, uint32_t iWidth, uint32_t …
75 …eRotate (int32_t iType, uint8_t* pSrc, uint32_t uiBytesPerPixel, uint32_t iWidth, uint32_t iHeight,
/third_party/openh264/codec/processing/src/scrolldetection/
DScrollDetection.cpp72 int32_t iStartX, iStartY, iWidth, iHeight; in ScrollDetectionWithMask() local
76 iWidth = m_sScrollDetectionParam.sMaskRect.iRectWidth; in ScrollDetectionWithMask()
79 iWidth /= 2; in ScrollDetectionWithMask()
80 iStartX += iWidth / 2; in ScrollDetectionWithMask()
86 if (iStartX >= 0 && iWidth > MINIMUM_DETECT_WIDTH && iHeight > 2 * CHECK_OFFSET) { in ScrollDetectionWithMask()
87 …ScrollDetectionCore (pSrcPixMap, pRefPixMap, iWidth, iHeight, iStartX, iStartY, m_sScrollDetection… in ScrollDetectionWithMask()
92 int32_t iStartX, iStartY, iWidth, iHeight; in ScrollDetectionWithoutMask() local
102 iWidth = kiRegionWidth; in ScrollDetectionWithoutMask()
105 iWidth /= 2; in ScrollDetectionWithoutMask()
106 iStartX += iWidth / 2; in ScrollDetectionWithoutMask()
[all …]
DScrollDetectionFuncs.cpp39 int32_t CheckLine (uint8_t* pData, int32_t iWidth) { in CheckLine() argument
47 for (int32_t i = 1; i < iWidth; i++) { in CheckLine()
70 int32_t SelectTestLine (uint8_t* pY, int32_t iWidth, int32_t iHeight, int32_t iPicHeight, in SelectTestLine() argument
82 if (CheckLine (pTmp, iWidth)) break; in SelectTestLine()
87 if (CheckLine (pTmp, iWidth)) break; in SelectTestLine()
110 void ScrollDetectionCore (SPixMap* pSrcPixMap, SPixMap* pRefPixMap, int32_t iWidth, int32_t iHeight, in ScrollDetectionCore() argument
126 iTestPos = SelectTestLine (pYSrc, iWidth, iHeight, iPicHeight, iYStride, iOffsetX, iOffsetY); in ScrollDetectionCore()
139 if (!CompareLine (pYLine, pYTmp, iWidth)) { in ScrollDetectionCore()
150 if (CompareLine (pYLineUpper, pYUpper, iWidth)) { in ScrollDetectionCore()
166 if (!CompareLine (pYLine, pYTmp, iWidth)) { in ScrollDetectionCore()
[all …]
DScrollDetectionFuncs.h54 int32_t CheckLine (uint8_t* pData, int32_t iWidth);
55 int32_t SelectTestLine (uint8_t* pY, int32_t iWidth, int32_t iHeight, int32_t iPicHeight,
58 void ScrollDetectionCore (SPixMap* pSrcPixMap, SPixMap* pRefPixMap, int32_t iWidth, int32_t iHeight,
/third_party/openh264/codec/console/dec/src/
Dd3d9_utils.cpp36 void Write2File (FILE* pFp, unsigned char* pData[3], int iStride[2], int iWidth, int iHeight);
60 HRESULT Dump2Surface (void* pDst[3], void* pSurface, int iWidth, int iHeight, int iStride[2]);
154 if (m_nWidth != pInfo->UsrData.sSystemBuffer.iWidth in Render()
156 m_nWidth = pInfo->UsrData.sSystemBuffer.iWidth; in Render()
163 hResult = Dump2Surface (pDst, m_lpD3D9RawSurfaceShare, pInfo->UsrData.sSystemBuffer.iWidth, in Render()
179 int iWidth; in Dump() local
182 iWidth = pInfo->UsrData.sSystemBuffer.iWidth; in Dump()
188 Write2File (pFp, (unsigned char**)pDst, iStride, iWidth, iHeight); in Dump()
197 int iWidth = 0; in InitResource() local
232 iWidth = pInfo->UsrData.sSystemBuffer.iWidth; in InitResource()
[all …]
Dh264dec.cpp179 …unsigned long long& uiTimeStamp, int32_t& iWidth, int32_t& iHeight, int32_t& iLastWidth, int32_t i… in FlushFrames() argument
203 iWidth = sDstBufInfo.UsrData.sSystemBuffer.iWidth; in FlushFrames()
206 if (iWidth != iLastWidth && iHeight != iLastHeight) { in FlushFrames()
208 fwrite (&iWidth, sizeof (iWidth), 1, pOptionFile); in FlushFrames()
210 iLastWidth = iWidth; in FlushFrames()
219 … int32_t& iWidth, int32_t& iHeight, const char* pOptionFileName, const char* pLengthFileName, in H264DecodeInstance() argument
340 …FlushFrames (pDecoder, iTotal, pYuvFile, pOptionFile, iFrameCount, uiTimeStamp, iWidth, iHeight, i… in H264DecodeInstance()
404 iWidth = sDstBufInfo.UsrData.sSystemBuffer.iWidth; in H264DecodeInstance()
408 if (iWidth != iLastWidth && iHeight != iLastHeight) { in H264DecodeInstance()
410 fwrite (&iWidth, sizeof (iWidth), 1, pOptionFile); in H264DecodeInstance()
[all …]
/third_party/openh264/test/api/
DDataGenerator.cpp9 bool YUVPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride) { argument
13 if (SRC_FRAME_WIDTH - iWidth <= 0 || SRC_FRAME_HEIGHT - iHeight <= 0) {
33 int32_t iStartPosX = rand() % (SRC_FRAME_WIDTH - iWidth);
39 memcpy (pLocalPointer, pSrcPointer, iWidth * sizeof (uint8_t));
48 void RandomPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride)… argument
51 for (int32_t i = 0; i < iWidth; i++) {
59 void RandomResidueDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStri… argument
62 void RandomCoeffDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride… argument
DBaseThreadDecoderTest.cpp104 static void Write2File (FILE* pFp, unsigned char* pData[3], int iStride[2], int iWidth, int iHeight… in Write2File() argument
110 fwrite (pPtr, 1, iWidth, pFp); in Write2File()
115 iWidth = iWidth / 2; in Write2File()
118 fwrite (pPtr, 1, iWidth, pFp); in Write2File()
124 fwrite (pPtr, 1, iWidth, pFp); in Write2File()
132 int iWidth = pInfo->UsrData.sSystemBuffer.iWidth; in Process() local
137 Write2File (pFp, (unsigned char**)pInfo->pDst, iStride, iWidth, iHeight); in Process()
191 bufInfo.UsrData.sSystemBuffer.iWidth, in DecodeFrame()
198 sBufInfo.UsrData.sSystemBuffer.iWidth / 2, in DecodeFrame()
205 sBufInfo.UsrData.sSystemBuffer.iWidth / 2, in DecodeFrame()
[all …]
Dencode_options_test.cpp13 bool EncodeDecodeTestAPIBase::InitialEncDec (int iWidth, int iHeight) { in InitialEncDec() argument
16 int frameSize = iWidth * iHeight * 3 / 2; in InitialEncDec()
25 EncPic.iPicWidth = iWidth; in InitialEncDec()
31 EncPic.pData[1] = EncPic.pData[0] + iWidth * iHeight; in InitialEncDec()
32 EncPic.pData[2] = EncPic.pData[1] + (iWidth * iHeight >> 2); in InitialEncDec()
301 …int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_… in TEST_F() local
307 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &param_); in TEST_F()
351 …int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_… in TEST_F() local
357 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &param_); in TEST_F()
403 int iWidth = GetRandWidth(); in TEST_F() local
[all …]
DBaseDecoderTest.cpp93 bufInfo.UsrData.sSystemBuffer.iWidth, in DecodeFrame()
100 bufInfo.UsrData.sSystemBuffer.iWidth / 2, in DecodeFrame()
107 bufInfo.UsrData.sSystemBuffer.iWidth / 2, in DecodeFrame()
129 bufInfo.UsrData.sSystemBuffer.iWidth, in FlushFrame()
136 bufInfo.UsrData.sSystemBuffer.iWidth / 2, in FlushFrame()
143 bufInfo.UsrData.sSystemBuffer.iWidth / 2, in FlushFrame()
/third_party/openh264/codec/processing/src/denoise/
Ddenoise.cpp38 #define CALC_BI_STRIDE(iWidth, iBitcount) ((((iWidth) * (iBitcount) + 31) & ~31) >> 3) argument
92 void CDenoiser::BilateralDenoiseLuma (uint8_t* pSrcY, int32_t iWidth, int32_t iHeight, int32_t iStr… in BilateralDenoiseLuma() argument
97 for (w = m_uiSpaceRadius; w < iWidth - m_uiSpaceRadius - TAIL_OF_LINE8; w += 8) { in BilateralDenoiseLuma()
100 for (; w < iWidth - m_uiSpaceRadius; w++) { in BilateralDenoiseLuma()
107 void CDenoiser::WaverageDenoiseChroma (uint8_t* pSrcUV, int32_t iWidth, int32_t iHeight, int32_t iS… in WaverageDenoiseChroma() argument
112 for (w = UV_WINDOWS_RADIUS; w < iWidth - UV_WINDOWS_RADIUS - TAIL_OF_LINE8; w += 8) { in WaverageDenoiseChroma()
116 for (; w < iWidth - UV_WINDOWS_RADIUS; w++) { in WaverageDenoiseChroma()
/third_party/openh264/test/processing/
DProcessUT_ScrollDetection.cpp26 int iWidth = iWidthSets[i]; in TEST() local
28 iStride = iWidth + 16; in TEST()
33 RandomPixelDataGenerator (pRef, iWidth, iHeight, iStride); in TEST()
42 for (int i = 0; i < iWidth; i++) { in TEST()
43 memcpy (pSrcTmp , &pRefTmp[ (j + iScrollMv)*iStride], iWidth * sizeof (unsigned char)); in TEST()
46 for (int i = 0; i < iWidth; i++) in TEST()
59 sSrcMap.sRect.iRectWidth = sRefMap.sRect.iRectWidth = iWidth; in TEST()
/third_party/openh264/test/utils/
DDataGenerator.h6 bool YUVPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride);
8 void RandomPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride);
10 void RandomResidueDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStri…
12 void RandomCoeffDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride…
/third_party/openh264/codec/common/inc/
Dmc.h39 int16_t iMvX, int16_t iMvY, int32_t iWidth, int32_t iHeight);
42 int32_t iWidth, int32_t iHeight);
278 int32_t iWidth, int32_t iHeight);
280 int32_t iWidth, int32_t iHeight);
286 int32_t iWidth,
289 int32_t iWidth, int32_t iHeight);
292 int32_t iWidth,
295 int32_t iWidth, int32_t iHeight);
298 int32_t iWidth,
301 int32_t iWidth, int32_t iHeight);
[all …]
/third_party/openh264/codec/common/mips/
Dexpand_picture_mmi.c185 MMI_Copy16Times($f0, $f2, $f28, %[iWidth]) \
189 MMI_Copy16Times($f4, $f6, $f28, %[iWidth]) \
346 MMI_Copy16Times($f0, $f2, $f28, %[iWidth]) \
349 MMI_Copy16Times($f4, $f6, $f28, %[iWidth]) \
362 MMI_Copy16Times($f0, $f2, $f28, %[iWidth]) \
368 MMI_Copy16Times($f4, $f6, $f28, %[iWidth]) \
417 void ExpandPictureLuma_mmi(uint8_t *pDst, int32_t iStride, int32_t iWidth, in ExpandPictureLuma_mmi() argument
488 [iWidth]"+&r"((int)iWidth), [iHeight]"+&r"((int)iHeight) in ExpandPictureLuma_mmi()
497 void ExpandPictureChromaUnalign_mmi(uint8_t *pDst, int32_t iStride, int32_t iWidth, in ExpandPictureChromaUnalign_mmi() argument
575 [iWidth]"+&r"((int)iWidth), [iHeight]"+&r"((int)iHeight) in ExpandPictureChromaUnalign_mmi()
[all …]
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_ext_pbuffer.c72 int iWidth, in wglCreatePbufferARB() argument
98 if (iWidth <= 0 || iHeight <= 0) { in wglCreatePbufferARB()
147 if (iWidth > stw_dev->max_2d_length) { in wglCreatePbufferARB()
149 iWidth = stw_dev->max_2d_length; in wglCreatePbufferARB()
198 rect.right = rect.left + iWidth; in wglCreatePbufferARB()
237 assert(rect.right - rect.left == iWidth); in wglCreatePbufferARB()
/third_party/openh264/codec/processing/src/complexityanalysis/
DComplexityAnalysis.cpp109 int32_t iWidth = pSrcPixMap->sRect.iRectWidth; in GetFrameSadExcludeBackground() local
111 int32_t iMbWidth = iWidth >> 4; in GetFrameSadExcludeBackground()
172 int32_t iWidth = pSrcPixMap->sRect.iRectWidth; in AnalyzeGomComplexityViaSad() local
174 int32_t iMbWidth = iWidth >> 4; in AnalyzeGomComplexityViaSad()
221 int32_t iWidth = pSrcPixMap->sRect.iRectWidth; in AnalyzeGomComplexityViaVar() local
223 int32_t iMbWidth = iWidth >> 4; in AnalyzeGomComplexityViaVar()
351 int32_t iWidth = pSrc->sRect.iRectWidth; in GomComplexityAnalysisIntra() local
353 int32_t iBlockWidth = iWidth >> 4; in GomComplexityAnalysisIntra()
407 int32_t iWidth = pSrc->sRect.iRectWidth; in GomComplexityAnalysisInter() local
409 int32_t iBlockWidth = iWidth >> 4; in GomComplexityAnalysisInter()
[all …]
/third_party/openh264/codec/processing/src/scenechangedetection/
DSceneChangeDetection.h60 int32_t iWidth; member
162 int32_t iWidth = sLocalParam.iWidth; in operator() local
179 && (iBlockPointX + iScrollMvX <= iWidth - 8) && in operator()
218 m_sLocalParam.iWidth = pSrcPixMap->sRect.iRectWidth; in Process()
220 m_sLocalParam.iBlock8x8Width = m_sLocalParam.iWidth >> 3; in Process()
/third_party/openh264/codec/api/svc/
Dcodec_api.h373 int& iWidth,
450 int& iWidth,
505 int* iWidth,
530 int* iWidth,
/third_party/openh264/codec/encoder/core/src/
Dwels_preprocess.cpp41 void ClearEndOfLinePadding (uint8_t* pData, int32_t iStride, int32_t iWidth, int32_t iHeight) { in ClearEndOfLinePadding() argument
42 if (iWidth < iStride) { in ClearEndOfLinePadding()
44 memset (pData + i * iStride + iWidth, 0, iStride - iWidth); in ClearEndOfLinePadding()
60 …* pSrcY, uint8_t* pSrcU, uint8_t* pSrcV, int32_t iSrcStrideY, int32_t iSrcStrideUV, int32_t iWidth,
145 int32_t CWelsPreProcess::WelsPreprocessReset (sWelsEncCtx* pCtx, int32_t iWidth, int32_t iHeight) { in WelsPreprocessReset() argument
151 pSvcParam->SUsedPicRect.iWidth = iWidth; in WelsPreprocessReset()
153 if ((iWidth < 16) || ((iHeight < 16))) { in WelsPreprocessReset()
154 …->sLogCtx), WELS_LOG_ERROR, "Don't support width(%d) or height(%d) which is less than 16 ", iWidth, in WelsPreprocessReset()
221 int32_t iWidth = ((kpSrcPic->iPicWidth >> 1) << 1); in BuildSpatialPicList() local
228 if (WelsPreprocessReset (pCtx, iWidth, iHeight) != 0) in BuildSpatialPicList()
[all …]

1234