Lines Matching full:top

261 static WEBP_INLINE void VE4(uint8_t* dst, const uint8_t* top) {    // vertical  in VE4()  argument
262 const uint64_t val_m = LD(top - 1); in VE4()
273 static WEBP_INLINE void HE4(uint8_t* dst, const uint8_t* top) { // horizontal in HE4() argument
274 const int X = top[-1]; in HE4()
275 const int I = top[-2]; in HE4()
276 const int J = top[-3]; in HE4()
277 const int K = top[-4]; in HE4()
278 const int L = top[-5]; in HE4()
285 static WEBP_INLINE void DC4(uint8_t* dst, const uint8_t* top) { in DC4() argument
288 for (i = 0; i < 4; ++i) dc += top[i] + top[-5 + i]; in DC4()
294 static WEBP_INLINE void RD4(uint8_t* dst, const uint8_t* top) { in RD4() argument
295 const uint64_t val_m = LD(top - 5); in RD4()
297 const v16u8 A = (v16u8)__msa_insert_b((v16i8)A1, 8, top[3]); in RD4()
313 static WEBP_INLINE void LD4(uint8_t* dst, const uint8_t* top) { in LD4() argument
314 const uint64_t val_m = LD(top); in LD4()
318 const v16u8 C = (v16u8)__msa_insert_b((v16i8)C1, 6, top[7]); in LD4()
332 static WEBP_INLINE void VR4(uint8_t* dst, const uint8_t* top) { in VR4() argument
333 const int X = top[-1]; in VR4()
334 const int I = top[-2]; in VR4()
335 const int J = top[-3]; in VR4()
336 const int K = top[-4]; in VR4()
337 const int A = top[0]; in VR4()
338 const int B = top[1]; in VR4()
339 const int C = top[2]; in VR4()
340 const int D = top[3]; in VR4()
353 static WEBP_INLINE void VL4(uint8_t* dst, const uint8_t* top) { in VL4() argument
354 const int A = top[0]; in VL4()
355 const int B = top[1]; in VL4()
356 const int C = top[2]; in VL4()
357 const int D = top[3]; in VL4()
358 const int E = top[4]; in VL4()
359 const int F = top[5]; in VL4()
360 const int G = top[6]; in VL4()
361 const int H = top[7]; in VL4()
374 static WEBP_INLINE void HU4(uint8_t* dst, const uint8_t* top) { in HU4() argument
375 const int I = top[-2]; in HU4()
376 const int J = top[-3]; in HU4()
377 const int K = top[-4]; in HU4()
378 const int L = top[-5]; in HU4()
389 static WEBP_INLINE void HD4(uint8_t* dst, const uint8_t* top) { in HD4() argument
390 const int X = top[-1]; in HD4()
391 const int I = top[-2]; in HD4()
392 const int J = top[-3]; in HD4()
393 const int K = top[-4]; in HD4()
394 const int L = top[-5]; in HD4()
395 const int A = top[0]; in HD4()
396 const int B = top[1]; in HD4()
397 const int C = top[2]; in HD4()
410 static WEBP_INLINE void TM4(uint8_t* dst, const uint8_t* top) { in TM4() argument
412 const v8i16 TL = (v8i16)__msa_fill_h(top[-1]); in TM4()
413 const v8i16 L0 = (v8i16)__msa_fill_h(top[-2]); in TM4()
414 const v8i16 L1 = (v8i16)__msa_fill_h(top[-3]); in TM4()
415 const v8i16 L2 = (v8i16)__msa_fill_h(top[-4]); in TM4()
416 const v8i16 L3 = (v8i16)__msa_fill_h(top[-5]); in TM4()
417 const v16u8 T1 = LD_UB(top); in TM4()
430 static void Intra4Preds(uint8_t* dst, const uint8_t* top) { in Intra4Preds() argument
431 DC4(I4DC4 + dst, top); in Intra4Preds()
432 TM4(I4TM4 + dst, top); in Intra4Preds()
433 VE4(I4VE4 + dst, top); in Intra4Preds()
434 HE4(I4HE4 + dst, top); in Intra4Preds()
435 RD4(I4RD4 + dst, top); in Intra4Preds()
436 VR4(I4VR4 + dst, top); in Intra4Preds()
437 LD4(I4LD4 + dst, top); in Intra4Preds()
438 VL4(I4VL4 + dst, top); in Intra4Preds()
439 HD4(I4HD4 + dst, top); in Intra4Preds()
440 HU4(I4HU4 + dst, top); in Intra4Preds()
450 static WEBP_INLINE void VerticalPred16x16(uint8_t* dst, const uint8_t* top) { in VerticalPred16x16() argument
451 if (top != NULL) { in VerticalPred16x16()
452 const v16u8 out = LD_UB(top); in VerticalPred16x16()
480 const uint8_t* top) { in TrueMotion16x16() argument
482 if (top != NULL) { in TrueMotion16x16()
487 const v16u8 T = LD_UB(top); in TrueMotion16x16()
509 if (top != NULL) { in TrueMotion16x16()
510 VerticalPred16x16(dst, top); in TrueMotion16x16()
519 const uint8_t* top) { in DCMode16x16() argument
522 if (top != NULL && left != NULL) { in DCMode16x16()
523 const v16u8 rtop = LD_UB(top); in DCMode16x16()
530 } else if (left != NULL) { // left but no top in DCMode16x16()
535 } else if (top != NULL) { // top but no left in DCMode16x16()
536 const v16u8 rtop = LD_UB(top); in DCMode16x16()
540 } else { // no top, no left, nothing. in DCMode16x16()
548 const uint8_t* left, const uint8_t* top) { in Intra16Preds() argument
549 DCMode16x16(I16DC16 + dst, left, top); in Intra16Preds()
550 VerticalPred16x16(I16VE16 + dst, top); in Intra16Preds()
552 TrueMotion16x16(I16TM16 + dst, left, top); in Intra16Preds()
573 static WEBP_INLINE void VerticalPred8x8(uint8_t* dst, const uint8_t* top) { in VerticalPred8x8() argument
574 if (top != NULL) { in VerticalPred8x8()
575 const uint64_t out = LD(top); in VerticalPred8x8()
606 const uint8_t* top) { in TrueMotion8x8() argument
608 if (top != NULL) { in TrueMotion8x8()
611 const v16u8 T1 = LD_UB(top); in TrueMotion8x8()
636 if (top != NULL) { in TrueMotion8x8()
637 VerticalPred8x8(dst, top); in TrueMotion8x8()
646 const uint8_t* top) { in DCMode8x8() argument
649 if (top != NULL && left != NULL) { in DCMode8x8()
651 const uint64_t top_m = LD(top); in DCMode8x8()
654 } else if (left != NULL) { // left but no top in DCMode8x8()
658 } else if (top != NULL) { // top but no left in DCMode8x8()
659 const uint64_t top_m = LD(top); in DCMode8x8()
662 } else { // no top, no left, nothing. in DCMode8x8()
670 const uint8_t* top) { in IntraChromaPreds() argument
672 DCMode8x8(C8DC8 + dst, left, top); in IntraChromaPreds()
673 VerticalPred8x8(C8VE8 + dst, top); in IntraChromaPreds()
675 TrueMotion8x8(C8TM8 + dst, left, top); in IntraChromaPreds()
678 if (top != NULL) top += 8; in IntraChromaPreds()
680 DCMode8x8(C8DC8 + dst, left, top); in IntraChromaPreds()
681 VerticalPred8x8(C8VE8 + dst, top); in IntraChromaPreds()
683 TrueMotion8x8(C8TM8 + dst, left, top); in IntraChromaPreds()