• Home
  • Raw
  • Download

Lines Matching refs:top

246                                      const uint8_t* WEBP_RESTRICT top,  in VerticalPred()  argument
249 if (top != NULL) { in VerticalPred()
250 for (j = 0; j < size; ++j) memcpy(dst + j * BPS, top, size); in VerticalPred()
271 const uint8_t* WEBP_RESTRICT top, int size) { in TrueMotion() argument
274 if (top != NULL) { in TrueMotion()
280 dst[x] = clip_table[top[x]]; in TrueMotion()
292 if (top != NULL) { in TrueMotion()
293 VerticalPred(dst, top, size); in TrueMotion()
302 const uint8_t* WEBP_RESTRICT top, in DCMode() argument
306 if (top != NULL) { in DCMode()
307 for (j = 0; j < size; ++j) DC += top[j]; in DCMode()
329 const uint8_t* WEBP_RESTRICT top) { in IntraChromaPreds_C() argument
331 DCMode(C8DC8 + dst, left, top, 8, 8, 4); in IntraChromaPreds_C()
332 VerticalPred(C8VE8 + dst, top, 8); in IntraChromaPreds_C()
334 TrueMotion(C8TM8 + dst, left, top, 8); in IntraChromaPreds_C()
337 if (top != NULL) top += 8; in IntraChromaPreds_C()
339 DCMode(C8DC8 + dst, left, top, 8, 8, 4); in IntraChromaPreds_C()
340 VerticalPred(C8VE8 + dst, top, 8); in IntraChromaPreds_C()
342 TrueMotion(C8TM8 + dst, left, top, 8); in IntraChromaPreds_C()
351 const uint8_t* WEBP_RESTRICT top) { in Intra16Preds_C() argument
352 DCMode(I16DC16 + dst, left, top, 16, 16, 5); in Intra16Preds_C()
353 VerticalPred(I16VE16 + dst, top, 16); in Intra16Preds_C()
355 TrueMotion(I16TM16 + dst, left, top, 16); in Intra16Preds_C()
369 static void VE4(uint8_t* WEBP_RESTRICT dst, const uint8_t* WEBP_RESTRICT top) { in VE4() argument
371 AVG3(top[-1], top[0], top[1]), in VE4()
372 AVG3(top[ 0], top[1], top[2]), in VE4()
373 AVG3(top[ 1], top[2], top[3]), in VE4()
374 AVG3(top[ 2], top[3], top[4]) in VE4()
383 static void HE4(uint8_t* WEBP_RESTRICT dst, const uint8_t* WEBP_RESTRICT top) { in HE4() argument
384 const int X = top[-1]; in HE4()
385 const int I = top[-2]; in HE4()
386 const int J = top[-3]; in HE4()
387 const int K = top[-4]; in HE4()
388 const int L = top[-5]; in HE4()
395 static void DC4(uint8_t* WEBP_RESTRICT dst, const uint8_t* WEBP_RESTRICT top) { in DC4() argument
398 for (i = 0; i < 4; ++i) dc += top[i] + top[-5 + i]; in DC4()
402 static void RD4(uint8_t* WEBP_RESTRICT dst, const uint8_t* WEBP_RESTRICT top) { in RD4() argument
403 const int X = top[-1]; in RD4()
404 const int I = top[-2]; in RD4()
405 const int J = top[-3]; in RD4()
406 const int K = top[-4]; in RD4()
407 const int L = top[-5]; in RD4()
408 const int A = top[0]; in RD4()
409 const int B = top[1]; in RD4()
410 const int C = top[2]; in RD4()
411 const int D = top[3]; in RD4()
421 static void LD4(uint8_t* WEBP_RESTRICT dst, const uint8_t* WEBP_RESTRICT top) { in LD4() argument
422 const int A = top[0]; in LD4()
423 const int B = top[1]; in LD4()
424 const int C = top[2]; in LD4()
425 const int D = top[3]; in LD4()
426 const int E = top[4]; in LD4()
427 const int F = top[5]; in LD4()
428 const int G = top[6]; in LD4()
429 const int H = top[7]; in LD4()
439 static void VR4(uint8_t* WEBP_RESTRICT dst, const uint8_t* WEBP_RESTRICT top) { in VR4() argument
440 const int X = top[-1]; in VR4()
441 const int I = top[-2]; in VR4()
442 const int J = top[-3]; in VR4()
443 const int K = top[-4]; in VR4()
444 const int A = top[0]; in VR4()
445 const int B = top[1]; in VR4()
446 const int C = top[2]; in VR4()
447 const int D = top[3]; in VR4()
461 static void VL4(uint8_t* WEBP_RESTRICT dst, const uint8_t* WEBP_RESTRICT top) { in VL4() argument
462 const int A = top[0]; in VL4()
463 const int B = top[1]; in VL4()
464 const int C = top[2]; in VL4()
465 const int D = top[3]; in VL4()
466 const int E = top[4]; in VL4()
467 const int F = top[5]; in VL4()
468 const int G = top[6]; in VL4()
469 const int H = top[7]; in VL4()
483 static void HU4(uint8_t* WEBP_RESTRICT dst, const uint8_t* WEBP_RESTRICT top) { in HU4() argument
484 const int I = top[-2]; in HU4()
485 const int J = top[-3]; in HU4()
486 const int K = top[-4]; in HU4()
487 const int L = top[-5]; in HU4()
498 static void HD4(uint8_t* WEBP_RESTRICT dst, const uint8_t* WEBP_RESTRICT top) { in HD4() argument
499 const int X = top[-1]; in HD4()
500 const int I = top[-2]; in HD4()
501 const int J = top[-3]; in HD4()
502 const int K = top[-4]; in HD4()
503 const int L = top[-5]; in HD4()
504 const int A = top[0]; in HD4()
505 const int B = top[1]; in HD4()
506 const int C = top[2]; in HD4()
521 static void TM4(uint8_t* WEBP_RESTRICT dst, const uint8_t* WEBP_RESTRICT top) { in TM4() argument
523 const uint8_t* const clip = clip1 + 255 - top[-1]; in TM4()
525 const uint8_t* const clip_table = clip + top[-2 - y]; in TM4()
527 dst[x] = clip_table[top[x]]; in TM4()
540 const uint8_t* WEBP_RESTRICT top) { in Intra4Preds_C() argument
541 DC4(I4DC4 + dst, top); in Intra4Preds_C()
542 TM4(I4TM4 + dst, top); in Intra4Preds_C()
543 VE4(I4VE4 + dst, top); in Intra4Preds_C()
544 HE4(I4HE4 + dst, top); in Intra4Preds_C()
545 RD4(I4RD4 + dst, top); in Intra4Preds_C()
546 VR4(I4VR4 + dst, top); in Intra4Preds_C()
547 LD4(I4LD4 + dst, top); in Intra4Preds_C()
548 VL4(I4VL4 + dst, top); in Intra4Preds_C()
549 HD4(I4HD4 + dst, top); in Intra4Preds_C()
550 HU4(I4HU4 + dst, top); in Intra4Preds_C()