Lines Matching refs:pPred
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)); \
50 void LumaI##size##x##size##PredH(uint8_t *pPred, const int32_t kiStride) {\
52 memset(pPred + i * kiStride, pPred[i * kiStride - 1], size * sizeof(uint8_t));\
57 void LumaI##size##x##size##PredDC(uint8_t *pPred, const int32_t kiStride) {\
60 iSum += pPred[-1 + i * kiStride] + pPred[i - kiStride]; \
63 memset(pPred + i * kiStride, uiMean, size * sizeof(uint8_t)); \
67 void LumaI##size##x##size##PredDCLeft(uint8_t *pPred, const int32_t kiStride) {\
70 iSum += pPred[-1 + i * kiStride]; \
73 memset(pPred + i * kiStride, uiMean, size * sizeof(uint8_t)); \
77 void LumaI##size##x##size##PredDCTop(uint8_t *pPred, const int32_t kiStride) {\
80 iSum += pPred[i - kiStride]; \
83 memset(pPred + i * kiStride, uiMean, size * sizeof(uint8_t)); \
87 void LumaI##size##x##size##PredDCNone(uint8_t *pPred, const int32_t kiStride) {\
90 memset(pPred + i * kiStride, uiMean, size * sizeof(uint8_t)); \
95 void WelsI4x4LumaPredDDL_ref (uint8_t* pPred, const int32_t kiStride) { in WelsI4x4LumaPredDDL_ref() argument
99 uint8_t* ptop = &pPred[-kiStride]; in WelsI4x4LumaPredDDL_ref()
117 ST32 (pPred , LD32 (kuiList)); in WelsI4x4LumaPredDDL_ref()
118 ST32 (pPred + kiStride , LD32 (kuiList + 1)); in WelsI4x4LumaPredDDL_ref()
119 ST32 (pPred + kiStride2, LD32 (kuiList + 2)); in WelsI4x4LumaPredDDL_ref()
120 ST32 (pPred + kiStride3, LD32 (kuiList + 3)); in WelsI4x4LumaPredDDL_ref()
124 void WelsI4x4LumaPredDDLTop_ref (uint8_t* pPred, const int32_t kiStride) { in WelsI4x4LumaPredDDLTop_ref() argument
128 uint8_t* ptop = &pPred[-kiStride]; in WelsI4x4LumaPredDDLTop_ref()
143 ST32 (pPred, LD32 (kuiList)); in WelsI4x4LumaPredDDLTop_ref()
144 ST32 (pPred + kiStride, LD32 (kuiList + 1)); in WelsI4x4LumaPredDDLTop_ref()
145 ST32 (pPred + kiStride2, LD32 (kuiList + 2)); in WelsI4x4LumaPredDDLTop_ref()
146 ST32 (pPred + kiStride3, LD32 (kuiList + 3)); in WelsI4x4LumaPredDDLTop_ref()
151 void WelsI4x4LumaPredDDR_ref (uint8_t* pPred, const int32_t kiStride) { in WelsI4x4LumaPredDDR_ref() argument
154 uint8_t* ptopleft = &pPred[- (kiStride + 1)]; in WelsI4x4LumaPredDDR_ref()
155 uint8_t* pleft = &pPred[-1]; in WelsI4x4LumaPredDDR_ref()
183 ST32 (pPred , LD32 (kuiList + 3)); in WelsI4x4LumaPredDDR_ref()
184 ST32 (pPred + kiStride , LD32 (kuiList + 2)); in WelsI4x4LumaPredDDR_ref()
185 ST32 (pPred + kiStride2, LD32 (kuiList + 1)); in WelsI4x4LumaPredDDR_ref()
186 ST32 (pPred + kiStride3, LD32 (kuiList)); in WelsI4x4LumaPredDDR_ref()
191 void WelsI4x4LumaPredVL_ref (uint8_t* pPred, const int32_t kiStride) { in WelsI4x4LumaPredVL_ref() argument
194 uint8_t* ptopleft = &pPred[- (kiStride + 1)]; in WelsI4x4LumaPredVL_ref()
221 ST32 (pPred, LD32 (kuiList)); in WelsI4x4LumaPredVL_ref()
222 ST32 (pPred + kiStride, LD32 (kuiList + 5)); in WelsI4x4LumaPredVL_ref()
223 ST32 (pPred + kiStride2, LD32 (kuiList + 1)); in WelsI4x4LumaPredVL_ref()
224 ST32 (pPred + kiStride3, LD32 (kuiList + 6)); in WelsI4x4LumaPredVL_ref()
228 void WelsI4x4LumaPredVLTop_ref (uint8_t* pPred, const int32_t kiStride) { in WelsI4x4LumaPredVLTop_ref() argument
231 uint8_t* ptopleft = &pPred[- (kiStride + 1)]; in WelsI4x4LumaPredVLTop_ref()
251 ST32 (pPred , LD32 (kuiList)); in WelsI4x4LumaPredVLTop_ref()
252 ST32 (pPred + kiStride , LD32 (kuiList + 5)); in WelsI4x4LumaPredVLTop_ref()
253 ST32 (pPred + kiStride2, LD32 (kuiList + 1)); in WelsI4x4LumaPredVLTop_ref()
254 ST32 (pPred + kiStride3, LD32 (kuiList + 6)); in WelsI4x4LumaPredVLTop_ref()
259 void WelsI4x4LumaPredVR_ref (uint8_t* pPred, const int32_t kiStride) { in WelsI4x4LumaPredVR_ref() argument
262 const uint8_t kuiLT = pPred[-kiStride - 1]; in WelsI4x4LumaPredVR_ref()
264 const uint8_t kuiL0 = pPred[ - 1]; in WelsI4x4LumaPredVR_ref()
265 const uint8_t kuiL1 = pPred[kiStride - 1]; in WelsI4x4LumaPredVR_ref()
266 const uint8_t kuiL2 = pPred[kiStride2 - 1]; in WelsI4x4LumaPredVR_ref()
267 const uint8_t kuiT0 = pPred[ -kiStride]; in WelsI4x4LumaPredVR_ref()
268 const uint8_t kuiT1 = pPred[1 - kiStride]; in WelsI4x4LumaPredVR_ref()
269 const uint8_t kuiT2 = pPred[2 - kiStride]; in WelsI4x4LumaPredVR_ref()
270 const uint8_t kuiT3 = pPred[3 - kiStride]; in WelsI4x4LumaPredVR_ref()
283 ST32 (pPred , LD32 (kuiList + 1)); in WelsI4x4LumaPredVR_ref()
284 ST32 (pPred + kiStride , LD32 (kuiList + 6)); in WelsI4x4LumaPredVR_ref()
285 ST32 (pPred + kiStride2, LD32 (kuiList)); in WelsI4x4LumaPredVR_ref()
286 ST32 (pPred + kiStride3, LD32 (kuiList + 5)); in WelsI4x4LumaPredVR_ref()
290 void WelsI4x4LumaPredHU_ref (uint8_t* pPred, const int32_t kiStride) { in WelsI4x4LumaPredHU_ref() argument
294 const uint8_t kuiL0 = pPred[ - 1]; in WelsI4x4LumaPredHU_ref()
295 const uint8_t kuiL1 = pPred[kiStride - 1]; in WelsI4x4LumaPredHU_ref()
296 const uint8_t kuiL2 = pPred[kiStride2 - 1]; in WelsI4x4LumaPredHU_ref()
297 const uint8_t kuiL3 = pPred[kiStride3 - 1]; in WelsI4x4LumaPredHU_ref()
309 ST32 (pPred , LD32 (kuiList)); in WelsI4x4LumaPredHU_ref()
310 ST32 (pPred + kiStride , LD32 (kuiList + 2)); in WelsI4x4LumaPredHU_ref()
311 ST32 (pPred + kiStride2, LD32 (kuiList + 4)); in WelsI4x4LumaPredHU_ref()
312 ST32 (pPred + kiStride3, LD32 (kuiList + 6)); in WelsI4x4LumaPredHU_ref()
316 void WelsI4x4LumaPredHD_ref (uint8_t* pPred, const int32_t kiStride) { in WelsI4x4LumaPredHD_ref() argument
319 const uint8_t kuiLT = pPred[- (kiStride + 1)]; in WelsI4x4LumaPredHD_ref()
321 const uint8_t kuiL0 = pPred[-1 ]; in WelsI4x4LumaPredHD_ref()
322 const uint8_t kuiL1 = pPred[-1 + kiStride ]; in WelsI4x4LumaPredHD_ref()
323 const uint8_t kuiL2 = pPred[-1 + kiStride2]; in WelsI4x4LumaPredHD_ref()
324 const uint8_t kuiL3 = pPred[-1 + kiStride3]; in WelsI4x4LumaPredHD_ref()
325 const uint8_t kuiT0 = pPred[-kiStride ]; in WelsI4x4LumaPredHD_ref()
326 const uint8_t kuiT1 = pPred[-kiStride + 1 ]; in WelsI4x4LumaPredHD_ref()
327 const uint8_t kuiT2 = pPred[-kiStride + 2 ]; in WelsI4x4LumaPredHD_ref()
347 ST32 (pPred , LD32 (kuiList + 6)); in WelsI4x4LumaPredHD_ref()
348 ST32 (pPred + kiStride , LD32 (kuiList + 4)); in WelsI4x4LumaPredHD_ref()
349 ST32 (pPred + kiStride2, LD32 (kuiList + 2)); in WelsI4x4LumaPredHD_ref()
350 ST32 (pPred + kiStride3, LD32 (kuiList)); in WelsI4x4LumaPredHD_ref()
410 void WelsIChromaPredPlane_ref (uint8_t* pPred, const int32_t kiStride) { in WelsIChromaPredPlane_ref() argument
413 uint8_t* pTop = &pPred[-kiStride]; in WelsIChromaPredPlane_ref()
414 uint8_t* pLeft = &pPred[-1]; in WelsIChromaPredPlane_ref()
428 pPred[j] = (iTmp < 0) ? 0 : ((iTmp > 255) ? 255 : iTmp); in WelsIChromaPredPlane_ref()
430 pPred += kiStride; in WelsIChromaPredPlane_ref()
435 void WelsIChromaPredDc_ref (uint8_t* pPred, const int32_t kiStride) { in WelsIChromaPredDc_ref() argument
444 …const uint8_t kuiM1 = (pPred[-kiStride] + pPred[1 - kiStride] + pPred[2 - kiStride] + pPred[… in WelsIChromaPredDc_ref()
445 pPred[-1] + pPred[kiL1] + pPred[kiL2] + pPred[kiL3] + 4) >> 3 ; in WelsIChromaPredDc_ref()
446 …const uint32_t kuiSum2 = pPred[4 - kiStride] + pPred[5 - kiStride] + pPred[6 - kiStride] + pPre… in WelsIChromaPredDc_ref()
447 const uint32_t kuiSum3 = pPred[kiL4] + pPred[kiL5] + pPred[kiL6] + pPred[kiL7]; in WelsIChromaPredDc_ref()
456 ST64 (pPred , kuiUP64); in WelsIChromaPredDc_ref()
457 ST64 (pPred + kiL1 + 1, kuiUP64); in WelsIChromaPredDc_ref()
458 ST64 (pPred + kiL2 + 1, kuiUP64); in WelsIChromaPredDc_ref()
459 ST64 (pPred + kiL3 + 1, kuiUP64); in WelsIChromaPredDc_ref()
460 ST64 (pPred + kiL4 + 1, kuiDN64); in WelsIChromaPredDc_ref()
461 ST64 (pPred + kiL5 + 1, kuiDN64); in WelsIChromaPredDc_ref()
462 ST64 (pPred + kiL6 + 1, kuiDN64); in WelsIChromaPredDc_ref()
463 ST64 (pPred + kiL7 + 1, kuiDN64); in WelsIChromaPredDc_ref()
466 void WelsIChromaPredDcLeft_ref (uint8_t* pPred, const int32_t kiStride) { in WelsIChromaPredDcLeft_ref() argument
475 const uint8_t kuiMUP = (pPred[-1] + pPred[kiL1] + pPred[kiL2] + pPred[kiL3] + 2) >> 2 ; in WelsIChromaPredDcLeft_ref()
476 const uint8_t kuiMDown = (pPred[kiL4] + pPred[kiL5] + pPred[kiL6] + pPred[kiL7] + 2) >> 2; in WelsIChromaPredDcLeft_ref()
480 ST64 (pPred , kuiUP64); in WelsIChromaPredDcLeft_ref()
481 ST64 (pPred + kiL1 + 1, kuiUP64); in WelsIChromaPredDcLeft_ref()
482 ST64 (pPred + kiL2 + 1, kuiUP64); in WelsIChromaPredDcLeft_ref()
483 ST64 (pPred + kiL3 + 1, kuiUP64); in WelsIChromaPredDcLeft_ref()
484 ST64 (pPred + kiL4 + 1, kuiDN64); in WelsIChromaPredDcLeft_ref()
485 ST64 (pPred + kiL5 + 1, kuiDN64); in WelsIChromaPredDcLeft_ref()
486 ST64 (pPred + kiL6 + 1, kuiDN64); in WelsIChromaPredDcLeft_ref()
487 ST64 (pPred + kiL7 + 1, kuiDN64); in WelsIChromaPredDcLeft_ref()
490 void WelsIChromaPredDcTop_ref (uint8_t* pPred, const int32_t kiStride) { in WelsIChromaPredDcTop_ref() argument
493 …const uint8_t kuiM1 = (pPred[-kiStride] + pPred[1 - kiStride] + pPred[2 - kiStride] + pPred[3 - ki… in WelsIChromaPredDcTop_ref()
494 …const uint8_t kuiM2 = (pPred[4 - kiStride] + pPred[5 - kiStride] + pPred[6 - kiStride] + pPred[7 -… in WelsIChromaPredDcTop_ref()
500 ST64 (pPred + iTmp, LD64 (kuiM)); in WelsIChromaPredDcTop_ref()
545 void WelsI16x16LumaPredPlane_ref (uint8_t* pPred, const int32_t kiStride) { in WelsI16x16LumaPredPlane_ref() argument
548 uint8_t* pTop = &pPred[-kiStride]; in WelsI16x16LumaPredPlane_ref()
549 uint8_t* pLeft = &pPred[-1]; in WelsI16x16LumaPredPlane_ref()
563 pPred[j] = (iTmp < 0) ? 0 : ((iTmp > 255) ? 255 : iTmp); in WelsI16x16LumaPredPlane_ref()
565 pPred += kiStride; in WelsI16x16LumaPredPlane_ref()