Home
last modified time | relevance | path

Searched refs:iStride (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/openh264/codec/common/mips/
Dexpand_picture_mmi.c156 mov_line_16x4_mmi_aligned($9, %[iStride], $f0, $f2) \
157 mov_line_16x4_mmi_aligned($9, %[iStride], $f0, $f2) \
158 mov_line_16x4_mmi_aligned($9, %[iStride], $f0, $f2) \
159 mov_line_16x4_mmi_aligned($9, %[iStride], $f0, $f2) \
160 mov_line_16x4_mmi_aligned($9, %[iStride], $f0, $f2) \
161 mov_line_16x4_mmi_aligned($9, %[iStride], $f0, $f2) \
162 mov_line_16x4_mmi_aligned($9, %[iStride], $f0, $f2) \
163 mov_line_end16x4_mmi_aligned($9, %[iStride], $f0, $f2) \
165 mov_line_16x4_mmi_aligned($11, %[iStride], $f4, $f6) \
166 mov_line_16x4_mmi_aligned($11, %[iStride], $f4, $f6) \
[all …]
Ddeblock_mmi.c43 void DeblockLumaLt4V_mmi(uint8_t *pPix, int32_t iStride, int32_t iAlpha, in DeblockLumaLt4V_mmi() argument
527 : [iStride]"r"((int)iStride), [iAlpha]"r"(iAlpha), [iBeta]"r"(iBeta), in DeblockLumaLt4V_mmi()
536 void DeblockLumaTransposeH2V_mmi(uint8_t *pPixY, int32_t iStride, in DeblockLumaTransposeH2V_mmi() argument
606 : [iStride] "r"((int)iStride), [pDst] "r"((unsigned char *)pDst) in DeblockLumaTransposeH2V_mmi()
614 void DeblockLumaTransposeV2H_mmi(uint8_t *pPixY, int32_t iStride, in DeblockLumaTransposeV2H_mmi() argument
683 : [iStride] "r"((int)iStride), [pSrc] "r"((unsigned char *)pSrc) in DeblockLumaTransposeV2H_mmi()
691 void DeblockLumaEq4V_mmi(uint8_t *pPix, int32_t iStride, int32_t iAlpha, in DeblockLumaEq4V_mmi() argument
1491 : [iStride]"r"((int)iStride), [iAlpha]"r"(iAlpha), in DeblockLumaEq4V_mmi()
1500 void DeblockChromaLt4V_mmi(uint8_t *pPixCb, uint8_t *pPixCr, int32_t iStride, in DeblockChromaLt4V_mmi() argument
1744 : [iStride]"r"((int)iStride), [iAlpha]"r"(iAlpha), [iBeta]"r"(iBeta), in DeblockChromaLt4V_mmi()
[all …]
Ddeblock_msa.c45 void DeblockLumaLt4V_msa(uint8_t *pPix, int32_t iStride, int32_t iAlpha, in DeblockLumaLt4V_msa() argument
69 MSA_LD_V4(v16u8, pPix - 3 * iStride, iStride, p2, p1, p0, q0); in DeblockLumaLt4V_msa()
70 MSA_LD_V2(v16u8, pPix + iStride, iStride, q1, q2); in DeblockLumaLt4V_msa()
186 MSA_ST_V4(v16u8, p1, p0, q0, q1, pPix - 2 * iStride, iStride); in DeblockLumaLt4V_msa()
189 void DeblockLumaEq4V_msa(uint8_t *pPix, int32_t iStride, int32_t iAlpha, in DeblockLumaEq4V_msa() argument
206 MSA_LD_V8(v16u8, pPix - 4 * iStride, iStride, p3, p2, p1, p0, in DeblockLumaEq4V_msa()
320 MSA_ST_V4(v16u8, p2, p1, p0, q0, pPix - 3 * iStride, iStride); in DeblockLumaEq4V_msa()
321 MSA_ST_V2(v16u8, q1, q2, pPix + iStride, iStride); in DeblockLumaEq4V_msa()
325 void DeblockLumaLt4H_msa(uint8_t* pPix, int32_t iStride, int32_t iAlpha, in DeblockLumaLt4H_msa() argument
349 MSA_LD_V8(v8i16, pPix - 3, iStride, t0, t1, t2, t3, q1_l, q1_r, q2_l, q2_r); in DeblockLumaLt4H_msa()
[all …]
/third_party/openh264/codec/common/inc/
Ddeblocking_common.h4 void DeblockLumaLt4V_c (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc…
5 void DeblockLumaEq4V_c (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta);
7 void DeblockLumaLt4H_c (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc…
8 void DeblockLumaEq4H_c (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta);
10 void DeblockChromaLt4V_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_…
12 void DeblockChromaEq4V_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_…
14 void DeblockChromaLt4H_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_…
16 void DeblockChromaEq4H_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_…
18 void DeblockChromaLt4V2_c (uint8_t* pPixCbCr, int32_t iStride, int32_t iAlpha, int32_t iBeta,
20 void DeblockChromaEq4V2_c (uint8_t* pPixCbCr, int32_t iStride, int32_t iAlpha, int32_t iBeta);
[all …]
/third_party/openh264/test/common/
DExpandPicture.cpp16 void H264ExpandPictureLumaAnchor_c (uint8_t* pDst, int32_t iStride, int32_t iPicWidth, int32_t iPic… in H264ExpandPictureLumaAnchor_c() argument
18 uint8_t* pDstLastLine = pTmp + (iPicHeight - 1) * iStride; in H264ExpandPictureLumaAnchor_c()
26 const int32_t kStrides = (1 + i) * iStride; in H264ExpandPictureLumaAnchor_c()
47 pTmp += iStride; in H264ExpandPictureLumaAnchor_c()
52 void H264ExpandPictureChromaAnchor_c (uint8_t* pDst, int32_t iStride, int32_t iPicWidth, int32_t iP… in H264ExpandPictureChromaAnchor_c() argument
54 uint8_t* pDstLastLine = pTmp + (iPicHeight - 1) * iStride; in H264ExpandPictureChromaAnchor_c()
62 const int32_t kStrides = (1 + i) * iStride; in H264ExpandPictureChromaAnchor_c()
85 pTmp += iStride; in H264ExpandPictureChromaAnchor_c()
90 bool CompareBuff (uint8_t* pSrc0, uint8_t* pSrc1, int32_t iStride, int32_t iWidth, int32_t iHeight)… in CompareBuff() argument
93 if (pSrc0[i + j * iStride] != pSrc1[i + j * iStride]) { in CompareBuff()
[all …]
/third_party/openh264/codec/decoder/core/src/
Dget_intra_predictor.cpp385 int32_t iStride[8]; in WelsI8x8LumaPredV_c() local
389 for (iStride[0] = 0, i = 1; i < 8; i++) { in WelsI8x8LumaPredV_c()
390 iStride[i] = iStride[i - 1] + kiStride; in WelsI8x8LumaPredV_c()
413 int32_t iStride[8]; in WelsI8x8LumaPredH_c() local
417 for (iStride[0] = 0, i = 1; i < 8; i++) { in WelsI8x8LumaPredH_c()
418 iStride[i] = iStride[i - 1] + kiStride; in WelsI8x8LumaPredH_c()
421 …uiPixelFilterL[0] = bTLAvail ? ((pPred[-1 - kiStride] + (pPred[-1] << 1) + pPred[-1 + iStride[1]] … in WelsI8x8LumaPredH_c()
422 pPred[-1] * 3 + pPred[-1 + iStride[1]] + 2) >> 2); in WelsI8x8LumaPredH_c()
424 …uiPixelFilterL[i] = ((pPred[-1 + iStride[i - 1]] + (pPred[-1 + iStride[i]] << 1) + pPred[-1 + iStr… in WelsI8x8LumaPredH_c()
427 uiPixelFilterL[7] = ((pPred[-1 + iStride[6]] + pPred[-1 + iStride[7]] * 3 + 2) >> 2); in WelsI8x8LumaPredH_c()
[all …]
/third_party/openh264/codec/processing/src/downsample/
Ddownsample.cpp161 DownsampleHalfAverage ((uint8_t*)pDstPixMap->pPixel[0], pDstPixMap->iStride[0], in Process()
162 (uint8_t*)pSrcPixMap->pPixel[0], pSrcPixMap->iStride[0], iSrcWidthY, iSrcHeightY); in Process()
163 DownsampleHalfAverage ((uint8_t*)pDstPixMap->pPixel[1], pDstPixMap->iStride[1], in Process()
164 (uint8_t*)pSrcPixMap->pPixel[1], pSrcPixMap->iStride[1], iSrcWidthUV, iSrcHeightUV); in Process()
165 DownsampleHalfAverage ((uint8_t*)pDstPixMap->pPixel[2], pDstPixMap->iStride[2], in Process()
166 (uint8_t*)pSrcPixMap->pPixel[2], pSrcPixMap->iStride[2], iSrcWidthUV, iSrcHeightUV); in Process()
169 m_pfDownsample.pfQuarterDownsampler ((uint8_t*)pDstPixMap->pPixel[0], pDstPixMap->iStride[0], in Process()
170 … (uint8_t*)pSrcPixMap->pPixel[0], pSrcPixMap->iStride[0], iSrcWidthY, iSrcHeightY); in Process()
172 m_pfDownsample.pfQuarterDownsampler ((uint8_t*)pDstPixMap->pPixel[1], pDstPixMap->iStride[1], in Process()
173 … (uint8_t*)pSrcPixMap->pPixel[1], pSrcPixMap->iStride[1], iSrcWidthUV, iSrcHeightUV); in Process()
[all …]
/third_party/openh264/codec/encoder/core/inc/
Ddecode_mb_aux.h54 void WelsIDctT4Rec_c (uint8_t* pRec, int32_t iStride, uint8_t* pPred, int32_t iPredStride, int16_t*…
55 void WelsIDctFourT4Rec_c (uint8_t* pRec, int32_t iStride, uint8_t* pPred, int32_t iPredStride, int1…
56 void WelsIDctRecI16x16Dc_c (uint8_t* pRec, int32_t iStride, uint8_t* pPred, int32_t iPredStride, in…
67 void WelsIDctT4Rec_mmx (uint8_t* pRec, int32_t iStride, uint8_t* pPrediction, int32_t iPredStride, …
68 void WelsIDctT4Rec_sse2 (uint8_t* pRec, int32_t iStride, uint8_t* pPrediction, int32_t iPredStride,…
69 void WelsIDctFourT4Rec_sse2 (uint8_t* pRec, int32_t iStride, uint8_t* pPrediction, int32_t iPredStr…
70 void WelsIDctRecI16x16Dc_sse2 (uint8_t* pRec, int32_t iStride, uint8_t* pPrediction, int32_t iPredS…
72 void WelsIDctT4Rec_avx2 (uint8_t* pRec, int32_t iStride, uint8_t* pPrediction, int32_t iPredStride,…
73 void WelsIDctFourT4Rec_avx2 (uint8_t* pRec, int32_t iStride, uint8_t* pPrediction, int32_t iPredStr…
81 void WelsIDctT4Rec_neon (uint8_t* pRec, int32_t iStride, uint8_t* pPrediction, int32_t iPredStride,…
[all …]
/third_party/openh264/codec/processing/src/denoise/
Ddenoise_filter.cpp43 void BilateralLumaFilter8_c (uint8_t* pSample, int32_t iStride) { in BilateralLumaFilter8_c() argument
46 uint8_t* pCurLine = pSample - iStride - DENOISE_GRAY_RADIUS; in BilateralLumaFilter8_c()
55 pCurLine = pSample - iStride - DENOISE_GRAY_RADIUS; in BilateralLumaFilter8_c()
67 pCurLine += iStride; in BilateralLumaFilter8_c()
89 void WaverageChromaFilter8_c (uint8_t* pSample, int32_t iStride) { in WaverageChromaFilter8_c() argument
91 uint8_t* pStartPixels = pSample - UV_WINDOWS_RADIUS * iStride - UV_WINDOWS_RADIUS; in WaverageChromaFilter8_c()
93 uint8_t* pCurLine2 = pCurLine1 + iStride; in WaverageChromaFilter8_c()
94 uint8_t* pCurLine3 = pCurLine2 + iStride; in WaverageChromaFilter8_c()
95 uint8_t* pCurLine4 = pCurLine3 + iStride; in WaverageChromaFilter8_c()
96 uint8_t* pCurLine5 = pCurLine4 + iStride; in WaverageChromaFilter8_c()
[all …]
Ddenoise.cpp81 BilateralDenoiseLuma (pSrcY, iWidthY, iHeightY, pSrc->iStride[0]); in Process()
84 WaverageDenoiseChroma (pSrcU, iWidthUV, iHeightUV, pSrc->iStride[1]); in Process()
87 WaverageDenoiseChroma (pSrcV, iWidthUV, iHeightUV, pSrc->iStride[2]); in Process()
92 …Denoiser::BilateralDenoiseLuma (uint8_t* pSrcY, int32_t iWidth, int32_t iHeight, int32_t iStride) { in BilateralDenoiseLuma() argument
95 pSrcY = pSrcY + m_uiSpaceRadius * iStride; in BilateralDenoiseLuma()
98 m_pfDenoise.pfBilateralLumaFilter8 (pSrcY + w, iStride); in BilateralDenoiseLuma()
101 Gauss3x3Filter (pSrcY + w, iStride); in BilateralDenoiseLuma()
103 pSrcY += iStride; in BilateralDenoiseLuma()
107 …noiser::WaverageDenoiseChroma (uint8_t* pSrcUV, int32_t iWidth, int32_t iHeight, int32_t iStride) { in WaverageDenoiseChroma() argument
110 pSrcUV = pSrcUV + UV_WINDOWS_RADIUS * iStride; in WaverageDenoiseChroma()
[all …]
/third_party/openh264/codec/common/src/
Ddeblocking_common.cpp81 void DeblockLumaLt4V_c (uint8_t* pPix, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* tc) { in DeblockLumaLt4V_c() argument
82 DeblockLumaLt4_c (pPix, iStride, 1, iAlpha, iBeta, tc); in DeblockLumaLt4V_c()
84 void DeblockLumaLt4H_c (uint8_t* pPix, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* tc) { in DeblockLumaLt4H_c() argument
85 DeblockLumaLt4_c (pPix, 1, iStride, iAlpha, iBeta, tc); in DeblockLumaLt4H_c()
87 void DeblockLumaEq4V_c (uint8_t* pPix, int32_t iStride, int32_t iAlpha, int32_t iBeta) { in DeblockLumaEq4V_c() argument
88 DeblockLumaEq4_c (pPix, iStride, 1, iAlpha, iBeta); in DeblockLumaEq4V_c()
90 void DeblockLumaEq4H_c (uint8_t* pPix, int32_t iStride, int32_t iAlpha, int32_t iBeta) { in DeblockLumaEq4H_c() argument
91 DeblockLumaEq4_c (pPix, 1, iStride, iAlpha, iBeta); in DeblockLumaEq4H_c()
169 void DeblockChromaLt4V_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_… in DeblockChromaLt4V_c() argument
171 DeblockChromaLt4_c (pPixCb, pPixCr, iStride, 1, iAlpha, iBeta, tc); in DeblockChromaLt4V_c()
[all …]
/third_party/openh264/test/processing/
DProcessUT_ScrollDetection.cpp23 int iStride = 0; in TEST() local
28 iStride = iWidth + 16; in TEST()
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()
43 memcpy (pSrcTmp , &pRefTmp[ (j + iScrollMv)*iStride], iWidth * sizeof (unsigned char)); in TEST()
49 pSrcTmp += iStride; in TEST()
58 sSrcMap.iStride[0] = sRefMap.iStride[0] = iStride; in TEST()
/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]);
164 … pInfo->UsrData.sSystemBuffer.iHeight, pInfo->UsrData.sSystemBuffer.iStride); in Render()
178 int iStride[2]; in Dump() local
184 iStride[0] = pInfo->UsrData.sSystemBuffer.iStride[0]; in Dump()
185 iStride[1] = pInfo->UsrData.sSystemBuffer.iStride[1]; in Dump()
188 Write2File (pFp, (unsigned char**)pDst, iStride, iWidth, iHeight); in Dump()
346 … pInfo->UsrData.sSystemBuffer.iHeight, pInfo->UsrData.sSystemBuffer.iStride); in Render()
360 int iStride[2]; in Dump() local
366 iStride[0] = pInfo->UsrData.sSystemBuffer.iStride[0]; in Dump()
[all …]
/third_party/openh264/test/api/
DBaseThreadDecoderTest.cpp104 static void Write2File (FILE* pFp, unsigned char* pData[3], int iStride[2], int iWidth, int iHeight… in Write2File()
111 pPtr += iStride[0]; in Write2File()
119 pPtr += iStride[1]; in Write2File()
125 pPtr += iStride[1]; in Write2File()
131 int iStride[2]; in Process() local
134 iStride[0] = pInfo->UsrData.sSystemBuffer.iStride[0]; in Process()
135 iStride[1] = pInfo->UsrData.sSystemBuffer.iStride[1]; in Process()
137 Write2File (pFp, (unsigned char**)pInfo->pDst, iStride, iWidth, iHeight); in Process()
193 bufInfo.UsrData.sSystemBuffer.iStride[0] in DecodeFrame()
200 sBufInfo.UsrData.sSystemBuffer.iStride[1] in DecodeFrame()
[all …]
DDataGenerator.cpp9 bool YUVPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride) { argument
40 pLocalPointer += iStride;
48 void RandomPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride)… argument
54 pLocalPointer += iStride;
59 …RandomResidueDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride) { argument
62 void RandomCoeffDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride argument
DBaseDecoderTest.cpp95 bufInfo.UsrData.sSystemBuffer.iStride[0] in DecodeFrame()
102 bufInfo.UsrData.sSystemBuffer.iStride[1] in DecodeFrame()
109 bufInfo.UsrData.sSystemBuffer.iStride[1] in DecodeFrame()
131 bufInfo.UsrData.sSystemBuffer.iStride[0] in FlushFrame()
138 bufInfo.UsrData.sSystemBuffer.iStride[1] in FlushFrame()
145 bufInfo.UsrData.sSystemBuffer.iStride[1] in FlushFrame()
/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 … RandomResidueDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride);
12 void RandomCoeffDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride
/third_party/openh264/codec/encoder/core/src/
Dencoder.cpp92 pSrcPic->iStride[0] = kiWidth; in InitPic()
93 pSrcPic->iStride[2] = pSrcPic->iStride[1] = kiWidth >> 1; in InitPic()
94 pSrcPic->iStride[3] = 0; in InitPic()
103 pSrcPic->iStride[0] = CALC_BI_STRIDE (kiWidth, 16); in InitPic()
104 pSrcPic->iStride[3] = pSrcPic->iStride[2] = pSrcPic->iStride[1] = 0; in InitPic()
112 pSrcPic->iStride[0] = CALC_BI_STRIDE (kiWidth, 24); in InitPic()
113 pSrcPic->iStride[3] = pSrcPic->iStride[2] = pSrcPic->iStride[1] = 0; in InitPic()
127 pSrcPic->iStride[0] = kiWidth << 2; in InitPic()
128 pSrcPic->iStride[3] = pSrcPic->iStride[2] = pSrcPic->iStride[1] = 0; in InitPic()
Ddecode_mb_aux.cpp164 void WelsIDctT4Rec_c (uint8_t* pRec, int32_t iStride, uint8_t* pPred, int32_t iPredStride, int16_t*… in WelsIDctT4Rec_c() argument
168 int32_t iDstStridex2 = iStride << 1; in WelsIDctT4Rec_c()
169 int32_t iDstStridex3 = iStride + iDstStridex2; in WelsIDctT4Rec_c()
193 …pRec[iStride + i ] = WelsClip1 (pPred[iPredStride + i ] + ((kiVerDelL + kiVerDelR + 32) >> 6)… in WelsIDctT4Rec_c()
199 void WelsIDctFourT4Rec_c (uint8_t* pRec, int32_t iStride, uint8_t* pPred, int32_t iPredStride, int1… in WelsIDctFourT4Rec_c() argument
200 int32_t iDstStridex4 = iStride << 2; in WelsIDctFourT4Rec_c()
202 WelsIDctT4Rec_c (pRec, iStride, pPred, iPredStride, pDct); in WelsIDctFourT4Rec_c()
203 …WelsIDctT4Rec_c (&pRec[4], iStride, &pPred[4], iPredStride, pDct + … in WelsIDctFourT4Rec_c()
204 …WelsIDctT4Rec_c (&pRec[iDstStridex4 ], iStride, &pPred[iPredStridex4 ], iPredStride, pDct + … in WelsIDctFourT4Rec_c()
205 …WelsIDctT4Rec_c (&pRec[iDstStridex4 + 4], iStride, &pPred[iPredStridex4 + 4], iPredStride, pDct + … in WelsIDctFourT4Rec_c()
[all …]
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()
584 sSrcPixMap.iStride[0] = pSrc->iLineSize[0]; in BilateralDenoising()
585 sSrcPixMap.iStride[1] = pSrc->iLineSize[1]; in BilateralDenoising()
586 sSrcPixMap.iStride[2] = pSrc->iLineSize[2]; in BilateralDenoising()
601 sSrcPixMap.iStride[0] = pCurPicture->iLineSize[0]; in DetectSceneChange()
608 sRefPixMap.iStride[0] = pRefPicture->iLineSize[0]; in DetectSceneChange()
638 sSrcPixMap.iStride[0] = pSrc->iLineSize[0]; in DownsamplePadding()
639 sSrcPixMap.iStride[1] = pSrc->iLineSize[1]; in DownsamplePadding()
[all …]
/third_party/openh264/codec/processing/src/backgrounddetection/
DBackgroundDetection.cpp77 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()
189 …BackgroundDetection::CalculateAsdChromaEdge (uint8_t* pOriRef, uint8_t* pOriCur, int32_t iStride) { in CalculateAsdChromaEdge() argument
194 pOriRef += iStride; in CalculateAsdChromaEdge()
195 pOriCur += iStride; in CalculateAsdChromaEdge()
237 int32_t iStride[4] = {iPicStrideUV, iPicStrideUV, 1, 1}; in ForegroundDilation23Chroma() local
244 if (CalculateAsdChromaEdge (pRefC, pCurC, iStride[i]) > BGD_THD_ASD_UV) { in ForegroundDilation23Chroma()
254 if (CalculateAsdChromaEdge (pRefC, pCurC, iStride[i]) > BGD_THD_ASD_UV) { in ForegroundDilation23Chroma()
265 int32_t iPicStrideUV = pBgdParam->iStride[1]; in ForegroundDilation()
[all …]
/third_party/openh264/test/decoder/
DDecUT_IdctResAddPred.cpp57 void IdctFourResAddPred_ref (uint8_t* pPred, int32_t iStride, int16_t* pRs) { in IdctFourResAddPred_ref() argument
58 IdctResAddPred_ref (pPred + 0 * iStride + 0, iStride, pRs + 0 * 16); in IdctFourResAddPred_ref()
59 IdctResAddPred_ref (pPred + 0 * iStride + 4, iStride, pRs + 1 * 16); in IdctFourResAddPred_ref()
60 IdctResAddPred_ref (pPred + 4 * iStride + 0, iStride, pRs + 2 * 16); in IdctFourResAddPred_ref()
61 IdctResAddPred_ref (pPred + 4 * iStride + 4, iStride, pRs + 3 * 16); in IdctFourResAddPred_ref()
DDecUT_ErrorConcealment.cpp201 int32_t iStride; in ComparePictureDataI420() local
206 iStride = kiStride; in ComparePictureDataI420()
210 bSame = (memcmp (pAncData, pCompData, iStride * sizeof (uint8_t)) == 0); in ComparePictureDataI420()
211 pAncData += iStride; in ComparePictureDataI420()
212 pCompData += iStride; in ComparePictureDataI420()
216 iStride >>= 1; in ComparePictureDataI420()
219 bSame = (memcmp (pAncData, pCompData, iStride * sizeof (uint8_t)) == 0); in ComparePictureDataI420()
220 pAncData += iStride; in ComparePictureDataI420()
221 pCompData += iStride; in ComparePictureDataI420()
225 bSame = (memcmp (pAncData, pCompData, iStride * sizeof (uint8_t)) == 0); in ComparePictureDataI420()
[all …]
/third_party/openh264/codec/encoder/core/mips/
Ddct_mmi.c219 void WelsIDctT4Rec_mmi(uint8_t* pRec, int32_t iStride, uint8_t* pPred, in WelsIDctT4Rec_mmi() argument
259 : [iStride]"r"((int)iStride), [iPredStride]"r"((int)iPredStride), in WelsIDctT4Rec_mmi()
266 void WelsIDctFourT4Rec_mmi(uint8_t* pRec, int32_t iStride, uint8_t* pPred, in WelsIDctFourT4Rec_mmi() argument
332 : [iStride]"r"((int)iStride), [iPredStride]"r"((int)iPredStride) in WelsIDctFourT4Rec_mmi()
339 void WelsIDctRecI16x16Dc_mmi(uint8_t* pRec, int32_t iStride, uint8_t* pPred, in WelsIDctRecI16x16Dc_mmi() argument
356 %[pPred], %[iStride], %[iPredStride]) in WelsIDctRecI16x16Dc_mmi()
361 %[pPred], %[iStride], %[iPredStride]) in WelsIDctRecI16x16Dc_mmi()
366 %[pPred], %[iStride], %[iPredStride]) in WelsIDctRecI16x16Dc_mmi()
371 %[pPred], %[iStride], %[iPredStride]) in WelsIDctRecI16x16Dc_mmi()
377 %[pPred], %[iStride], %[iPredStride]) in WelsIDctRecI16x16Dc_mmi()
[all …]
/third_party/openh264/test/encoder/
DEncUT_MotionCompensation.cpp31iStride) ((pPixBuff)[x-2*iStride] + (pPixBuff)[x+3*iStride] - 5*((pPixBuff)[x-iStride] + (pPixBuff… argument
46 … int32_t iStride, int32_t iWidth, int32_t iHeight, int16_t* pBuf) { in MCHalfPelFilterAnchor() argument
51 int32_t v = FILTER6TAP (pSrc, x, iStride); in MCHalfPelFilterAnchor()
58 pDstH += iStride; in MCHalfPelFilterAnchor()
59 pDstV += iStride; in MCHalfPelFilterAnchor()
60 pDstHV += iStride; in MCHalfPelFilterAnchor()
61 pSrc += iStride; in MCHalfPelFilterAnchor()

1234