/third_party/openh264/codec/decoder/core/inc/ |
D | get_intra_predictor.h | 48 void WelsI4x4LumaPredV_c (uint8_t* pPred, const int32_t kiStride); 49 void WelsI4x4LumaPredH_c (uint8_t* pPred, const int32_t kiStride); 50 void WelsI4x4LumaPredDc_c (uint8_t* pPred, const int32_t kiStride); 51 void WelsI4x4LumaPredDcLeft_c (uint8_t* pPred, const int32_t kiStride); 52 void WelsI4x4LumaPredDcTop_c (uint8_t* pPred, const int32_t kiStride); 53 void WelsI4x4LumaPredDcNA_c (uint8_t* pPred, const int32_t kiStride); 54 void WelsI4x4LumaPredDDL_c (uint8_t* pPred, const int32_t kiStride); 55 void WelsI4x4LumaPredDDLTop_c (uint8_t* pPred, const int32_t kiStride); 56 void WelsI4x4LumaPredDDR_c (uint8_t* pPred, const int32_t kiStride); 57 void WelsI4x4LumaPredVL_c (uint8_t* pPred, const int32_t kiStride); [all …]
|
D | decode_mb_aux.h | 41 void IdctResAddPred_c (uint8_t* pPred, const int32_t kiStride, int16_t* pRs); 42 void IdctResAddPred8x8_c (uint8_t* pPred, const int32_t kiStride, int16_t* pRs); 49 void IdctResAddPred_mmx (uint8_t* pPred, const int32_t kiStride, int16_t* pRs); 50 void IdctResAddPred_sse2 (uint8_t* pPred, const int32_t kiStride, int16_t* pRs); 52 void IdctResAddPred_avx2 (uint8_t* pPred, const int32_t kiStride, int16_t* pRs); 67 void IdctResAddPred_mmi (uint8_t* pPred, const int32_t kiStride, int16_t* pRs);
|
D | decoder_context.h | 141 typedef void (*PIdctResAddPredFunc) (uint8_t* pPred, const int32_t kiStride, int16_t* pRs); 143 typedef void (*PExpandPictureFunc) (uint8_t* pDst, const int32_t kiStride, const int32_t kiPicWidth,
|
/third_party/openh264/codec/decoder/core/src/ |
D | get_intra_predictor.cpp | 54 void WelsI4x4LumaPredV_c (uint8_t* pPred, const int32_t kiStride) { in WelsI4x4LumaPredV_c() argument 55 const uint32_t kuiVal = LD32A4 (pPred - kiStride); in WelsI4x4LumaPredV_c() 58 ST32A4 (pPred + kiStride, kuiVal); in WelsI4x4LumaPredV_c() 59 ST32A4 (pPred + (kiStride << 1), kuiVal); in WelsI4x4LumaPredV_c() 60 ST32A4 (pPred + (kiStride << 1) + kiStride, kuiVal); in WelsI4x4LumaPredV_c() 63 void WelsI4x4LumaPredH_c (uint8_t* pPred, const int32_t kiStride) { in WelsI4x4LumaPredH_c() argument 64 const int32_t kiStride2 = kiStride << 1; in WelsI4x4LumaPredH_c() 65 const int32_t kiStride3 = kiStride2 + kiStride; in WelsI4x4LumaPredH_c() 67 const uint32_t kuiL1 = 0x01010101U * pPred[-1 + kiStride ]; in WelsI4x4LumaPredH_c() 72 ST32A4 (pPred + kiStride, kuiL1); in WelsI4x4LumaPredH_c() [all …]
|
D | decode_mb_aux.cpp | 42 void IdctResAddPred_c (uint8_t* pPred, const int32_t kiStride, int16_t* pRs) { in IdctResAddPred_c() argument 46 const int32_t kiStride2 = kiStride << 1; in IdctResAddPred_c() 47 const int32_t kiStride3 = kiStride + kiStride2; in IdctResAddPred_c() 74 pDst[i + kiStride] = WelsClip1 (((32 + kT1 + kT2) >> 6) + pDst[i + kiStride]); in IdctResAddPred_c() 79 void IdctResAddPred8x8_c (uint8_t* pPred, const int32_t kiStride, int16_t* pRs) { in IdctResAddPred8x8_c() argument 163 … pDst[i * kiStride + j] = WelsClip1 (((32 + iRes[ (i << 3) + j]) >> 6) + pDst[i * kiStride + j]); in IdctResAddPred8x8_c()
|
/third_party/openh264/codec/encoder/core/inc/ |
D | get_intra_predictor.h | 48 void WelsI4x4LumaPredV_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 49 void WelsI4x4LumaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 50 void WelsI4x4LumaPredDc_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 51 void WelsI4x4LumaPredDcLeft_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 52 void WelsI4x4LumaPredDcTop_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 53 void WelsI4x4LumaPredDcNA_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 55 void WelsI4x4LumaPredDDL_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 56 void WelsI4x4LumaPredDDLTop_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 57 void WelsI4x4LumaPredDDR_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 59 void WelsI4x4LumaPredVR_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); [all …]
|
D | wels_func_ptr_def.h | 178 typedef void (*PGetIntraPredFunc) (uint8_t* pPrediction, uint8_t* pRef, const int32_t kiStride); 180 typedef int32_t (*PGetVarianceFromIntraVaaFunc) (uint8_t* pSampelY, const int32_t kiStride);
|
/third_party/openh264/test/encoder/ |
D | EncUT_GetIntraPredictor.cpp | 27 const int32_t kiStride = rand() % 256 + 16; in TEST() local 28 const uint32_t kiStride2 = (kiStride << 1) - 1; in TEST() 29 const uint32_t kiStride3 = kiStride + kiStride2; in TEST() 40 const uint8_t kuiH2 = pRef[kiStride - 1]; in TEST() 54 WelsI4x4LumaPredH_c (pPred, pRef, kiStride); in TEST() 66 const int32_t kiStride = 0; in TEST() local 73 const uint8_t kuiT0 = pRef[-kiStride]; in TEST() 74 const uint8_t kuiT1 = pRef[1 - kiStride]; in TEST() 75 const uint8_t kuiT2 = pRef[2 - kiStride]; in TEST() 76 const uint8_t kuiT3 = pRef[3 - kiStride]; in TEST() [all …]
|
/third_party/openh264/test/decoder/ |
D | DecUT_IntraPrediction.cpp | 12 const int32_t kiStride = 32; \ 14 ENFORCE_STACK_ALIGN_1D (uint8_t, pPredBuffer, 12 * kiStride, 4); \ 15 ENFORCE_STACK_ALIGN_1D (uint8_t, pRefBuffer, 12 * kiStride, 4); \ 25 pRefBuffer[kiStride * 3 + i] = pPredBuffer[kiStride * 3 + i] = rand() & 255; \ 26 pRefBuffer[i * kiStride + 3] = pPredBuffer[i * kiStride + 3] = rand() & 255; \ 28 pred (&pPredBuffer[kiStride * 4 + 4], kiStride); \ 29 ref (&pRefBuffer[kiStride * 4 + 4], kiStride); \ 33 if (pPredBuffer[(i+4) * kiStride + j + 4] != pRefBuffer[(i+4) * kiStride + j + 4]) { \ 42 void LumaI##size##x##size##PredV(uint8_t *pPred, const int32_t kiStride) {\ 45 memcpy(pPred + i * kiStride, pPred - kiStride, size * sizeof(uint8_t)); \ [all …]
|
D | DecUT_IdctResAddPred.cpp | 10 void IdctResAddPred_ref (uint8_t* pPred, const int32_t kiStride, int16_t* pRs) { in IdctResAddPred_ref() argument 14 const int32_t kiStride2 = kiStride << 1; in IdctResAddPred_ref() 15 const int32_t kiStride3 = kiStride + kiStride2; in IdctResAddPred_ref() 42 pDst[i + kiStride] = WelsClip1 (((32 + kT1 + kT2) >> 6) + pDst[i + kiStride]); in IdctResAddPred_ref() 70 const int32_t kiStride = 32;\ 75 ENFORCE_STACK_ALIGN_1D (uint8_t, uiPred, 16 * kiStride, 16);\ 77 uint8_t uiRefPred[16*kiStride];\ 88 uiRefPred[i * kiStride + j] = uiPred[i * kiStride + j] = rand() & 255;\ 89 pred(uiPred, kiStride, iRS);\ 90 IdctResAddPred_ref(uiRefPred, kiStride, iRefRS);\ [all …]
|
D | DecUT_ErrorConcealment.cpp | 197 bool ComparePictureDataI420 (uint8_t* pSrcData, uint8_t* pDstData, const uint32_t kiStride, const i… in ComparePictureDataI420() argument 206 iStride = kiStride; in ComparePictureDataI420()
|
/third_party/openh264/codec/encoder/core/src/ |
D | get_intra_predictor.cpp | 79 void WelsI4x4LumaPredV_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI4x4LumaPredV_c() argument 80 const uint32_t kuiSrc = LD32 (&pRef[-kiStride]); in WelsI4x4LumaPredV_c() 87 void WelsI4x4LumaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI4x4LumaPredH_c() argument 88 const uint32_t kiStridex2Left = (kiStride << 1) - 1; in WelsI4x4LumaPredH_c() 89 const uint32_t kiStridex3Left = kiStride + kiStridex2Left; in WelsI4x4LumaPredH_c() 91 const uint8_t kuiHor2 = pRef[kiStride - 1]; in WelsI4x4LumaPredH_c() 106 void WelsI4x4LumaPredDc_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI4x4LumaPredDc_c() argument 107 …const uint8_t kuiDcValue = (pRef[-1] + pRef[kiStride - 1] + pRef[ (kiStride << 1) - 1] + pRef[ (ki… in WelsI4x4LumaPredDc_c() 108 kiStride - 1] + in WelsI4x4LumaPredDc_c() 109 … pRef[-kiStride] + pRef[1 - kiStride] + pRef[2 - kiStride] + pRef[3 - kiStride] + 4) >> 3; in WelsI4x4LumaPredDc_c() [all …]
|
/third_party/openh264/codec/common/src/ |
D | expand_pic.cpp | 36 static inline void MBPadTopLeftLuma_c (uint8_t*& pDst, const int32_t& kiStride) { in MBPadTopLeftLuma_c() argument 41 pTopLeft -= kiStride; in MBPadTopLeftLuma_c() 48 static inline void MBPadTopLuma_c (uint8_t*& pDst, const int32_t& kiStride, const int32_t& kiMbX) { in MBPadTopLuma_c() argument 53 pTop -= kiStride; in MBPadTopLuma_c() 59 static inline void MBPadBottomLuma_c (uint8_t*& pDst, const int32_t& kiStride, const int32_t& kiMbX, in MBPadBottomLuma_c() argument 61 uint8_t* pBottomLine = pDst + (kiPicH - 1) * kiStride + (kiMbX << 4); in MBPadBottomLuma_c() 65 pBottom += kiStride; in MBPadBottomLuma_c() 71 static inline void MBPadTopRightLuma_c (uint8_t*& pDst, const int32_t& kiStride, const int32_t& kiP… in MBPadTopRightLuma_c() argument 77 pTop -= kiStride; in MBPadTopRightLuma_c() 84 static inline void MBPadBottomLeftLuma_c (uint8_t*& pDst, const int32_t& kiStride, const int32_t& k… in MBPadBottomLeftLuma_c() argument [all …]
|
D | intra_pred_common.cpp | 47 void WelsI16x16LumaPredV_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI16x16LumaPredV_c() argument 49 const int8_t* kpSrc = (int8_t*)&pRef[-kiStride]; in WelsI16x16LumaPredV_c() 61 void WelsI16x16LumaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI16x16LumaPredH_c() argument 62 int32_t iStridex15 = (kiStride << 4) - kiStride; in WelsI16x16LumaPredH_c() 73 iStridex15 -= kiStride; in WelsI16x16LumaPredH_c()
|
/third_party/openh264/codec/decoder/core/mips/ |
D | dct_mmi.c | 67 void IdctResAddPred_mmi(uint8_t *pPred, const int32_t kiStride, int16_t *pRs) { in IdctResAddPred_mmi() argument 97 : [pRs]"r"((unsigned char *)pRs), [kiStride]"r"((int)kiStride) in IdctResAddPred_mmi() 103 void WelsDecoderI16x16LumaPredDc_mmi(uint8_t *pPred, const int32_t kiStride) { in WelsDecoderI16x16LumaPredDc_mmi() argument 181 : [kiStride] "r"((int)kiStride), in WelsDecoderI16x16LumaPredDc_mmi() 187 void WelsDecoderI16x16LumaPredPlane_mmi(uint8_t *pPred, const int32_t kiStride) { in WelsDecoderI16x16LumaPredPlane_mmi() argument 224 %[kiStride], $11) in WelsDecoderI16x16LumaPredPlane_mmi() 236 %[kiStride], $11) in WelsDecoderI16x16LumaPredPlane_mmi() 296 : [kiStride]"r"((int)kiStride), [mmi_plane_inc_minus]"r"(mmi_plane_inc_minus), in WelsDecoderI16x16LumaPredPlane_mmi() 320 void WelsDecoderI16x16LumaPredH_mmi(uint8_t *pPred, const int32_t kiStride) { in WelsDecoderI16x16LumaPredH_mmi() argument 342 : [kiStride]"r"((int)kiStride), in WelsDecoderI16x16LumaPredH_mmi() [all …]
|
/third_party/openh264/codec/common/mips/ |
D | intra_pred_com_mmi.c | 67 void WelsI16x16LumaPredV_mmi(uint8_t *pPred, uint8_t *pRef, int32_t kiStride) { in WelsI16x16LumaPredV_mmi() argument 90 : [kiStride]"r"((int)kiStride) in WelsI16x16LumaPredV_mmi() 95 void WelsI16x16LumaPredH_mmi(uint8_t *pPred, uint8_t *pRef, int32_t kiStride) { in WelsI16x16LumaPredH_mmi() argument 120 : [kiStride]"r"((int)kiStride) in WelsI16x16LumaPredH_mmi() 125 void WelsI16x16LumaPredDc_mmi(uint8_t *pPred, uint8_t *pRef, int32_t kiStride) { in WelsI16x16LumaPredDc_mmi() argument 181 : [kiStride]"r"((int)kiStride), [mmi_01bytes]"r"((unsigned char *)mmi_01bytes) in WelsI16x16LumaPredDc_mmi() 186 void WelsI16x16LumaPredPlane_mmi(uint8_t *pPred, uint8_t *pRef, int32_t kiStride) { in WelsI16x16LumaPredPlane_mmi() argument 227 $f18, %[pRef], %[kiStride], $11) in WelsI16x16LumaPredPlane_mmi() 239 $f18, %[pRef], %[kiStride], $11) in WelsI16x16LumaPredPlane_mmi() 298 : [kiStride]"r"((int)kiStride), [mmi_plane_inc_minus]"r"(mmi_plane_inc_minus), in WelsI16x16LumaPredPlane_mmi() [all …]
|
/third_party/openh264/codec/common/inc/ |
D | expand_pic.h | 54 const int32_t kiStride, 58 const int32_t kiStride, 62 const int32_t kiStride, 68 void ExpandPictureLuma_neon (uint8_t* pDst, const int32_t kiStride, const int32_t kiPicW, const int… 69 void ExpandPictureChroma_neon (uint8_t* pDst, const int32_t kiStride, const int32_t kiPicW, const i… 72 void ExpandPictureLuma_AArch64_neon (uint8_t* pDst, const int32_t kiStride, const int32_t kiPicW, c… 73 void ExpandPictureChroma_AArch64_neon (uint8_t* pDst, const int32_t kiStride, const int32_t kiPicW, 78 void ExpandPictureLuma_mmi (uint8_t* pDst, const int32_t kiStride, const int32_t kiPicW, 80 void ExpandPictureChromaAlign_mmi (uint8_t* pDst, const int32_t kiStride, const int32_t kiPicW, 82 void ExpandPictureChromaUnalign_mmi (uint8_t* pDst, const int32_t kiStride, const int32_t kiPicW, [all …]
|
D | intra_pred_common.h | 47 void WelsI16x16LumaPredV_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 48 void WelsI16x16LumaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 57 void WelsI16x16LumaPredV_sse2 (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 58 void WelsI16x16LumaPredH_sse2 (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 62 void WelsI16x16LumaPredV_neon (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 63 void WelsI16x16LumaPredH_neon (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 67 void WelsI16x16LumaPredV_AArch64_neon (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 68 void WelsI16x16LumaPredH_AArch64_neon (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 72 void WelsI16x16LumaPredV_mmi (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride); 73 void WelsI16x16LumaPredH_mmi (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
|
/third_party/openh264/codec/decoder/core/x86/ |
D | intra_pred.asm | 178 ; void WelsDecoderI4x4LumaPredH_sse2(uint8_t *pPred, const int32_t kiStride) 216 ; void WelsDecoderI16x16LumaPredPlane_sse2(uint8_t *pPred, const int32_t kiStride); 257 shl r3, 4 ; a = (left[15*kiStride] + top[15]) << 4; 320 ; void WelsDecoderI16x16LumaPredH_sse2(uint8_t *pPred, const int32_t kiStride); 355 ; void WelsDecoderI16x16LumaPredV_sse2(uint8_t *pPred, const int32_t kiStride); 393 ; void WelsDecoderIChromaPredPlane_sse2(uint8_t *pPred, const int32_t kiStride); 435 shl r3, 4 ; a = (left[7*kiStride] + top[7]) << 4; 496 ; void WelsDecoderI4x4LumaPredDDR_mmx(uint8_t *pPred, const int32_t kiStride) 548 ; void WelsDecoderIChromaPredH_mmx(uint8_t *pPred, const int32_t kiStride) 609 ; void WelsDecoderIChromaPredV_mmx(uint8_t *pPred, const int32_t kiStride) [all …]
|
/third_party/openh264/codec/processing/src/common/ |
D | common.h | 53 typedef void (GetIntraPred) (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
|