Lines Matching full:top
262 static WEBP_INLINE void VE4(uint8_t* dst, const uint8_t* top) { // vertical in VE4() argument
264 const uint64_t val_m = LD(top - 1); in VE4()
275 static WEBP_INLINE void HE4(uint8_t* dst, const uint8_t* top) { // horizontal in HE4() argument
276 const int X = top[-1]; in HE4()
277 const int I = top[-2]; in HE4()
278 const int J = top[-3]; in HE4()
279 const int K = top[-4]; in HE4()
280 const int L = top[-5]; in HE4()
287 static WEBP_INLINE void DC4(uint8_t* dst, const uint8_t* top) { in DC4() argument
290 for (i = 0; i < 4; ++i) dc += top[i] + top[-5 + i]; in DC4()
296 static WEBP_INLINE void RD4(uint8_t* dst, const uint8_t* top) { in RD4() argument
298 const uint64_t val_m = LD(top - 5); in RD4()
300 const v16u8 A = (v16u8)__msa_insert_b((v16i8)A1, 8, top[3]); in RD4()
316 static WEBP_INLINE void LD4(uint8_t* dst, const uint8_t* top) { in LD4() argument
318 const uint64_t val_m = LD(top); in LD4()
322 const v16u8 C = (v16u8)__msa_insert_b((v16i8)C1, 6, top[7]); in LD4()
336 static WEBP_INLINE void VR4(uint8_t* dst, const uint8_t* top) { in VR4() argument
337 const int X = top[-1]; in VR4()
338 const int I = top[-2]; in VR4()
339 const int J = top[-3]; in VR4()
340 const int K = top[-4]; in VR4()
341 const int A = top[0]; in VR4()
342 const int B = top[1]; in VR4()
343 const int C = top[2]; in VR4()
344 const int D = top[3]; in VR4()
357 static WEBP_INLINE void VL4(uint8_t* dst, const uint8_t* top) { in VL4() argument
358 const int A = top[0]; in VL4()
359 const int B = top[1]; in VL4()
360 const int C = top[2]; in VL4()
361 const int D = top[3]; in VL4()
362 const int E = top[4]; in VL4()
363 const int F = top[5]; in VL4()
364 const int G = top[6]; in VL4()
365 const int H = top[7]; in VL4()
378 static WEBP_INLINE void HU4(uint8_t* dst, const uint8_t* top) { in HU4() argument
379 const int I = top[-2]; in HU4()
380 const int J = top[-3]; in HU4()
381 const int K = top[-4]; in HU4()
382 const int L = top[-5]; in HU4()
393 static WEBP_INLINE void HD4(uint8_t* dst, const uint8_t* top) { in HD4() argument
394 const int X = top[-1]; in HD4()
395 const int I = top[-2]; in HD4()
396 const int J = top[-3]; in HD4()
397 const int K = top[-4]; in HD4()
398 const int L = top[-5]; in HD4()
399 const int A = top[0]; in HD4()
400 const int B = top[1]; in HD4()
401 const int C = top[2]; in HD4()
414 static WEBP_INLINE void TM4(uint8_t* dst, const uint8_t* top) { in TM4() argument
416 const v8i16 TL = (v8i16)__msa_fill_h(top[-1]); in TM4()
417 const v8i16 L0 = (v8i16)__msa_fill_h(top[-2]); in TM4()
418 const v8i16 L1 = (v8i16)__msa_fill_h(top[-3]); in TM4()
419 const v8i16 L2 = (v8i16)__msa_fill_h(top[-4]); in TM4()
420 const v8i16 L3 = (v8i16)__msa_fill_h(top[-5]); in TM4()
421 const v16u8 T1 = LD_UB(top); in TM4()
434 static void Intra4Preds_MSA(uint8_t* dst, const uint8_t* top) { in Intra4Preds_MSA() argument
435 DC4(I4DC4 + dst, top); in Intra4Preds_MSA()
436 TM4(I4TM4 + dst, top); in Intra4Preds_MSA()
437 VE4(I4VE4 + dst, top); in Intra4Preds_MSA()
438 HE4(I4HE4 + dst, top); in Intra4Preds_MSA()
439 RD4(I4RD4 + dst, top); in Intra4Preds_MSA()
440 VR4(I4VR4 + dst, top); in Intra4Preds_MSA()
441 LD4(I4LD4 + dst, top); in Intra4Preds_MSA()
442 VL4(I4VL4 + dst, top); in Intra4Preds_MSA()
443 HD4(I4HD4 + dst, top); in Intra4Preds_MSA()
444 HU4(I4HU4 + dst, top); in Intra4Preds_MSA()
454 static WEBP_INLINE void VerticalPred16x16(uint8_t* dst, const uint8_t* top) { in VerticalPred16x16() argument
455 if (top != NULL) { in VerticalPred16x16()
456 const v16u8 out = LD_UB(top); in VerticalPred16x16()
484 const uint8_t* top) { in TrueMotion16x16() argument
486 if (top != NULL) { in TrueMotion16x16()
491 const v16u8 T = LD_UB(top); in TrueMotion16x16()
513 if (top != NULL) { in TrueMotion16x16()
514 VerticalPred16x16(dst, top); in TrueMotion16x16()
523 const uint8_t* top) { in DCMode16x16() argument
526 if (top != NULL && left != NULL) { in DCMode16x16()
527 const v16u8 rtop = LD_UB(top); in DCMode16x16()
534 } else if (left != NULL) { // left but no top in DCMode16x16()
539 } else if (top != NULL) { // top but no left in DCMode16x16()
540 const v16u8 rtop = LD_UB(top); in DCMode16x16()
544 } else { // no top, no left, nothing. in DCMode16x16()
552 const uint8_t* left, const uint8_t* top) { in Intra16Preds_MSA() argument
553 DCMode16x16(I16DC16 + dst, left, top); in Intra16Preds_MSA()
554 VerticalPred16x16(I16VE16 + dst, top); in Intra16Preds_MSA()
556 TrueMotion16x16(I16TM16 + dst, left, top); in Intra16Preds_MSA()
577 static WEBP_INLINE void VerticalPred8x8(uint8_t* dst, const uint8_t* top) { in VerticalPred8x8() argument
578 if (top != NULL) { in VerticalPred8x8()
579 const uint64_t out = LD(top); in VerticalPred8x8()
610 const uint8_t* top) { in TrueMotion8x8() argument
612 if (top != NULL) { in TrueMotion8x8()
615 const v16u8 T1 = LD_UB(top); in TrueMotion8x8()
640 if (top != NULL) { in TrueMotion8x8()
641 VerticalPred8x8(dst, top); in TrueMotion8x8()
650 const uint8_t* top) { in DCMode8x8() argument
653 if (top != NULL && left != NULL) { in DCMode8x8()
655 const uint64_t top_m = LD(top); in DCMode8x8()
658 } else if (left != NULL) { // left but no top in DCMode8x8()
662 } else if (top != NULL) { // top but no left in DCMode8x8()
663 const uint64_t top_m = LD(top); in DCMode8x8()
666 } else { // no top, no left, nothing. in DCMode8x8()
674 const uint8_t* top) { in IntraChromaPreds_MSA() argument
676 DCMode8x8(C8DC8 + dst, left, top); in IntraChromaPreds_MSA()
677 VerticalPred8x8(C8VE8 + dst, top); in IntraChromaPreds_MSA()
679 TrueMotion8x8(C8TM8 + dst, left, top); in IntraChromaPreds_MSA()
682 if (top != NULL) top += 8; in IntraChromaPreds_MSA()
684 DCMode8x8(C8DC8 + dst, left, top); in IntraChromaPreds_MSA()
685 VerticalPred8x8(C8VE8 + dst, top); in IntraChromaPreds_MSA()
687 TrueMotion8x8(C8TM8 + dst, left, top); in IntraChromaPreds_MSA()