Home
last modified time | relevance | path

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

1234

/third_party/openh264/codec/common/src/
Dmc.cpp51 const uint8_t* kpABCD, int32_t iHeight);
55 int32_t iWidth, int32_t iHeight);
101 int32_t iHeight) { in McCopyWidthEq2_c() argument
103 for (i = 0; i < iHeight; i++) { // iWidth == 2 only for chroma in McCopyWidthEq2_c()
111 int32_t iHeight) { in McCopyWidthEq4_c() argument
113 for (i = 0; i < iHeight; i++) { in McCopyWidthEq4_c()
121 int32_t iHeight) { in McCopyWidthEq8_c() argument
123 for (i = 0; i < iHeight; i++) { in McCopyWidthEq8_c()
131 int32_t iHeight) { in McCopyWidthEq16_c() argument
133 for (i = 0; i < iHeight; i++) { in McCopyWidthEq16_c()
[all …]
/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);
68 …neon (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, int32_t iHeight);
70 …neon (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, int32_t iHeight);
72 …neon (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, int32_t iHeight);
75 int32_t* pWeights, int32_t iHeight);
78 int32_t* pWeights, int32_t iHeight);
80 …idthEq16_neon (uint8_t* pDst, int32_t iDstStride, uint8_t* pSrcA, uint8_t* pSrcB, int32_t iHeight);
81 …WidthEq8_neon (uint8_t* pDst, int32_t iDstStride, uint8_t* pSrcA, uint8_t* pSrcB, int32_t iHeight);
82 …WidthEq4_neon (uint8_t* pDst, int32_t iDstStride, uint8_t* pSrcA, uint8_t* pSrcB, int32_t iHeight);
[all …]
/third_party/openh264/codec/common/loongarch/
Dmc_chroma_lsx.c48 uint8_t *pDst, int iDstStride, int iHeight) { in McCopyWidthEq4_lsx() argument
52 iHeight = iHeight >> 1; in McCopyWidthEq4_lsx()
53 for (int i = 0; i < iHeight; i++) { in McCopyWidthEq4_lsx()
63 uint8_t *pDst, int iDstStride, int iHeight) { in McCopyWidthEq8_lsx() argument
67 iHeight = iHeight >> 1; in McCopyWidthEq8_lsx()
68 for (int i = 0; i < iHeight; i++) { in McCopyWidthEq8_lsx()
78 uint8_t *pDst, int iDstStride, int iHeight) { in McCopyWidthEq16_lsx() argument
82 iHeight = iHeight >> 1; in McCopyWidthEq16_lsx()
83 for (int i = 0; i < iHeight; i++) { in McCopyWidthEq16_lsx()
93 int32_t iDstStride, const uint8_t *pABCD, int32_t iHeight) { in McChromaWidthEq4_lsx() argument
[all …]
/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]);
155 || m_nHeight != pInfo->UsrData.sSystemBuffer.iHeight) { in Render()
157 m_nHeight = pInfo->UsrData.sSystemBuffer.iHeight; in Render()
164 … pInfo->UsrData.sSystemBuffer.iHeight, pInfo->UsrData.sSystemBuffer.iStride); in Render()
180 int iHeight; in Dump() local
183 iHeight = pInfo->UsrData.sSystemBuffer.iHeight; in Dump()
188 Write2File (pFp, (unsigned char**)pDst, iStride, iWidth, iHeight); in Dump()
198 int iHeight = 0; in InitResource() local
233 iHeight = pInfo->UsrData.sSystemBuffer.iHeight; in InitResource()
[all …]
Dh264dec.cpp179 …unsigned long long& uiTimeStamp, int32_t& iWidth, int32_t& iHeight, int32_t& iLastWidth, int32_t i… in FlushFrames() argument
204 iHeight = sDstBufInfo.UsrData.sSystemBuffer.iHeight; in FlushFrames()
206 if (iWidth != iLastWidth && iHeight != iLastHeight) { in FlushFrames()
209 fwrite (&iHeight, sizeof (iHeight), 1, pOptionFile); in FlushFrames()
211 iLastHeight = iHeight; in FlushFrames()
219 … int32_t& iWidth, int32_t& iHeight, const char* pOptionFileName, const char* pLengthFileName, in H264DecodeInstance() argument
340 …es (pDecoder, iTotal, pYuvFile, pOptionFile, iFrameCount, uiTimeStamp, iWidth, iHeight, iLastWidth, in H264DecodeInstance()
405 iHeight = sDstBufInfo.UsrData.sSystemBuffer.iHeight; in H264DecodeInstance()
408 if (iWidth != iLastWidth && iHeight != iLastHeight) { in H264DecodeInstance()
411 fwrite (&iHeight, sizeof (iHeight), 1, pOptionFile); in H264DecodeInstance()
[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
42 for (uint32_t j = 0; j < iHeight; j++) { 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
50 for (uint32_t j = 0; j < iHeight; j++) { 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
59 for (uint32_t i = 0; i < iHeight; i++) { in ImageRotate270D_c()
61 …pDst[ ((iWidth - 1 - j)*iHeight + i)*uiBytesPerPixel + n] = pSrc[ (iWidth * i + j) * uiBytesPerPix… in ImageRotate270D_c()
Dimagerotate.cpp55 uint32_t iHeight, uint8_t* pDst) { 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 …void (ImageRotateFunc) (uint8_t* pSrc, uint32_t uiBytesPerPixel, uint32_t iWidth, uint32_t iHeight,
75 …eRotate (int32_t iType, uint8_t* pSrc, uint32_t uiBytesPerPixel, uint32_t iWidth, uint32_t iHeight,
/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()
185 int16_t iHeight = 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.cpp37 int32_t iHeight) { in MCCopyAnchor() argument
38 for (int32_t y = 0; y < iHeight; y++) { in MCCopyAnchor()
46 … int32_t iStride, int32_t iWidth, int32_t iHeight, int16_t* pBuf) { in MCHalfPelFilterAnchor() argument
47 for (int32_t y = 0; y < iHeight; y++) { in MCHalfPelFilterAnchor()
67 uint8_t* pSrc2, int32_t iSrc2Stride, int32_t iWidth, int32_t iHeight) { in PixelAvgAnchor() argument
68 for (int32_t y = 0; y < iHeight; y++) { in PixelAvgAnchor()
78 int32_t iMvX, int32_t iMvY, int32_t iWidth, int32_t iHeight) { in MCLumaAnchor() argument
86 PixelAvgAnchor (pDst, iDstStride, pSrc1, iSrcStride, pSrc2, iSrcStride, iWidth, iHeight); in MCLumaAnchor()
88 MCCopyAnchor (pSrc1, iSrcStride, pDst, iDstStride, iWidth, iHeight); in MCLumaAnchor()
93 int32_t iMvX, int32_t iMvY, int32_t iWidth, int32_t iHeight) { in MCChromaAnchor() argument
[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) {
34 int32_t iStartPosY = rand() % (SRC_FRAME_HEIGHT - iHeight);
38 for (int j = 0; j < iHeight; j++) {
48 void RandomPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride)… argument
50 for (int32_t j = 0; j < iHeight; j++) {
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
109 for (i = 0; i < iHeight; i++) { in Write2File()
114 iHeight = iHeight / 2; in Write2File()
117 for (i = 0; i < iHeight; i++) { in Write2File()
123 for (i = 0; i < iHeight; i++) { in Write2File()
133 int iHeight = pInfo->UsrData.sSystemBuffer.iHeight; in Process() local
137 Write2File (pFp, (unsigned char**)pInfo->pDst, iStride, iWidth, iHeight); in Process()
192 bufInfo.UsrData.sSystemBuffer.iHeight, in DecodeFrame()
199 sBufInfo.UsrData.sSystemBuffer.iHeight / 2, in DecodeFrame()
206 sBufInfo.UsrData.sSystemBuffer.iHeight / 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()
26 EncPic.iPicHeight = iHeight; 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()
302 …int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX… in TEST_F() local
307 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &param_); in TEST_F()
352 …int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX… in TEST_F() local
357 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &param_); in TEST_F()
404 int iHeight = GetRandHeight(); in TEST_F() local
[all …]
DBaseDecoderTest.cpp94 bufInfo.UsrData.sSystemBuffer.iHeight, in DecodeFrame()
101 bufInfo.UsrData.sSystemBuffer.iHeight / 2, in DecodeFrame()
108 bufInfo.UsrData.sSystemBuffer.iHeight / 2, in DecodeFrame()
130 bufInfo.UsrData.sSystemBuffer.iHeight, in FlushFrame()
137 bufInfo.UsrData.sSystemBuffer.iHeight / 2, in FlushFrame()
144 bufInfo.UsrData.sSystemBuffer.iHeight / 2, in FlushFrame()
/third_party/openh264/codec/common/mips/
Dexpand_picture_mmi.c228 mov_line_32x4_mmi(%[iHeight], %[iStride], $f12, $f14) \
229 mov_line_32x4_mmi(%[iHeight], %[iStride], $f12, $f14) \
230 mov_line_32x4_mmi(%[iHeight], %[iStride], $f12, $f14) \
231 mov_line_32x4_mmi(%[iHeight], %[iStride], $f12, $f14) \
232 mov_line_32x4_mmi(%[iHeight], %[iStride], $f12, $f14) \
233 mov_line_32x4_mmi(%[iHeight], %[iStride], $f12, $f14) \
234 mov_line_32x4_mmi(%[iHeight], %[iStride], $f12, $f14) \
235 mov_line_end32x4_mmi(%[iHeight], %[iStride], $f12, $f14) \
382 mov_line_16x4_mmi_aligned(%[iHeight], %[iStride], $f12, $f14) \
383 mov_line_16x4_mmi_aligned(%[iHeight], %[iStride], $f12, $f14) \
[all …]
/third_party/openh264/test/processing/
DProcessUT_ScrollDetection.cpp27 int iHeight = iHeightSets[i]; in TEST() local
29 pSrc = new unsigned char[iHeight * iStride]; in TEST()
31 pRef = new unsigned char[iHeight * iStride]; in TEST()
33 RandomPixelDataGenerator (pRef, iWidth, iHeight, iStride); in TEST()
35 int iMvRange = iHeight / 3; in TEST()
40 for (int j = 0; j < iHeight; j++) { in TEST()
41 if ((j + iScrollMv) >= 0 && (j + iScrollMv) < iHeight) in TEST()
60 sSrcMap.sRect.iRectHeight = sRefMap.sRect.iRectHeight = iHeight; in TEST()
/third_party/openh264/codec/processing/src/scrolldetection/
DScrollDetection.cpp72 int32_t iStartX, iStartY, iWidth, iHeight; in ScrollDetectionWithMask() local
77 iHeight = m_sScrollDetectionParam.sMaskRect.iRectHeight; 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
103 iHeight = kiRegionHeight; in ScrollDetectionWithoutMask()
108 …ScrollDetectionCore (pSrcPixMap, pRefPixMap, iWidth, iHeight, iStartX, iStartY, m_sScrollDetection… in ScrollDetectionWithoutMask()
DScrollDetectionFuncs.cpp70 int32_t SelectTestLine (uint8_t* pY, int32_t iWidth, int32_t iHeight, int32_t iPicHeight, in SelectTestLine() argument
72 const int32_t kiHalfHeight = iHeight >> 1; in SelectTestLine()
110 void ScrollDetectionCore (SPixMap* pSrcPixMap, SPixMap* pRefPixMap, int32_t iWidth, int32_t iHeight, in ScrollDetectionCore() argument
118 …int32_t iMaxHeight = WELS_MIN (iOffsetY + iHeight - 1, iPicHeight - 1) ; //offset_y + height - 1;// in ScrollDetectionCore()
126 iTestPos = SelectTestLine (pYSrc, iWidth, iHeight, iPicHeight, iYStride, iOffsetX, iOffsetY); in ScrollDetectionCore()
DScrollDetectionFuncs.h55 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/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/mesa3d/src/gallium/frontends/wgl/
Dstw_ext_pbuffer.c73 int iHeight, in wglCreatePbufferARB() argument
98 if (iWidth <= 0 || iHeight <= 0) { in wglCreatePbufferARB()
156 if (iHeight > stw_dev->max_2d_length) { in wglCreatePbufferARB()
158 iHeight = stw_dev->max_2d_length; in wglCreatePbufferARB()
199 rect.bottom = rect.top + iHeight; in wglCreatePbufferARB()
238 assert(rect.bottom - rect.top == iHeight); in wglCreatePbufferARB()
/third_party/openh264/codec/processing/src/complexityanalysis/
DComplexityAnalysis.cpp110 int32_t iHeight = pSrcPixMap->sRect.iRectHeight; in GetFrameSadExcludeBackground() local
112 int32_t iMbHeight = iHeight >> 4; in GetFrameSadExcludeBackground()
173 int32_t iHeight = pSrcPixMap->sRect.iRectHeight; in AnalyzeGomComplexityViaSad() local
175 int32_t iMbHeight = iHeight >> 4; in AnalyzeGomComplexityViaSad()
222 int32_t iHeight = pSrcPixMap->sRect.iRectHeight; in AnalyzeGomComplexityViaVar() local
224 int32_t iMbHeight = iHeight >> 4; in AnalyzeGomComplexityViaVar()
352 int32_t iHeight = pSrc->sRect.iRectHeight; in GomComplexityAnalysisIntra() local
354 int32_t iBlockHeight = iHeight >> 4; in GomComplexityAnalysisIntra()
408 int32_t iHeight = pSrc->sRect.iRectHeight; in GomComplexityAnalysisInter() local
410 int32_t iBlockHeight = iHeight >> 4; in GomComplexityAnalysisInter()
[all …]
/third_party/openh264/codec/processing/src/denoise/
Ddenoise.cpp92 void CDenoiser::BilateralDenoiseLuma (uint8_t* pSrcY, int32_t iWidth, int32_t iHeight, int32_t iStr… in BilateralDenoiseLuma() argument
96 for (int32_t h = m_uiSpaceRadius; h < iHeight - m_uiSpaceRadius; h++) { in BilateralDenoiseLuma()
107 void CDenoiser::WaverageDenoiseChroma (uint8_t* pSrcUV, int32_t iWidth, int32_t iHeight, int32_t iS… in WaverageDenoiseChroma() argument
111 for (int32_t h = UV_WINDOWS_RADIUS; h < iHeight - UV_WINDOWS_RADIUS; h++) { in WaverageDenoiseChroma()
/third_party/openh264/codec/processing/src/scenechangedetection/
DSceneChangeDetection.h61 int32_t iHeight; member
163 int32_t iHeight = sLocalParam.iHeight; in operator() local
180 (iBlockPointY + iScrollMvY >= 0) && (iBlockPointY + iScrollMvY <= iHeight - 8)) { in operator()
219 m_sLocalParam.iHeight = pSrcPixMap->sRect.iRectHeight; in Process()
221 m_sLocalParam.iBlock8x8Height = m_sLocalParam.iHeight >> 3; in Process()
/third_party/openh264/codec/api/svc/
Dcodec_api.h374 int& iHeight) = 0;
451 int& iHeight,
506 int* iHeight);
531 int* iHeight,

1234