• Home
  • Raw
  • Download

Lines Matching refs:top

254                                      const uint8_t* top, int size) {  in VerticalPred()  argument
256 if (top) { in VerticalPred()
257 for (j = 0; j < size; ++j) memcpy(dst + j * BPS, top, size); in VerticalPred()
276 const uint8_t* top, int size) { in TrueMotion() argument
279 if (top) { in TrueMotion()
285 dst[x] = clip_table[top[x]]; in TrueMotion()
297 if (top) { in TrueMotion()
298 VerticalPred(dst, top, size); in TrueMotion()
306 const uint8_t* top, in DCMode() argument
310 if (top) { in DCMode()
311 for (j = 0; j < size; ++j) DC += top[j]; in DCMode()
332 const uint8_t* top) { in IntraChromaPreds() argument
334 DCMode(C8DC8 + dst, left, top, 8, 8, 4); in IntraChromaPreds()
335 VerticalPred(C8VE8 + dst, top, 8); in IntraChromaPreds()
337 TrueMotion(C8TM8 + dst, left, top, 8); in IntraChromaPreds()
340 if (top) top += 8; in IntraChromaPreds()
342 DCMode(C8DC8 + dst, left, top, 8, 8, 4); in IntraChromaPreds()
343 VerticalPred(C8VE8 + dst, top, 8); in IntraChromaPreds()
345 TrueMotion(C8TM8 + dst, left, top, 8); in IntraChromaPreds()
352 const uint8_t* left, const uint8_t* top) { in Intra16Preds() argument
353 DCMode(I16DC16 + dst, left, top, 16, 16, 5); in Intra16Preds()
354 VerticalPred(I16VE16 + dst, top, 16); in Intra16Preds()
356 TrueMotion(I16TM16 + dst, left, top, 16); in Intra16Preds()
365 static void VE4(uint8_t* dst, const uint8_t* top) { // vertical in VE4() argument
367 AVG3(top[-1], top[0], top[1]), in VE4()
368 AVG3(top[ 0], top[1], top[2]), in VE4()
369 AVG3(top[ 1], top[2], top[3]), in VE4()
370 AVG3(top[ 2], top[3], top[4]) in VE4()
378 static void HE4(uint8_t* dst, const uint8_t* top) { // horizontal in HE4() argument
379 const int X = top[-1]; in HE4()
380 const int I = top[-2]; in HE4()
381 const int J = top[-3]; in HE4()
382 const int K = top[-4]; in HE4()
383 const int L = top[-5]; in HE4()
390 static void DC4(uint8_t* dst, const uint8_t* top) { in DC4() argument
393 for (i = 0; i < 4; ++i) dc += top[i] + top[-5 + i]; in DC4()
397 static void RD4(uint8_t* dst, const uint8_t* top) { in RD4() argument
398 const int X = top[-1]; in RD4()
399 const int I = top[-2]; in RD4()
400 const int J = top[-3]; in RD4()
401 const int K = top[-4]; in RD4()
402 const int L = top[-5]; in RD4()
403 const int A = top[0]; in RD4()
404 const int B = top[1]; in RD4()
405 const int C = top[2]; in RD4()
406 const int D = top[3]; in RD4()
416 static void LD4(uint8_t* dst, const uint8_t* top) { in LD4() argument
417 const int A = top[0]; in LD4()
418 const int B = top[1]; in LD4()
419 const int C = top[2]; in LD4()
420 const int D = top[3]; in LD4()
421 const int E = top[4]; in LD4()
422 const int F = top[5]; in LD4()
423 const int G = top[6]; in LD4()
424 const int H = top[7]; in LD4()
434 static void VR4(uint8_t* dst, const uint8_t* top) { in VR4() argument
435 const int X = top[-1]; in VR4()
436 const int I = top[-2]; in VR4()
437 const int J = top[-3]; in VR4()
438 const int K = top[-4]; in VR4()
439 const int A = top[0]; in VR4()
440 const int B = top[1]; in VR4()
441 const int C = top[2]; in VR4()
442 const int D = top[3]; in VR4()
456 static void VL4(uint8_t* dst, const uint8_t* top) { in VL4() argument
457 const int A = top[0]; in VL4()
458 const int B = top[1]; in VL4()
459 const int C = top[2]; in VL4()
460 const int D = top[3]; in VL4()
461 const int E = top[4]; in VL4()
462 const int F = top[5]; in VL4()
463 const int G = top[6]; in VL4()
464 const int H = top[7]; in VL4()
478 static void HU4(uint8_t* dst, const uint8_t* top) { in HU4() argument
479 const int I = top[-2]; in HU4()
480 const int J = top[-3]; in HU4()
481 const int K = top[-4]; in HU4()
482 const int L = top[-5]; in HU4()
493 static void HD4(uint8_t* dst, const uint8_t* top) { in HD4() argument
494 const int X = top[-1]; in HD4()
495 const int I = top[-2]; in HD4()
496 const int J = top[-3]; in HD4()
497 const int K = top[-4]; in HD4()
498 const int L = top[-5]; in HD4()
499 const int A = top[0]; in HD4()
500 const int B = top[1]; in HD4()
501 const int C = top[2]; in HD4()
516 static void TM4(uint8_t* dst, const uint8_t* top) { in TM4() argument
518 const uint8_t* const clip = clip1 + 255 - top[-1]; in TM4()
520 const uint8_t* const clip_table = clip + top[-2 - y]; in TM4()
522 dst[x] = clip_table[top[x]]; in TM4()
534 static void Intra4Preds(uint8_t* dst, const uint8_t* top) { in Intra4Preds() argument
535 DC4(I4DC4 + dst, top); in Intra4Preds()
536 TM4(I4TM4 + dst, top); in Intra4Preds()
537 VE4(I4VE4 + dst, top); in Intra4Preds()
538 HE4(I4HE4 + dst, top); in Intra4Preds()
539 RD4(I4RD4 + dst, top); in Intra4Preds()
540 VR4(I4VR4 + dst, top); in Intra4Preds()
541 LD4(I4LD4 + dst, top); in Intra4Preds()
542 VL4(I4VL4 + dst, top); in Intra4Preds()
543 HD4(I4HD4 + dst, top); in Intra4Preds()
544 HU4(I4HU4 + dst, top); in Intra4Preds()