Lines Matching refs:pi2_src
93 void ihevc_itrans_4x4_ttype1(WORD16 *pi2_src, in ihevc_itrans_4x4_ttype1() argument
115 c[0] = pi2_src[0] + pi2_src[2 * src_strd]; in ihevc_itrans_4x4_ttype1()
116 c[1] = pi2_src[2 * src_strd] + pi2_src[3 * src_strd]; in ihevc_itrans_4x4_ttype1()
117 c[2] = pi2_src[0] - pi2_src[3 * src_strd]; in ihevc_itrans_4x4_ttype1()
118 c[3] = 74 * pi2_src[src_strd]; in ihevc_itrans_4x4_ttype1()
125 … CLIP_S16((74 * (pi2_src[0] - pi2_src[2 * src_strd] + pi2_src[3 * src_strd]) + add) >> i4_shift); in ihevc_itrans_4x4_ttype1()
129 pi2_src++; in ihevc_itrans_4x4_ttype1()
176 void ihevc_itrans_4x4(WORD16 *pi2_src, in ihevc_itrans_4x4() argument
200 o[0] = g_ai2_ihevc_trans_4[1][0] * pi2_src[src_strd] in ihevc_itrans_4x4()
201 + g_ai2_ihevc_trans_4[3][0] * pi2_src[3 * src_strd]; in ihevc_itrans_4x4()
202 o[1] = g_ai2_ihevc_trans_4[1][1] * pi2_src[src_strd] in ihevc_itrans_4x4()
203 + g_ai2_ihevc_trans_4[3][1] * pi2_src[3 * src_strd]; in ihevc_itrans_4x4()
204 e[0] = g_ai2_ihevc_trans_4[0][0] * pi2_src[0] in ihevc_itrans_4x4()
205 + g_ai2_ihevc_trans_4[2][0] * pi2_src[2 * src_strd]; in ihevc_itrans_4x4()
206 e[1] = g_ai2_ihevc_trans_4[0][1] * pi2_src[0] in ihevc_itrans_4x4()
207 + g_ai2_ihevc_trans_4[2][1] * pi2_src[2 * src_strd]; in ihevc_itrans_4x4()
219 pi2_src++; in ihevc_itrans_4x4()
225 void ihevc_itrans_4x4(WORD16 *pi2_src, in ihevc_itrans_4x4() argument
259 temp = (pi2_src[src_strd] + pi2_src[3 * src_strd]) * 36; in ihevc_itrans_4x4()
261 o[0] = temp + 47 * pi2_src[src_strd]; in ihevc_itrans_4x4()
262 o[1] = temp - 119 * pi2_src[3 * src_strd]; in ihevc_itrans_4x4()
263 e[0] = (pi2_src[0] + pi2_src[2 * src_strd]) << 6; in ihevc_itrans_4x4()
264 e[1] = (pi2_src[0] - pi2_src[2 * src_strd]) << 6; in ihevc_itrans_4x4()
275 pi2_src++; in ihevc_itrans_4x4()
322 void ihevc_itrans_8x8(WORD16 *pi2_src, in ihevc_itrans_8x8() argument
348 o[k] = g_ai2_ihevc_trans_8[1][k] * pi2_src[src_strd] in ihevc_itrans_8x8()
350 * pi2_src[3 * src_strd] in ihevc_itrans_8x8()
352 * pi2_src[5 * src_strd] in ihevc_itrans_8x8()
354 * pi2_src[7 * src_strd]; in ihevc_itrans_8x8()
357 eo[0] = g_ai2_ihevc_trans_8[2][0] * pi2_src[2 * src_strd] in ihevc_itrans_8x8()
358 + g_ai2_ihevc_trans_8[6][0] * pi2_src[6 * src_strd]; in ihevc_itrans_8x8()
359 eo[1] = g_ai2_ihevc_trans_8[2][1] * pi2_src[2 * src_strd] in ihevc_itrans_8x8()
360 + g_ai2_ihevc_trans_8[6][1] * pi2_src[6 * src_strd]; in ihevc_itrans_8x8()
361 ee[0] = g_ai2_ihevc_trans_8[0][0] * pi2_src[0] in ihevc_itrans_8x8()
362 + g_ai2_ihevc_trans_8[4][0] * pi2_src[4 * src_strd]; in ihevc_itrans_8x8()
363 ee[1] = g_ai2_ihevc_trans_8[0][1] * pi2_src[0] in ihevc_itrans_8x8()
364 + g_ai2_ihevc_trans_8[4][1] * pi2_src[4 * src_strd]; in ihevc_itrans_8x8()
379 pi2_src++; in ihevc_itrans_8x8()
386 void ihevc_itrans_8x8(WORD16 *pi2_src, in ihevc_itrans_8x8() argument
442 temp1 = (pi2_src[src_strd] + pi2_src[3 * src_strd]) * 75; in ihevc_itrans_8x8()
443 temp2 = (pi2_src[5 * src_strd] + pi2_src[7 * src_strd]) * 50; in ihevc_itrans_8x8()
445 o[0] = temp1 + 14 * pi2_src[src_strd] + temp2 in ihevc_itrans_8x8()
446 - (pi2_src[7 * src_strd] << 5); in ihevc_itrans_8x8()
447 o[1] = temp1 - 93 * pi2_src[3 * src_strd] - temp2 in ihevc_itrans_8x8()
448 - 39 * pi2_src[5 * src_strd]; in ihevc_itrans_8x8()
459 temp1 = (pi2_src[src_strd] - pi2_src[3 * src_strd]) * 50; in ihevc_itrans_8x8()
460 temp2 = (pi2_src[5 * src_strd] + pi2_src[7 * src_strd]) * 75; in ihevc_itrans_8x8()
462 o[2] = temp1 - 39 * pi2_src[3 * src_strd] + temp2 in ihevc_itrans_8x8()
463 - 57 * pi2_src[5 * src_strd]; in ihevc_itrans_8x8()
464 o[3] = temp1 - (pi2_src[src_strd] << 5) + temp2 in ihevc_itrans_8x8()
465 - 164 * pi2_src[7 * src_strd]; in ihevc_itrans_8x8()
475 temp1 = (pi2_src[2 * src_strd] + pi2_src[6 * src_strd]) * 36; in ihevc_itrans_8x8()
476 eo[0] = temp1 + 47 * pi2_src[2 * src_strd]; in ihevc_itrans_8x8()
477 eo[1] = temp1 - 119 * pi2_src[6 * src_strd]; in ihevc_itrans_8x8()
480 ee[0] = (pi2_src[0] + pi2_src[4 * src_strd]) << 6; in ihevc_itrans_8x8()
481 ee[1] = (pi2_src[0] - pi2_src[4 * src_strd]) << 6; in ihevc_itrans_8x8()
496 pi2_src++; in ihevc_itrans_8x8()
545 void ihevc_itrans_16x16(WORD16 *pi2_src, in ihevc_itrans_16x16() argument
572 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_src[src_strd] in ihevc_itrans_16x16()
574 * pi2_src[3 * src_strd] in ihevc_itrans_16x16()
576 * pi2_src[5 * src_strd] in ihevc_itrans_16x16()
578 * pi2_src[7 * src_strd] in ihevc_itrans_16x16()
580 * pi2_src[9 * src_strd] in ihevc_itrans_16x16()
582 * pi2_src[11 * src_strd] in ihevc_itrans_16x16()
584 * pi2_src[13 * src_strd] in ihevc_itrans_16x16()
586 * pi2_src[15 * src_strd]; in ihevc_itrans_16x16()
590 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_src[2 * src_strd] in ihevc_itrans_16x16()
592 * pi2_src[6 * src_strd] in ihevc_itrans_16x16()
594 * pi2_src[10 * src_strd] in ihevc_itrans_16x16()
596 * pi2_src[14 * src_strd]; in ihevc_itrans_16x16()
598 eeo[0] = g_ai2_ihevc_trans_16[4][0] * pi2_src[4 * src_strd] in ihevc_itrans_16x16()
600 * pi2_src[12 * src_strd]; in ihevc_itrans_16x16()
602 g_ai2_ihevc_trans_16[0][0] * pi2_src[0] in ihevc_itrans_16x16()
604 * pi2_src[8 in ihevc_itrans_16x16()
606 eeo[1] = g_ai2_ihevc_trans_16[4][1] * pi2_src[4 * src_strd] in ihevc_itrans_16x16()
608 * pi2_src[12 * src_strd]; in ihevc_itrans_16x16()
610 g_ai2_ihevc_trans_16[0][1] * pi2_src[0] in ihevc_itrans_16x16()
612 * pi2_src[8 in ihevc_itrans_16x16()
634 pi2_src++; in ihevc_itrans_16x16()
640 void ihevc_itrans_16x16(WORD16 *pi2_src, in ihevc_itrans_16x16() argument
692 o[0] = 90 * pi2_src[src_strd] + 87 * pi2_src[3 * src_strd] in ihevc_itrans_16x16()
693 + 80 * pi2_src[5 * src_strd] in ihevc_itrans_16x16()
694 + 70 * pi2_src[7 * src_strd] in ihevc_itrans_16x16()
695 + 57 * pi2_src[9 * src_strd] in ihevc_itrans_16x16()
696 + 43 * pi2_src[11 * src_strd] in ihevc_itrans_16x16()
697 + 25 * pi2_src[13 * src_strd] in ihevc_itrans_16x16()
698 + 9 * pi2_src[15 * src_strd]; in ihevc_itrans_16x16()
700 o[1] = 87 * pi2_src[src_strd] + 57 * pi2_src[3 * src_strd] in ihevc_itrans_16x16()
701 + 9 * pi2_src[5 * src_strd] in ihevc_itrans_16x16()
702 + -43 * pi2_src[7 * src_strd] in ihevc_itrans_16x16()
703 + -80 * pi2_src[9 * src_strd] in ihevc_itrans_16x16()
704 + -90 * pi2_src[11 * src_strd] in ihevc_itrans_16x16()
705 + -70 * pi2_src[13 * src_strd] in ihevc_itrans_16x16()
706 + -25 * pi2_src[15 * src_strd]; in ihevc_itrans_16x16()
708 o[2] = 80 * pi2_src[src_strd] + 9 * pi2_src[3 * src_strd] in ihevc_itrans_16x16()
709 + -70 * pi2_src[5 * src_strd] in ihevc_itrans_16x16()
710 + -87 * pi2_src[7 * src_strd] in ihevc_itrans_16x16()
711 + -25 * pi2_src[9 * src_strd] in ihevc_itrans_16x16()
712 + 57 * pi2_src[11 * src_strd] in ihevc_itrans_16x16()
713 + 90 * pi2_src[13 * src_strd] in ihevc_itrans_16x16()
714 + 43 * pi2_src[15 * src_strd]; in ihevc_itrans_16x16()
716 o[3] = 70 * pi2_src[src_strd] + -43 * pi2_src[3 * src_strd] in ihevc_itrans_16x16()
717 + -87 * pi2_src[5 * src_strd] in ihevc_itrans_16x16()
718 + 9 * pi2_src[7 * src_strd] in ihevc_itrans_16x16()
719 + 90 * pi2_src[9 * src_strd] in ihevc_itrans_16x16()
720 + 25 * pi2_src[11 * src_strd] in ihevc_itrans_16x16()
721 + -80 * pi2_src[13 * src_strd] in ihevc_itrans_16x16()
722 + -57 * pi2_src[15 * src_strd]; in ihevc_itrans_16x16()
724 o[4] = 57 * pi2_src[src_strd] + -80 * pi2_src[3 * src_strd] in ihevc_itrans_16x16()
725 + -25 * pi2_src[5 * src_strd] in ihevc_itrans_16x16()
726 + 90 * pi2_src[7 * src_strd] in ihevc_itrans_16x16()
727 + -9 * pi2_src[9 * src_strd] in ihevc_itrans_16x16()
728 + -87 * pi2_src[11 * src_strd] in ihevc_itrans_16x16()
729 + 43 * pi2_src[13 * src_strd] in ihevc_itrans_16x16()
730 + 70 * pi2_src[15 * src_strd]; in ihevc_itrans_16x16()
732 o[5] = 43 * pi2_src[src_strd] + -90 * pi2_src[3 * src_strd] in ihevc_itrans_16x16()
733 + 57 * pi2_src[5 * src_strd] in ihevc_itrans_16x16()
734 + 25 * pi2_src[7 * src_strd] in ihevc_itrans_16x16()
735 + -87 * pi2_src[9 * src_strd] in ihevc_itrans_16x16()
736 + 70 * pi2_src[11 * src_strd] in ihevc_itrans_16x16()
737 + 9 * pi2_src[13 * src_strd] in ihevc_itrans_16x16()
738 + -80 * pi2_src[15 * src_strd]; in ihevc_itrans_16x16()
740 o[6] = 25 * pi2_src[src_strd] + -70 * pi2_src[3 * src_strd] in ihevc_itrans_16x16()
741 + 90 * pi2_src[5 * src_strd] in ihevc_itrans_16x16()
742 + -80 * pi2_src[7 * src_strd] in ihevc_itrans_16x16()
743 + 43 * pi2_src[9 * src_strd] in ihevc_itrans_16x16()
744 + 9 * pi2_src[11 * src_strd] in ihevc_itrans_16x16()
745 + -57 * pi2_src[13 * src_strd] in ihevc_itrans_16x16()
746 + 87 * pi2_src[15 * src_strd]; in ihevc_itrans_16x16()
748 o[7] = 9 * pi2_src[src_strd] + -25 * pi2_src[3 * src_strd] in ihevc_itrans_16x16()
749 + 43 * pi2_src[5 * src_strd] in ihevc_itrans_16x16()
750 + -57 * pi2_src[7 * src_strd] in ihevc_itrans_16x16()
751 + 70 * pi2_src[9 * src_strd] in ihevc_itrans_16x16()
752 + -80 * pi2_src[11 * src_strd] in ihevc_itrans_16x16()
753 + 87 * pi2_src[13 * src_strd] in ihevc_itrans_16x16()
754 + -90 * pi2_src[15 * src_strd]; in ihevc_itrans_16x16()
757 temp1 = (pi2_src[2 * src_strd] + pi2_src[6 * src_strd]) * 75; in ihevc_itrans_16x16()
758 temp2 = (pi2_src[10 * src_strd] + pi2_src[14 * src_strd]) * 50; in ihevc_itrans_16x16()
759 eo[0] = temp1 + 14 * pi2_src[2 * src_strd] + temp2 in ihevc_itrans_16x16()
760 - (pi2_src[14 * src_strd] << 5); in ihevc_itrans_16x16()
761 eo[1] = temp1 - 93 * pi2_src[6 * src_strd] - temp2 in ihevc_itrans_16x16()
762 - 39 * pi2_src[10 * src_strd]; in ihevc_itrans_16x16()
764 temp1 = (pi2_src[2 * src_strd] - pi2_src[6 * src_strd]) * 50; in ihevc_itrans_16x16()
765 temp2 = (pi2_src[10 * src_strd] + pi2_src[14 * src_strd]) * 75; in ihevc_itrans_16x16()
766 eo[2] = temp1 - 39 * pi2_src[6 * src_strd] + temp2 in ihevc_itrans_16x16()
767 - 57 * pi2_src[10 * src_strd]; in ihevc_itrans_16x16()
768 eo[3] = temp1 - (pi2_src[2 * src_strd] << 5) + temp2 in ihevc_itrans_16x16()
769 - 164 * pi2_src[14 * src_strd]; in ihevc_itrans_16x16()
772 temp1 = (pi2_src[4 * src_strd] + pi2_src[12 * src_strd]) * 36; in ihevc_itrans_16x16()
773 eeo[0] = temp1 + 47 * pi2_src[4 * src_strd]; in ihevc_itrans_16x16()
774 eeo[1] = temp1 - 119 * pi2_src[12 * src_strd]; in ihevc_itrans_16x16()
776 eee[0] = (pi2_src[0] + pi2_src[8 * src_strd]) << 6; in ihevc_itrans_16x16()
777 eee[1] = (pi2_src[0] - pi2_src[8 * src_strd]) << 6; in ihevc_itrans_16x16()
798 pi2_src++; in ihevc_itrans_16x16()
845 void ihevc_itrans_32x32(WORD16 *pi2_src, in ihevc_itrans_32x32() argument
873 o[k] = g_ai2_ihevc_trans_32[1][k] * pi2_src[src_strd] in ihevc_itrans_32x32()
875 * pi2_src[3 * src_strd] in ihevc_itrans_32x32()
877 * pi2_src[5 * src_strd] in ihevc_itrans_32x32()
879 * pi2_src[7 * src_strd] in ihevc_itrans_32x32()
881 * pi2_src[9 * src_strd] in ihevc_itrans_32x32()
883 * pi2_src[11 * src_strd] in ihevc_itrans_32x32()
885 * pi2_src[13 * src_strd] in ihevc_itrans_32x32()
887 * pi2_src[15 * src_strd] in ihevc_itrans_32x32()
889 * pi2_src[17 * src_strd] in ihevc_itrans_32x32()
891 * pi2_src[19 * src_strd] in ihevc_itrans_32x32()
893 * pi2_src[21 * src_strd] in ihevc_itrans_32x32()
895 * pi2_src[23 * src_strd] in ihevc_itrans_32x32()
897 * pi2_src[25 * src_strd] in ihevc_itrans_32x32()
899 * pi2_src[27 * src_strd] in ihevc_itrans_32x32()
901 * pi2_src[29 * src_strd] in ihevc_itrans_32x32()
903 * pi2_src[31 * src_strd]; in ihevc_itrans_32x32()
907 eo[k] = g_ai2_ihevc_trans_32[2][k] * pi2_src[2 * src_strd] in ihevc_itrans_32x32()
909 * pi2_src[6 * src_strd] in ihevc_itrans_32x32()
911 * pi2_src[10 * src_strd] in ihevc_itrans_32x32()
913 * pi2_src[14 * src_strd] in ihevc_itrans_32x32()
915 * pi2_src[18 * src_strd] in ihevc_itrans_32x32()
917 * pi2_src[22 * src_strd] in ihevc_itrans_32x32()
919 * pi2_src[26 * src_strd] in ihevc_itrans_32x32()
921 * pi2_src[30 * src_strd]; in ihevc_itrans_32x32()
925 eeo[k] = g_ai2_ihevc_trans_32[4][k] * pi2_src[4 * src_strd] in ihevc_itrans_32x32()
927 * pi2_src[12 * src_strd] in ihevc_itrans_32x32()
929 * pi2_src[20 * src_strd] in ihevc_itrans_32x32()
931 * pi2_src[28 * src_strd]; in ihevc_itrans_32x32()
933 eeeo[0] = g_ai2_ihevc_trans_32[8][0] * pi2_src[8 * src_strd] in ihevc_itrans_32x32()
935 * pi2_src[24 * src_strd]; in ihevc_itrans_32x32()
936 eeeo[1] = g_ai2_ihevc_trans_32[8][1] * pi2_src[8 * src_strd] in ihevc_itrans_32x32()
938 * pi2_src[24 * src_strd]; in ihevc_itrans_32x32()
939 eeee[0] = g_ai2_ihevc_trans_32[0][0] * pi2_src[0] in ihevc_itrans_32x32()
941 * pi2_src[16 * src_strd]; in ihevc_itrans_32x32()
942 eeee[1] = g_ai2_ihevc_trans_32[0][1] * pi2_src[0] in ihevc_itrans_32x32()
944 * pi2_src[16 * src_strd]; in ihevc_itrans_32x32()
969 pi2_src++; in ihevc_itrans_32x32()