Lines Matching refs:Sint16

73     volatile Sint16 room_angle;
416 if (len % sizeof (Sint16) != 0) { in _Eff_position_s8()
448 if (len % sizeof (Sint16) != 0) { in _Eff_position_s8_c4()
494 if (len % sizeof (Sint16) != 0) { in _Eff_position_s8_c6()
581 *p = (d[l[((Sint16)(Sint8)((*p & 0xFF000000) >> 24))+128]] << 24) | in _Eff_position_table_s8()
582 (d[r[((Sint16)(Sint8)((*p & 0x00FF0000) >> 16))+128]] << 16) | in _Eff_position_table_s8()
583 (d[l[((Sint16)(Sint8)((*p & 0x0000FF00) >> 8))+128]] << 8) | in _Eff_position_table_s8()
584 (d[r[((Sint16)(Sint8)((*p & 0x000000FF) ))+128]] ) ; in _Eff_position_table_s8()
586 *p = (d[r[((Sint16)(Sint8)((*p & 0xFF000000) >> 24))+128]] << 24) | in _Eff_position_table_s8()
587 (d[l[((Sint16)(Sint8)((*p & 0x00FF0000) >> 16))+128]] << 16) | in _Eff_position_table_s8()
588 (d[r[((Sint16)(Sint8)((*p & 0x0000FF00) >> 8))+128]] << 8) | in _Eff_position_table_s8()
589 (d[l[((Sint16)(Sint8)((*p & 0x000000FF) ))+128]] ) ; in _Eff_position_table_s8()
607 Sint16 sampl = (Sint16) (SDL_SwapLE16(*(ptr+0)) - 32768); in _Eff_position_u16lsb()
608 Sint16 sampr = (Sint16) (SDL_SwapLE16(*(ptr+1)) - 32768); in _Eff_position_u16lsb()
610 Uint16 swapl = (Uint16) ((Sint16) (((float) sampl * args->left_f) in _Eff_position_u16lsb()
612 Uint16 swapr = (Uint16) ((Sint16) (((float) sampr * args->right_f) in _Eff_position_u16lsb()
632 Sint16 sampl = (Sint16) (SDL_SwapLE16(*(ptr+0)) - 32768); in _Eff_position_u16lsb_c4()
633 Sint16 sampr = (Sint16) (SDL_SwapLE16(*(ptr+1)) - 32768); in _Eff_position_u16lsb_c4()
634 Sint16 samplr = (Sint16) (SDL_SwapLE16(*(ptr+2)) - 32768); in _Eff_position_u16lsb_c4()
635 Sint16 samprr = (Sint16) (SDL_SwapLE16(*(ptr+3)) - 32768); in _Eff_position_u16lsb_c4()
637 Uint16 swapl = (Uint16) ((Sint16) (((float) sampl * args->left_f) in _Eff_position_u16lsb_c4()
639 Uint16 swapr = (Uint16) ((Sint16) (((float) sampr * args->right_f) in _Eff_position_u16lsb_c4()
641 Uint16 swaplr = (Uint16) ((Sint16) (((float) samplr * args->left_rear_f) in _Eff_position_u16lsb_c4()
643 Uint16 swaprr = (Uint16) ((Sint16) (((float) samprr * args->right_rear_f) in _Eff_position_u16lsb_c4()
681 Sint16 sampl = (Sint16) (SDL_SwapLE16(*(ptr+0)) - 32768); in _Eff_position_u16lsb_c6()
682 Sint16 sampr = (Sint16) (SDL_SwapLE16(*(ptr+1)) - 32768); in _Eff_position_u16lsb_c6()
683 Sint16 samplr = (Sint16) (SDL_SwapLE16(*(ptr+2)) - 32768); in _Eff_position_u16lsb_c6()
684 Sint16 samprr = (Sint16) (SDL_SwapLE16(*(ptr+3)) - 32768); in _Eff_position_u16lsb_c6()
685 Sint16 sampce = (Sint16) (SDL_SwapLE16(*(ptr+4)) - 32768); in _Eff_position_u16lsb_c6()
686 Sint16 sampwf = (Sint16) (SDL_SwapLE16(*(ptr+5)) - 32768); in _Eff_position_u16lsb_c6()
688 Uint16 swapl = (Uint16) ((Sint16) (((float) sampl * args->left_f) in _Eff_position_u16lsb_c6()
690 Uint16 swapr = (Uint16) ((Sint16) (((float) sampr * args->right_f) in _Eff_position_u16lsb_c6()
692 Uint16 swaplr = (Uint16) ((Sint16) (((float) samplr * args->left_rear_f) in _Eff_position_u16lsb_c6()
694 Uint16 swaprr = (Uint16) ((Sint16) (((float) samprr * args->right_rear_f) in _Eff_position_u16lsb_c6()
696 Uint16 swapce = (Uint16) ((Sint16) (((float) sampce * args->center_f) in _Eff_position_u16lsb_c6()
698 Uint16 swapwf = (Uint16) ((Sint16) (((float) sampwf * args->lfe_f) in _Eff_position_u16lsb_c6()
742 Sint16 *ptr = (Sint16 *) stream; in _Eff_position_s16lsb()
746 if (len % (sizeof(Sint16) * 2)) { in _Eff_position_s16lsb()
752 for (i = 0; i < len; i += sizeof (Sint16) * 2) { in _Eff_position_s16lsb()
753 Sint16 swapl = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+0))) * in _Eff_position_s16lsb()
755 Sint16 swapr = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+1))) * in _Eff_position_s16lsb()
758 *(ptr++) = (Sint16) SDL_SwapLE16(swapr); in _Eff_position_s16lsb()
759 *(ptr++) = (Sint16) SDL_SwapLE16(swapl); in _Eff_position_s16lsb()
762 *(ptr++) = (Sint16) SDL_SwapLE16(swapl); in _Eff_position_s16lsb()
763 *(ptr++) = (Sint16) SDL_SwapLE16(swapr); in _Eff_position_s16lsb()
771 Sint16 *ptr = (Sint16 *) stream; in _Eff_position_s16lsb_c4()
774 for (i = 0; i < len; i += sizeof (Sint16) * 4) { in _Eff_position_s16lsb_c4()
775 Sint16 swapl = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+0))) * in _Eff_position_s16lsb_c4()
777 Sint16 swapr = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+1))) * in _Eff_position_s16lsb_c4()
779 Sint16 swaplr = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+1))) * in _Eff_position_s16lsb_c4()
781 Sint16 swaprr = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+2))) * in _Eff_position_s16lsb_c4()
785 *(ptr++) = (Sint16) SDL_SwapLE16(swapl); in _Eff_position_s16lsb_c4()
786 *(ptr++) = (Sint16) SDL_SwapLE16(swapr); in _Eff_position_s16lsb_c4()
787 *(ptr++) = (Sint16) SDL_SwapLE16(swaplr); in _Eff_position_s16lsb_c4()
788 *(ptr++) = (Sint16) SDL_SwapLE16(swaprr); in _Eff_position_s16lsb_c4()
791 *(ptr++) = (Sint16) SDL_SwapLE16(swapr); in _Eff_position_s16lsb_c4()
792 *(ptr++) = (Sint16) SDL_SwapLE16(swaprr); in _Eff_position_s16lsb_c4()
793 *(ptr++) = (Sint16) SDL_SwapLE16(swapl); in _Eff_position_s16lsb_c4()
794 *(ptr++) = (Sint16) SDL_SwapLE16(swaplr); in _Eff_position_s16lsb_c4()
797 *(ptr++) = (Sint16) SDL_SwapLE16(swaprr); in _Eff_position_s16lsb_c4()
798 *(ptr++) = (Sint16) SDL_SwapLE16(swaplr); in _Eff_position_s16lsb_c4()
799 *(ptr++) = (Sint16) SDL_SwapLE16(swapr); in _Eff_position_s16lsb_c4()
800 *(ptr++) = (Sint16) SDL_SwapLE16(swapl); in _Eff_position_s16lsb_c4()
803 *(ptr++) = (Sint16) SDL_SwapLE16(swaplr); in _Eff_position_s16lsb_c4()
804 *(ptr++) = (Sint16) SDL_SwapLE16(swapl); in _Eff_position_s16lsb_c4()
805 *(ptr++) = (Sint16) SDL_SwapLE16(swaprr); in _Eff_position_s16lsb_c4()
806 *(ptr++) = (Sint16) SDL_SwapLE16(swapr); in _Eff_position_s16lsb_c4()
816 Sint16 *ptr = (Sint16 *) stream; in _Eff_position_s16lsb_c6()
819 for (i = 0; i < len; i += sizeof (Sint16) * 6) { in _Eff_position_s16lsb_c6()
820 Sint16 swapl = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+0))) * in _Eff_position_s16lsb_c6()
822 Sint16 swapr = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+1))) * in _Eff_position_s16lsb_c6()
824 Sint16 swaplr = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+2))) * in _Eff_position_s16lsb_c6()
826 Sint16 swaprr = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+3))) * in _Eff_position_s16lsb_c6()
828 Sint16 swapce = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+4))) * in _Eff_position_s16lsb_c6()
830 Sint16 swapwf = (Sint16) ((((float) (Sint16) SDL_SwapLE16(*(ptr+5))) * in _Eff_position_s16lsb_c6()
834 *(ptr++) = (Sint16) SDL_SwapLE16(swapl); in _Eff_position_s16lsb_c6()
835 *(ptr++) = (Sint16) SDL_SwapLE16(swapr); in _Eff_position_s16lsb_c6()
836 *(ptr++) = (Sint16) SDL_SwapLE16(swaplr); in _Eff_position_s16lsb_c6()
837 *(ptr++) = (Sint16) SDL_SwapLE16(swaprr); in _Eff_position_s16lsb_c6()
838 *(ptr++) = (Sint16) SDL_SwapLE16(swapce); in _Eff_position_s16lsb_c6()
839 *(ptr++) = (Sint16) SDL_SwapLE16(swapwf); in _Eff_position_s16lsb_c6()
842 *(ptr++) = (Sint16) SDL_SwapLE16(swapr); in _Eff_position_s16lsb_c6()
843 *(ptr++) = (Sint16) SDL_SwapLE16(swaprr); in _Eff_position_s16lsb_c6()
844 *(ptr++) = (Sint16) SDL_SwapLE16(swapl); in _Eff_position_s16lsb_c6()
845 *(ptr++) = (Sint16) SDL_SwapLE16(swaplr); in _Eff_position_s16lsb_c6()
846 *(ptr++) = (Sint16) SDL_SwapLE16(swapr)/2 + (Sint16) SDL_SwapLE16(swaprr)/2; in _Eff_position_s16lsb_c6()
847 *(ptr++) = (Sint16) SDL_SwapLE16(swapwf); in _Eff_position_s16lsb_c6()
850 *(ptr++) = (Sint16) SDL_SwapLE16(swaprr); in _Eff_position_s16lsb_c6()
851 *(ptr++) = (Sint16) SDL_SwapLE16(swaplr); in _Eff_position_s16lsb_c6()
852 *(ptr++) = (Sint16) SDL_SwapLE16(swapr); in _Eff_position_s16lsb_c6()
853 *(ptr++) = (Sint16) SDL_SwapLE16(swapl); in _Eff_position_s16lsb_c6()
854 *(ptr++) = (Sint16) SDL_SwapLE16(swaprr)/2 + (Sint16) SDL_SwapLE16(swaplr)/2; in _Eff_position_s16lsb_c6()
855 *(ptr++) = (Sint16) SDL_SwapLE16(swapwf); in _Eff_position_s16lsb_c6()
858 *(ptr++) = (Sint16) SDL_SwapLE16(swaplr); in _Eff_position_s16lsb_c6()
859 *(ptr++) = (Sint16) SDL_SwapLE16(swapl); in _Eff_position_s16lsb_c6()
860 *(ptr++) = (Sint16) SDL_SwapLE16(swaprr); in _Eff_position_s16lsb_c6()
861 *(ptr++) = (Sint16) SDL_SwapLE16(swapr); in _Eff_position_s16lsb_c6()
862 *(ptr++) = (Sint16) SDL_SwapLE16(swapl)/2 + (Sint16) SDL_SwapLE16(swaplr)/2; in _Eff_position_s16lsb_c6()
863 *(ptr++) = (Sint16) SDL_SwapLE16(swapwf); in _Eff_position_s16lsb_c6()
876 for (i = 0; i < len; i += sizeof (Sint16) * 2) { in _Eff_position_u16msb()
877 Sint16 sampl = (Sint16) (SDL_SwapBE16(*(ptr+0)) - 32768); in _Eff_position_u16msb()
878 Sint16 sampr = (Sint16) (SDL_SwapBE16(*(ptr+1)) - 32768); in _Eff_position_u16msb()
880 Uint16 swapl = (Uint16) ((Sint16) (((float) sampl * args->left_f) in _Eff_position_u16msb()
882 Uint16 swapr = (Uint16) ((Sint16) (((float) sampr * args->right_f) in _Eff_position_u16msb()
902 for (i = 0; i < len; i += sizeof (Sint16) * 4) { in _Eff_position_u16msb_c4()
903 Sint16 sampl = (Sint16) (SDL_SwapBE16(*(ptr+0)) - 32768); in _Eff_position_u16msb_c4()
904 Sint16 sampr = (Sint16) (SDL_SwapBE16(*(ptr+1)) - 32768); in _Eff_position_u16msb_c4()
905 Sint16 samplr = (Sint16) (SDL_SwapBE16(*(ptr+2)) - 32768); in _Eff_position_u16msb_c4()
906 Sint16 samprr = (Sint16) (SDL_SwapBE16(*(ptr+3)) - 32768); in _Eff_position_u16msb_c4()
908 Uint16 swapl = (Uint16) ((Sint16) (((float) sampl * args->left_f) in _Eff_position_u16msb_c4()
910 Uint16 swapr = (Uint16) ((Sint16) (((float) sampr * args->right_f) in _Eff_position_u16msb_c4()
912 Uint16 swaplr = (Uint16) ((Sint16) (((float) samplr * args->left_rear_f) in _Eff_position_u16msb_c4()
914 Uint16 swaprr = (Uint16) ((Sint16) (((float) samprr * args->right_rear_f) in _Eff_position_u16msb_c4()
952 for (i = 0; i < len; i += sizeof (Sint16) * 6) { in _Eff_position_u16msb_c6()
953 Sint16 sampl = (Sint16) (SDL_SwapBE16(*(ptr+0)) - 32768); in _Eff_position_u16msb_c6()
954 Sint16 sampr = (Sint16) (SDL_SwapBE16(*(ptr+1)) - 32768); in _Eff_position_u16msb_c6()
955 Sint16 samplr = (Sint16) (SDL_SwapBE16(*(ptr+2)) - 32768); in _Eff_position_u16msb_c6()
956 Sint16 samprr = (Sint16) (SDL_SwapBE16(*(ptr+3)) - 32768); in _Eff_position_u16msb_c6()
957 Sint16 sampce = (Sint16) (SDL_SwapBE16(*(ptr+4)) - 32768); in _Eff_position_u16msb_c6()
958 Sint16 sampwf = (Sint16) (SDL_SwapBE16(*(ptr+5)) - 32768); in _Eff_position_u16msb_c6()
960 Uint16 swapl = (Uint16) ((Sint16) (((float) sampl * args->left_f) in _Eff_position_u16msb_c6()
962 Uint16 swapr = (Uint16) ((Sint16) (((float) sampr * args->right_f) in _Eff_position_u16msb_c6()
964 Uint16 swaplr = (Uint16) ((Sint16) (((float) samplr * args->left_rear_f) in _Eff_position_u16msb_c6()
966 Uint16 swaprr = (Uint16) ((Sint16) (((float) samprr * args->right_rear_f) in _Eff_position_u16msb_c6()
968 Uint16 swapce = (Uint16) ((Sint16) (((float) sampce * args->center_f) in _Eff_position_u16msb_c6()
970 Uint16 swapwf = (Uint16) ((Sint16) (((float) sampwf * args->lfe_f) in _Eff_position_u16msb_c6()
1014 Sint16 *ptr = (Sint16 *) stream; in _Eff_position_s16msb()
1017 for (i = 0; i < len; i += sizeof (Sint16) * 2) { in _Eff_position_s16msb()
1018 Sint16 swapl = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+0))) * in _Eff_position_s16msb()
1020 Sint16 swapr = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+1))) * in _Eff_position_s16msb()
1022 *(ptr++) = (Sint16) SDL_SwapBE16(swapl); in _Eff_position_s16msb()
1023 *(ptr++) = (Sint16) SDL_SwapBE16(swapr); in _Eff_position_s16msb()
1030 Sint16 *ptr = (Sint16 *) stream; in _Eff_position_s16msb_c4()
1033 for (i = 0; i < len; i += sizeof (Sint16) * 4) { in _Eff_position_s16msb_c4()
1034 Sint16 swapl = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+0))) * in _Eff_position_s16msb_c4()
1036 Sint16 swapr = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+1))) * in _Eff_position_s16msb_c4()
1038 Sint16 swaplr = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+2))) * in _Eff_position_s16msb_c4()
1040 Sint16 swaprr = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+3))) * in _Eff_position_s16msb_c4()
1044 *(ptr++) = (Sint16) SDL_SwapBE16(swapl); in _Eff_position_s16msb_c4()
1045 *(ptr++) = (Sint16) SDL_SwapBE16(swapr); in _Eff_position_s16msb_c4()
1046 *(ptr++) = (Sint16) SDL_SwapBE16(swaplr); in _Eff_position_s16msb_c4()
1047 *(ptr++) = (Sint16) SDL_SwapBE16(swaprr); in _Eff_position_s16msb_c4()
1050 *(ptr++) = (Sint16) SDL_SwapBE16(swapr); in _Eff_position_s16msb_c4()
1051 *(ptr++) = (Sint16) SDL_SwapBE16(swaprr); in _Eff_position_s16msb_c4()
1052 *(ptr++) = (Sint16) SDL_SwapBE16(swapl); in _Eff_position_s16msb_c4()
1053 *(ptr++) = (Sint16) SDL_SwapBE16(swaplr); in _Eff_position_s16msb_c4()
1056 *(ptr++) = (Sint16) SDL_SwapBE16(swaprr); in _Eff_position_s16msb_c4()
1057 *(ptr++) = (Sint16) SDL_SwapBE16(swaplr); in _Eff_position_s16msb_c4()
1058 *(ptr++) = (Sint16) SDL_SwapBE16(swapr); in _Eff_position_s16msb_c4()
1059 *(ptr++) = (Sint16) SDL_SwapBE16(swapl); in _Eff_position_s16msb_c4()
1062 *(ptr++) = (Sint16) SDL_SwapBE16(swaplr); in _Eff_position_s16msb_c4()
1063 *(ptr++) = (Sint16) SDL_SwapBE16(swapl); in _Eff_position_s16msb_c4()
1064 *(ptr++) = (Sint16) SDL_SwapBE16(swaprr); in _Eff_position_s16msb_c4()
1065 *(ptr++) = (Sint16) SDL_SwapBE16(swapr); in _Eff_position_s16msb_c4()
1074 Sint16 *ptr = (Sint16 *) stream; in _Eff_position_s16msb_c6()
1077 for (i = 0; i < len; i += sizeof (Sint16) * 6) { in _Eff_position_s16msb_c6()
1078 Sint16 swapl = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+0))) * in _Eff_position_s16msb_c6()
1080 Sint16 swapr = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+1))) * in _Eff_position_s16msb_c6()
1082 Sint16 swaplr = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+2))) * in _Eff_position_s16msb_c6()
1084 Sint16 swaprr = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+3))) * in _Eff_position_s16msb_c6()
1086 Sint16 swapce = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+4))) * in _Eff_position_s16msb_c6()
1088 Sint16 swapwf = (Sint16) ((((float) (Sint16) SDL_SwapBE16(*(ptr+5))) * in _Eff_position_s16msb_c6()
1093 *(ptr++) = (Sint16) SDL_SwapBE16(swapl); in _Eff_position_s16msb_c6()
1094 *(ptr++) = (Sint16) SDL_SwapBE16(swapr); in _Eff_position_s16msb_c6()
1095 *(ptr++) = (Sint16) SDL_SwapBE16(swaplr); in _Eff_position_s16msb_c6()
1096 *(ptr++) = (Sint16) SDL_SwapBE16(swaprr); in _Eff_position_s16msb_c6()
1097 *(ptr++) = (Sint16) SDL_SwapBE16(swapce); in _Eff_position_s16msb_c6()
1098 *(ptr++) = (Sint16) SDL_SwapBE16(swapwf); in _Eff_position_s16msb_c6()
1101 *(ptr++) = (Sint16) SDL_SwapBE16(swapr); in _Eff_position_s16msb_c6()
1102 *(ptr++) = (Sint16) SDL_SwapBE16(swaprr); in _Eff_position_s16msb_c6()
1103 *(ptr++) = (Sint16) SDL_SwapBE16(swapl); in _Eff_position_s16msb_c6()
1104 *(ptr++) = (Sint16) SDL_SwapBE16(swaplr); in _Eff_position_s16msb_c6()
1105 *(ptr++) = (Sint16) SDL_SwapBE16(swapr)/2 + (Sint16) SDL_SwapBE16(swaprr)/2; in _Eff_position_s16msb_c6()
1106 *(ptr++) = (Sint16) SDL_SwapBE16(swapwf); in _Eff_position_s16msb_c6()
1109 *(ptr++) = (Sint16) SDL_SwapBE16(swaprr); in _Eff_position_s16msb_c6()
1110 *(ptr++) = (Sint16) SDL_SwapBE16(swaplr); in _Eff_position_s16msb_c6()
1111 *(ptr++) = (Sint16) SDL_SwapBE16(swapr); in _Eff_position_s16msb_c6()
1112 *(ptr++) = (Sint16) SDL_SwapBE16(swapl); in _Eff_position_s16msb_c6()
1113 *(ptr++) = (Sint16) SDL_SwapBE16(swaprr)/2 + (Sint16) SDL_SwapBE16(swaplr)/2; in _Eff_position_s16msb_c6()
1114 *(ptr++) = (Sint16) SDL_SwapBE16(swapwf); in _Eff_position_s16msb_c6()
1117 *(ptr++) = (Sint16) SDL_SwapBE16(swaplr); in _Eff_position_s16msb_c6()
1118 *(ptr++) = (Sint16) SDL_SwapBE16(swapl); in _Eff_position_s16msb_c6()
1119 *(ptr++) = (Sint16) SDL_SwapBE16(swaprr); in _Eff_position_s16msb_c6()
1120 *(ptr++) = (Sint16) SDL_SwapBE16(swapr); in _Eff_position_s16msb_c6()
1121 *(ptr++) = (Sint16) SDL_SwapBE16(swapl)/2 + (Sint16) SDL_SwapBE16(swaplr)/2; in _Eff_position_s16msb_c6()
1122 *(ptr++) = (Sint16) SDL_SwapBE16(swapwf); in _Eff_position_s16msb_c6()
1422 int Mix_SetPosition(int channel, Sint16 angle, Uint8 distance);
1518 int Mix_SetPosition(int channel, Sint16 angle, Uint8 distance) in Mix_SetPosition()
1524 Sint16 room_angle = 0; in Mix_SetPosition()