Home | History | Annotate | Download | only in vpx_dsp

Lines Matching refs:output

15 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride) {
70 out = output;
76 for (j = 0; j < 4; ++j) output[j + i * 4] = (output[j + i * 4] + 1) >> 2;
81 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride) {
87 output[0] = sum * 2;
94 tran_low_t *output = intermediate;
136 output[0] = (tran_low_t)fdct_round_shift(t0);
137 output[2] = (tran_low_t)fdct_round_shift(t2);
138 output[4] = (tran_low_t)fdct_round_shift(t1);
139 output[6] = (tran_low_t)fdct_round_shift(t3);
158 output[1] = (tran_low_t)fdct_round_shift(t0);
159 output[3] = (tran_low_t)fdct_round_shift(t2);
160 output[5] = (tran_low_t)fdct_round_shift(t1);
161 output[7] = (tran_low_t)fdct_round_shift(t3);
162 output += 8;
165 output = final_output;
174 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride) {
180 output[0] = sum;
183 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride) {
359 out = output;
363 void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride) {
369 output[0] = (tran_low_t)(sum >> 1);
385 void vpx_fdct32(const tran_high_t *input, tran_high_t *output, int round) {
422 output[0] = step[0] + step[16 - 1];
423 output[1] = step[1] + step[16 - 2];
424 output
425 output[3] = step[3] + step[16 - 4];
426 output[4] = step[4] + step[16 - 5];
427 output[5] = step[5] + step[16 - 6];
428 output[6] = step[6] + step[16 - 7];
429 output[7] = step[7] + step[16 - 8];
430 output[8] = -step[8] + step[16 - 9];
431 output[9] = -step[9] + step[16 - 10];
432 output[10] = -step[10] + step[16 - 11];
433 output[11] = -step[11] + step[16 - 12];
434 output[12] = -step[12] + step[16 - 13];
435 output[13] = -step[13] + step[16 - 14];
436 output[14] = -step[14] + step[16 - 15];
437 output[15] = -step[15] + step[16 - 16];
439 output[16] = step[16];
440 output[17] = step[17];
441 output[18] = step[18];
442 output[19] = step[19];
444 output[20] = dct_32_round((-step[20] + step[27]) * cospi_16_64);
445 output[21] = dct_32_round((-step[21] + step[26]) * cospi_16_64);
446 output[22] = dct_32_round((-step[22] + step[25]) * cospi_16_64);
447 output[23] = dct_32_round((-step[23] + step[24]) * cospi_16_64);
449 output[24] = dct_32_round((step[24] + step[23]) * cospi_16_64);
450 output[25] = dct_32_round((step[25] + step[22]) * cospi_16_64);
451 output[26] = dct_32_round((step[26] + step[21]) * cospi_16_64);
452 output[27] = dct_32_round((step[27] + step[20]) * cospi_16_64);
454 output[28] = step[28];
455 output[29] = step[29];
456 output[30] = step[30];
457 output[31] = step[31];
462 output[0] = half_round_shift(output[0]);
463 output[1] = half_round_shift(output[1]);
464 output[2] = half_round_shift(output[2]);
465 output[3] = half_round_shift(output[3]);
466 output[4] = half_round_shift(output[4]);
467 output[5] = half_round_shift(output[5]);
468 output[6] = half_round_shift(output[6]);
469 output[7] = half_round_shift(output[7]);
470 output[8] = half_round_shift(output[8]);
471 output[9] = half_round_shift(output[9]);
472 output[10] = half_round_shift(output[10]);
473 output[11] = half_round_shift(output[11]);
474 output[12] = half_round_shift(output[12]);
475 output[13] = half_round_shift(output[13]);
476 output[14] = half_round_shift(output[14]);
477 output[15] = half_round_shift(output[15]);
479 output[16] = half_round_shift(output[16]);
480 output[17] = half_round_shift(output[17]);
481 output[18] = half_round_shift(output[18]);
482 output[19] = half_round_shift(output[19]);
483 output[20] = half_round_shift(output[20]);
484 output[21] = half_round_shift(output[21]);
485 output[22] = half_round_shift(output[22]);
486 output[23] = half_round_shift(output[23]);
487 output[24] = half_round_shift(output[24]);
488 output[25] = half_round_shift(output[25]);
489 output[26] = half_round_shift(output[26]);
490 output[27] = half_round_shift(output[27]);
491 output[28] = half_round_shift(output[28]);
492 output[29] = half_round_shift(output[29]);
493 output[30] = half_round_shift(output[30]);
494 output[31] = half_round_shift(output[31]);
498 step[0] = output[0] + output[(8 - 1)];
499 step[1] = output[1] + output[(8 - 2)];
500 step[2] = output[2] + output[(8 - 3)];
501 step[3] = output[3] + output[(8 - 4)];
502 step[4] = -output[4] + output[(8 - 5)];
503 step[5] = -output[5] + output[(8 - 6)];
504 step[6] = -output[6] + output[(8 - 7)];
505 step[7] = -output[7] + output[(8 - 8)];
506 step[8] = output[8];
507 step[9] = output[9];
508 step[10] = dct_32_round((-output[10] + output[13]) * cospi_16_64);
509 step[11] = dct_32_round((-output[11] + output[12]) * cospi_16_64);
510 step[12] = dct_32_round((output[12] + output[11]) * cospi_16_64);
511 step[13] = dct_32_round((output[13] + output[10]) * cospi_16_64);
512 step[14] = output[14];
513 step[15] = output[15];
515 step[16] = output[16] + output[23];
516 step[17] = output[17] + output[22];
517 step[18] = output[18] + output[21];
518 step[19] = output[19] + output[20];
519 step[20] = -output[20] + output[19];
520 step[21] = -output[21] + output[18];
521 step[22] = -output[22] + output[17];
522 step[23] = -output[23] + output[16];
523 step[24] = -output[24] + output[31];
524 step[25] = -output[25] + output[30];
525 step[26] = -output[26] + output[29];
526 step[27] = -output[27] + output[28];
527 step[28] = output[28] + output[27];
528 step[29] = output[29] + output[26];
529 step[30] = output[30] + output[25];
530 step[31] = output[31] + output[24];
533 output[0] = step[0] + step[3];
534 output[1] = step[1] + step[2];
535 output[2] = -step[2] + step[1];
536 output[3] = -step[3] + step[0];
537 output[4] = step[4];
538 output[5] = dct_32_round((-step[5] + step[6]) * cospi_16_64);
539 output[6] = dct_32_round((step[6] + step[5]) * cospi_16_64);
540 output[7] = step[7];
541 output[8] = step[8] + step[11];
542 output[9] = step[9] + step[10];
543 output[10] = -step[10] + step[9];
544 output[11] = -step[11] + step[8];
545 output[12] = -step[12] + step[15];
546 output[13] = -step[13] + step[14];
547 output[14] = step[14] + step[13];
548 output[15] = step[15] + step[12];
550 output[16] = step[16];
551 output[17] = step[17];
552 output[18] = dct_32_round(step[18] * -cospi_8_64 + step[29] * cospi_24_64);
553 output[19] = dct_32_round(step[19] * -cospi_8_64 + step[28] * cospi_24_64);
554 output[20] = dct_32_round(step[20] * -cospi_24_64 + step[27] * -cospi_8_64);
555 output[21] = dct_32_round(step[21] * -cospi_24_64 + step[26] * -cospi_8_64);
556 output[22] = step[22];
557 output[23] = step[23];
558 output[24] = step[24];
559 output[25] = step[25];
560 output[26] = dct_32_round(step[26] * cospi_24_64 + step[21] * -cospi_8_64);
561 output[27] = dct_32_round(step[27] * cospi_24_64 + step[20] * -cospi_8_64);
562 output[28] = dct_32_round(step[28] * cospi_8_64 + step[19] * cospi_24_64);
563 output[29] = dct_32_round(step[29] * cospi_8_64 + step[18] * cospi_24_64);
564 output[30] = step[30];
565 output[31] = step[31];
568 step[0] = dct_32_round((output[0] + output[1]) * cospi_16_64);
569 step[1] = dct_32_round((-output[1] + output[0]) * cospi_16_64);
570 step[2] = dct_32_round(output[2] * cospi_24_64 + output[3] * cospi_8_64);
571 step[3] = dct_32_round(output[3] * cospi_24_64 - output[2] * cospi_8_64);
572 step[4] = output[4] + output[5];
573 step[5] = -output[5] + output[4];
574 step[6] = -output[6] + output[7];
575 step[7] = output[7] + output[6];
576 step[8] = output[8];
577 step[9] = dct_32_round(output[9] * -cospi_8_64 + output[14] * cospi_24_64);
578 step[10] = dct_32_round(output[10] * -cospi_24_64 + output[13] * -cospi_8_64);
579 step[11] = output[11];
580 step[12] = output[12];
581 step[13] = dct_32_round(output[13] * cospi_24_64 + output[10] * -cospi_8_64);
582 step[14] = dct_32_round(output[14] * cospi_8_64 + output[9] * cospi_24_64);
583 step[15] = output[15];
585 step[16] = output[16] + output[19];
586 step[17] = output[17] + output[18];
587 step[18] = -output[18] + output[17];
588 step[19] = -output[19] + output[16];
589 step[20] = -output[20] + output[23];
590 step[21] = -output[21] + output[22];
591 step[22] = output[22] + output[21];
592 step[23] = output[23] + output[20];
593 step[24] = output[24] + output[27];
594 step[25] = output[25] + output[26];
595 step[26] = -output[26] + output[25];
596 step[27] = -output[27] + output[24];
597 step[28] = -output[28] + output[31];
598 step[29] = -output[29] + output[30];
599 step[30] = output[30] + output[29];
600 step[31] = output[31] + output[28];
603 output[0] = step[0];
604 output[1] = step[1];
605 output[2] = step[2];
606 output[3] = step[3];
607 output[4] = dct_32_round(step[4] * cospi_28_64 + step[7] * cospi_4_64);
608 output[5] = dct_32_round(step[5] * cospi_12_64 + step[6] * cospi_20_64);
609 output[6] = dct_32_round(step[6] * cospi_12_64 + step[5] * -cospi_20_64);
610 output[7] = dct_32_round(step[7] * cospi_28_64 + step[4] * -cospi_4_64);
611 output[8] = step[8] + step[9];
612 output[9] = -step[9] + step[8];
613 output[10] = -step[10] + step[11];
614 output[11] = step[11] + step[10];
615 output[12] = step[12] + step[13];
616 output[13] = -step[13] + step[12];
617 output[14] = -step[14] + step[15];
618 output[15] = step[15] + step[14];
620 output[16] = step[16];
621 output[17] = dct_32_round(step[17] * -cospi_4_64 + step[30] * cospi_28_64);
622 output[18] = dct_32_round(step[18] * -cospi_28_64 + step[29] * -cospi_4_64);
623 output[19] = step[19];
624 output[20] = step[20];
625 output[21] = dct_32_round(step[21] * -cospi_20_64 + step[26] * cospi_12_64);
626 output[22] = dct_32_round(step[22] * -cospi_12_64 + step[25] * -cospi_20_64);
627 output[23] = step[23];
628 output[24] = step[24];
629 output[25] = dct_32_round(step[25] * cospi_12_64 + step[22] * -cospi_20_64);
630 output[26] = dct_32_round(step[26] * cospi_20_64 + step[21] * cospi_12_64);
631 output[27] = step[27];
632 output[28] = step[28];
633 output[29] = dct_32_round(step[29] * cospi_28_64 + step[18] * -cospi_4_64);
634 output[30] = dct_32_round(step[30] * cospi_4_64 + step[17] * cospi_28_64);
635 output[31] = step[31];
638 step[0] = output[0];
639 step[1] = output[1];
640 step[2] = output[2];
641 step[3] = output[3];
642 step[4] = output[4];
643 step[5] = output[5];
644 step[6] = output[6];
645 step[7] = output[7];
646 step[8] = dct_32_round(output[8] * cospi_30_64 + output[15] * cospi_2_64);
647 step[9] = dct_32_round(output[9] * cospi_14_64 + output[14] * cospi_18_64);
648 step[10] = dct_32_round(output[10] * cospi_22_64 + output[13] * cospi_10_64);
649 step[11] = dct_32_round(output[11] * cospi_6_64 + output[12] * cospi_26_64);
650 step[12] = dct_32_round(output[12] * cospi_6_64 + output[11] * -cospi_26_64);
651 step[13] = dct_32_round(output[13] * cospi_22_64 + output[10] * -cospi_10_64);
652 step[14] = dct_32_round(output[14] * cospi_14_64 + output[9] * -cospi_18_64);
653 step[15] = dct_32_round(output[15] * cospi_30_64 + output[8] * -cospi_2_64);
655 step[16] = output[16] + output[17];
656 step[17] = -output[17] + output[16];
657 step[18] = -output[18] + output[19];
658 step[19] = output[19] + output[18];
659 step[20] = output[20] + output[21];
660 step[21] = -output[21] + output[20];
661 step[22] = -output[22] + output[23];
662 step[23] = output[23] + output[22];
663 step[24] = output[24] + output[25];
664 step[25] = -output[25] + output[24];
665 step[26] = -output[26] + output[27];
666 step[27] = output[27] + output[26];
667 step[28] = output[28] + output[29];
668 step[29] = -output[29] + output[28];
669 step[30] = -output[30] + output[31];
670 step[31] = output[31] + output[30];
673 output[0] = step[0];
674 output[16] = step[1];
675 output[8] = step[2];
676 output[24] = step[3];
677 output[4] = step[4];
678 output[20] = step[5];
679 output[12] = step[6];
680 output[28] = step[7];
681 output[2] = step[8];
682 output[18] = step[9];
683 output[10] = step[10];
684 output[26] = step[11];
685 output[6] = step[12];
686 output[22] = step[13];
687 output[14] = step[14];
688 output[30] = step[15];
690 output[1] = dct_32_round(step[16] * cospi_31_64 + step[31] * cospi_1_64);
691 output[17] = dct_32_round(step[17] * cospi_15_64 + step[30] * cospi_17_64);
692 output[9] = dct_32_round(step[18] * cospi_23_64 + step[29] * cospi_9_64);
693 output[25] = dct_32_round(step[19] * cospi_7_64 + step[28] * cospi_25_64);
694 output[5] = dct_32_round(step[20] * cospi_27_64 + step[27] * cospi_5_64);
695 output[21] = dct_32_round(step[21] * cospi_11_64 + step[26] * cospi_21_64);
696 output[13] = dct_32_round(step[22] * cospi_19_64 + step[25] * cospi_13_64);
697 output[29] = dct_32_round(step[23] * cospi_3_64 + step[24] * cospi_29_64);
698 output[3] = dct_32_round(step[24] * cospi_3_64 + step[23] * -cospi_29_64);
699 output[19] = dct_32_round(step[25] * cospi_19_64 + step[22] * -cospi_13_64);
700 output[11] = dct_32_round(step[26] * cospi_11_64 + step[21] * -cospi_21_64);
701 output[27] = dct_32_round(step[27] * cospi_27_64 + step[20] * -cospi_5_64);
702 output[7] = dct_32_round(step[28] * cospi_7_64 + step[19] * -cospi_25_64);
703 output[23] = dct_32_round(step[29] * cospi_23_64 + step[18] * -cospi_9_64);
704 output[15] = dct_32_round(step[30] * cospi_15_64 + step[17] * -cospi_17_64);
705 output[31] = dct_32_round(step[31] * cospi_31_64 + step[16] * -cospi_1_64);
710 tran_high_t output[32 * 32];
718 output[j * 32 + i] = (temp_out[j] + 1 + (temp_out[j] > 0)) >> 2;
724 for (j = 0; j < 32; ++j) temp_in[j] = output[j + i * 32];
737 tran_high_t output[32 * 32];
746 // output[j * 32 + i] = (temp_out[j] + 1) >> 2;
748 output[j * 32 + i] = (temp_out[j] + 1 + (temp_out[j] > 0)) >> 2;
754 for (j = 0; j < 32; ++j) temp_in[j] = output[j + i * 32];
760 void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride) {
766 output[0] = (tran_low_t)(sum >> 3);
770 void vpx_highbd_fdct4x4_c(const int16_t *input, tran_low_t *output,
772 vpx_fdct4x4_c(input, output, stride);
785 void vpx_highbd_fdct16x16_c(const int16_t *input, tran_low_t *output,
787 vpx_fdct16x16_c(input, output, stride);
790 void vpx_highbd_fdct16x16_1_c(const int16_t *input, tran_low_t *output,
792 vpx_fdct16x16_1_c(input, output, stride);