/third_party/openh264/codec/common/inc/ |
D | deblocking_common.h | 4 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/codec/common/src/ |
D | deblocking_common.cpp | 5 void DeblockLumaLt4_c (uint8_t* pPix, int32_t iStrideX, int32_t iStrideY, int32_t iAlpha, int32_t i… in DeblockLumaLt4_c() argument 16 bool bDetaP0Q0 = WELS_ABS (p0 - q0) < iAlpha; in DeblockLumaLt4_c() 39 void DeblockLumaEq4_c (uint8_t* pPix, int32_t iStrideX, int32_t iStrideY, int32_t iAlpha, int32_t i… in DeblockLumaEq4_c() argument 53 if ((iDetaP0Q0 < iAlpha) && bDetaP1P0 && bDetaQ1Q0) { in DeblockLumaEq4_c() 54 if (iDetaP0Q0 < ((iAlpha >> 2) + 2)) { in DeblockLumaEq4_c() 81 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 [all …]
|
/third_party/openh264/codec/common/mips/ |
D | deblock_mmi.c | 43 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() 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() 1501 int32_t iAlpha, int32_t iBeta, int8_t *pTC) { in DeblockChromaLt4V_mmi() argument 1744 : [iStride]"r"((int)iStride), [iAlpha]"r"(iAlpha), [iBeta]"r"(iBeta), in DeblockChromaLt4V_mmi() 1754 int32_t iAlpha, int32_t iBeta) { in DeblockChromaEq4V_mmi() argument 1952 : [iStride]"r"((int)iStride), [iAlpha]"r"(iAlpha), in DeblockChromaEq4V_mmi() 1962 int32_t iAlpha, int32_t iBeta) { in DeblockChromaEq4H_mmi() argument 2336 : [iStride]"r"((int)iStride), [iAlpha]"r"(iAlpha), in DeblockChromaEq4H_mmi() [all …]
|
D | deblock_msa.c | 45 void DeblockLumaLt4V_msa(uint8_t *pPix, int32_t iStride, int32_t iAlpha, in DeblockLumaLt4V_msa() argument 71 alpha = (v16u8)__msa_fill_b(iAlpha); in DeblockLumaLt4V_msa() 189 void DeblockLumaEq4V_msa(uint8_t *pPix, int32_t iStride, int32_t iAlpha, in DeblockLumaEq4V_msa() argument 209 alpha = (v16u8)__msa_fill_b(iAlpha); in DeblockLumaEq4V_msa() 325 void DeblockLumaLt4H_msa(uint8_t* pPix, int32_t iStride, int32_t iAlpha, in DeblockLumaLt4H_msa() argument 357 alpha = (v16u8)__msa_fill_b(iAlpha); in DeblockLumaLt4H_msa() 478 void DeblockLumaEq4H_msa(uint8_t *pPix, int32_t iStride, int32_t iAlpha, in DeblockLumaEq4H_msa() argument 504 alpha = (v16u8)__msa_fill_b(iAlpha); in DeblockLumaEq4H_msa() 625 int32_t iAlpha, int32_t iBeta, int8_t* pTc) { in DeblockChromaLt4V_msa() argument 641 alpha = (v16u8)__msa_fill_b(iAlpha); in DeblockChromaLt4V_msa() [all …]
|
/third_party/openh264/codec/encoder/core/src/ |
D | deblocking.cpp | 64 #define GET_ALPHA_BETA_FROM_QP(QP, iAlphaOffset, iBetaOffset, iIdexA, iAlpha, iBeta) \ argument 68 iAlpha = g_kuiAlphaTable(iIdexA);\ 235 int32_t iAlpha; in FilteringEdgeLumaH() local 239 …ROM_QP (pFilter->uiLumaQP, pFilter->iSliceAlphaC0Offset, pFilter->iSliceBetaOffset, iIdexA, iAlpha, in FilteringEdgeLumaH() 242 if (iAlpha | iBeta) { in FilteringEdgeLumaH() 244 pfDeblocking->pfLumaDeblockingLT4Ver (pPix, iStride, iAlpha, iBeta, iTc); in FilteringEdgeLumaH() 251 int32_t iAlpha; in FilteringEdgeLumaV() local 255 …ROM_QP (pFilter->uiLumaQP, pFilter->iSliceAlphaC0Offset, pFilter->iSliceBetaOffset, iIdexA, iAlpha, in FilteringEdgeLumaV() 258 if (iAlpha | iBeta) { in FilteringEdgeLumaV() 260 pfDeblocking->pfLumaDeblockingLT4Hor (pPix, iStride, iAlpha, iBeta, iTc); in FilteringEdgeLumaV() [all …]
|
D | ratectl.cpp | 1059 int32_t iAlpha = WELS_DIV_ROUND (INT_MULTIPLY, (1 + pWelsSvcRc->iIdrNum)); in RcUpdateIntraComplexity() local 1060 if (iAlpha < (INT_MULTIPLY / 4)) iAlpha = INT_MULTIPLY / 4; in RcUpdateIntraComplexity() 1104 int32_t iAlpha = WELS_DIV_ROUND (INT_MULTIPLY, (1 + pTOverRc->iPFrameNum)); in RcUpdateFrameComplexity() local 1105 if (iAlpha < SMOOTH_FACTOR_MIN_VALUE) in RcUpdateFrameComplexity() 1106 iAlpha = SMOOTH_FACTOR_MIN_VALUE; in RcUpdateFrameComplexity()
|
/third_party/openh264/test/decoder/ |
D | DecUT_DeblockCommon.cpp | 9 extern void DeblockLumaLt4_c (uint8_t* pPix, int32_t iStrideX, int32_t iStrideY, int32_t iAlpha, in… 11 extern void DeblockLumaEq4_c (uint8_t* pPix, int32_t iStrideX, int32_t iStrideY, int32_t iAlpha, in… 12 …kChromaLt4_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStrideX, int32_t iStrideY, int32_t iAlpha, 14 …kChromaEq4_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStrideX, int32_t iStrideY, int32_t iAlpha, 24 iAlpha = 255; \ 32 iAlpha = 4; \ 40 iAlpha = rand() % 256; \ 56 void UT_DeblockingFuncLumaLT4Func (uint8_t* iSampleY, int32_t iStride, int32_t iAlpha, int32_t iBet… in UT_DeblockingFuncLumaLT4Func() argument 57 if (iAlpha > 0 || iBeta > 0) { in UT_DeblockingFuncLumaLT4Func() 63 void UT_DeblockingFuncLumaEQ4Func (uint8_t* iSampleY, int32_t iStride, int32_t iAlpha, int32_t iBet… in UT_DeblockingFuncLumaEQ4Func() argument [all …]
|
D | DecUT_Deblock.cpp | 8 void func ## _wrap (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc) { \ 9 func (pPixY, iStride, iAlpha, iBeta); \ 12 void func ## _wrap (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBet… 13 func (pPixCb, pPixCr, iStride, iAlpha, iBeta); \ 26 int iAlpha = rand() & 255; \ 32 iAlpha = iBeta = 255; \ 40 func (pTestStart, 16, iAlpha, iBeta, iTc); \ 41 ref (pRefStart, 16, iAlpha, iBeta, iTc); \ 63 int iAlpha = rand() & 255; \ 69 iAlpha = iBeta = 255; \ [all …]
|
/third_party/openh264/codec/decoder/core/src/ |
D | deblocking.cpp | 137 #define GET_ALPHA_BETA_FROM_QP(iQp, iAlphaOffset, iBetaOffset, iIndex, iAlpha, iBeta) \ argument 140 iAlpha = g_kuiAlphaTable(iIndex);\ 690 int32_t iAlpha; in FilteringEdgeLumaH() local 694 …ROM_QP (pFilter->iLumaQP, pFilter->iSliceAlphaC0Offset, pFilter->iSliceBetaOffset, iIndexA, iAlpha, in FilteringEdgeLumaH() 697 if (iAlpha | iBeta) { in FilteringEdgeLumaH() 699 pFilter->pLoopf->pfLumaDeblockingLT4Ver (pPix, iStride, iAlpha, iBeta, tc); in FilteringEdgeLumaH() 707 int32_t iAlpha; in FilteringEdgeLumaV() local 711 …ROM_QP (pFilter->iLumaQP, pFilter->iSliceAlphaC0Offset, pFilter->iSliceBetaOffset, iIndexA, iAlpha, in FilteringEdgeLumaV() 714 if (iAlpha | iBeta) { in FilteringEdgeLumaV() 716 pFilter->pLoopf->pfLumaDeblockingLT4Hor (pPix, iStride, iAlpha, iBeta, tc); in FilteringEdgeLumaV() [all …]
|
/third_party/openh264/codec/common/x86/ |
D | deblock.asm | 177 ; void DeblockLumaLt4V_ssse3(uint8_t * pPix, int32_t iStride, int32_t iAlpha, 192 pshufb xmm1, xmm3 ; iAlpha ^ 0x7f 204 SSE2_CmpltUB xmm6, xmm1, [pic(WELS_DB127_16)] ; bDeltaP0Q0 = |p0 - q0| < iAlpha 322 ; void DeblockLumaEq4V_ssse3(uint8_t * pPix, int32_t iStride, int32_t iAlpha, 340 pshufb xmm1, xmm4 ; iAlpha ^ 0x7f 342 pshufb xmm3, xmm4 ; (iAlpha >> 2) + 1 353 SSE2_CmpgeUB xmm3, xmm6 ; |p0 - q0| < (iAlpha >> 2) + 2 354 SSE2_CmpltUB xmm6, xmm1, [pic(WELS_DB127_16)] ; bDeltaP0Q0 = |p0 - q0| < iAlpha 365 pand xmm7, xmm3 ; &= |p0 - q0| < (iAlpha >> 2) + 2 371 pand xmm5, xmm3 ; &= |p0 - q0| < (iAlpha >> 2) + 2 [all …]
|
/third_party/openh264/codec/decoder/core/inc/ |
D | decoder_context.h | 181 typedef void (*PLumaDeblockingLT4Func) (uint8_t* iSampleY, int32_t iStride, int32_t iAlpha, int32_t… 183 typedef void (*PLumaDeblockingEQ4Func) (uint8_t* iSampleY, int32_t iStride, int32_t iAlpha, int32_t… 184 …PChromaDeblockingLT4Func) (uint8_t* iSampleCb, uint8_t* iSampleCr, int32_t iStride, int32_t iAlpha, 186 …PChromaDeblockingEQ4Func) (uint8_t* iSampleCb, uint8_t* iSampleCr, int32_t iStride, int32_t iAlpha, 188 typedef void (*PChromaDeblockingLT4Func2) (uint8_t* iSampleCbr, int32_t iStride, int32_t iAlpha, 190 typedef void (*PChromaDeblockingEQ4Func2) (uint8_t* iSampleCbr, int32_t iStride, int32_t iAlpha,
|
/third_party/openh264/codec/encoder/core/inc/ |
D | wels_func_ptr_def.h | 78 typedef void (*PLumaDeblockingLT4Func) (uint8_t* iSampleY, int32_t iStride, int32_t iAlpha, int32_t… 79 typedef void (*PLumaDeblockingEQ4Func) (uint8_t* iSampleY, int32_t iStride, int32_t iAlpha, int32_t… 80 …PChromaDeblockingLT4Func) (uint8_t* iSampleCb, uint8_t* iSampleCr, int32_t iStride, int32_t iAlpha, 82 …PChromaDeblockingEQ4Func) (uint8_t* iSampleCb, uint8_t* iSampleCr, int32_t iStride, int32_t iAlpha,
|