Lines Matching refs:top
229 const uint8_t* top, int size) { in VerticalPred() argument
231 if (top != NULL) { in VerticalPred()
232 for (j = 0; j < size; ++j) memcpy(dst + j * BPS, top, size); in VerticalPred()
251 const uint8_t* top, int size) { in TrueMotion() argument
254 if (top != NULL) { in TrueMotion()
260 dst[x] = clip_table[top[x]]; in TrueMotion()
272 if (top != NULL) { in TrueMotion()
273 VerticalPred(dst, top, size); in TrueMotion()
281 const uint8_t* top, in DCMode() argument
285 if (top != NULL) { in DCMode()
286 for (j = 0; j < size; ++j) DC += top[j]; in DCMode()
307 const uint8_t* top) { in IntraChromaPreds() argument
309 DCMode(C8DC8 + dst, left, top, 8, 8, 4); in IntraChromaPreds()
310 VerticalPred(C8VE8 + dst, top, 8); in IntraChromaPreds()
312 TrueMotion(C8TM8 + dst, left, top, 8); in IntraChromaPreds()
315 if (top != NULL) top += 8; in IntraChromaPreds()
317 DCMode(C8DC8 + dst, left, top, 8, 8, 4); in IntraChromaPreds()
318 VerticalPred(C8VE8 + dst, top, 8); in IntraChromaPreds()
320 TrueMotion(C8TM8 + dst, left, top, 8); in IntraChromaPreds()
327 const uint8_t* left, const uint8_t* top) { in Intra16Preds() argument
328 DCMode(I16DC16 + dst, left, top, 16, 16, 5); in Intra16Preds()
329 VerticalPred(I16VE16 + dst, top, 16); in Intra16Preds()
331 TrueMotion(I16TM16 + dst, left, top, 16); in Intra16Preds()
341 static void VE4(uint8_t* dst, const uint8_t* top) { // vertical in VE4() argument
343 AVG3(top[-1], top[0], top[1]), in VE4()
344 AVG3(top[ 0], top[1], top[2]), in VE4()
345 AVG3(top[ 1], top[2], top[3]), in VE4()
346 AVG3(top[ 2], top[3], top[4]) in VE4()
354 static void HE4(uint8_t* dst, const uint8_t* top) { // horizontal in HE4() argument
355 const int X = top[-1]; in HE4()
356 const int I = top[-2]; in HE4()
357 const int J = top[-3]; in HE4()
358 const int K = top[-4]; in HE4()
359 const int L = top[-5]; in HE4()
366 static void DC4(uint8_t* dst, const uint8_t* top) { in DC4() argument
369 for (i = 0; i < 4; ++i) dc += top[i] + top[-5 + i]; in DC4()
373 static void RD4(uint8_t* dst, const uint8_t* top) { in RD4() argument
374 const int X = top[-1]; in RD4()
375 const int I = top[-2]; in RD4()
376 const int J = top[-3]; in RD4()
377 const int K = top[-4]; in RD4()
378 const int L = top[-5]; in RD4()
379 const int A = top[0]; in RD4()
380 const int B = top[1]; in RD4()
381 const int C = top[2]; in RD4()
382 const int D = top[3]; in RD4()
392 static void LD4(uint8_t* dst, const uint8_t* top) { in LD4() argument
393 const int A = top[0]; in LD4()
394 const int B = top[1]; in LD4()
395 const int C = top[2]; in LD4()
396 const int D = top[3]; in LD4()
397 const int E = top[4]; in LD4()
398 const int F = top[5]; in LD4()
399 const int G = top[6]; in LD4()
400 const int H = top[7]; in LD4()
410 static void VR4(uint8_t* dst, const uint8_t* top) { in VR4() argument
411 const int X = top[-1]; in VR4()
412 const int I = top[-2]; in VR4()
413 const int J = top[-3]; in VR4()
414 const int K = top[-4]; in VR4()
415 const int A = top[0]; in VR4()
416 const int B = top[1]; in VR4()
417 const int C = top[2]; in VR4()
418 const int D = top[3]; in VR4()
432 static void VL4(uint8_t* dst, const uint8_t* top) { in VL4() argument
433 const int A = top[0]; in VL4()
434 const int B = top[1]; in VL4()
435 const int C = top[2]; in VL4()
436 const int D = top[3]; in VL4()
437 const int E = top[4]; in VL4()
438 const int F = top[5]; in VL4()
439 const int G = top[6]; in VL4()
440 const int H = top[7]; in VL4()
454 static void HU4(uint8_t* dst, const uint8_t* top) { in HU4() argument
455 const int I = top[-2]; in HU4()
456 const int J = top[-3]; in HU4()
457 const int K = top[-4]; in HU4()
458 const int L = top[-5]; in HU4()
469 static void HD4(uint8_t* dst, const uint8_t* top) { in HD4() argument
470 const int X = top[-1]; in HD4()
471 const int I = top[-2]; in HD4()
472 const int J = top[-3]; in HD4()
473 const int K = top[-4]; in HD4()
474 const int L = top[-5]; in HD4()
475 const int A = top[0]; in HD4()
476 const int B = top[1]; in HD4()
477 const int C = top[2]; in HD4()
492 static void TM4(uint8_t* dst, const uint8_t* top) { in TM4() argument
494 const uint8_t* const clip = clip1 + 255 - top[-1]; in TM4()
496 const uint8_t* const clip_table = clip + top[-2 - y]; in TM4()
498 dst[x] = clip_table[top[x]]; in TM4()
510 static void Intra4Preds(uint8_t* dst, const uint8_t* top) { in Intra4Preds() argument
511 DC4(I4DC4 + dst, top); in Intra4Preds()
512 TM4(I4TM4 + dst, top); in Intra4Preds()
513 VE4(I4VE4 + dst, top); in Intra4Preds()
514 HE4(I4HE4 + dst, top); in Intra4Preds()
515 RD4(I4RD4 + dst, top); in Intra4Preds()
516 VR4(I4VR4 + dst, top); in Intra4Preds()
517 LD4(I4LD4 + dst, top); in Intra4Preds()
518 VL4(I4VL4 + dst, top); in Intra4Preds()
519 HD4(I4HD4 + dst, top); in Intra4Preds()
520 HU4(I4HU4 + dst, top); in Intra4Preds()