2 .function orc_add2_rshift_add_s16_22_op
15 .function orc_add2_rshift_add_s16_22
27 .function orc_add2_rshift_sub_s16_22_op
40 .function orc_add2_rshift_sub_s16_22
52 .function orc_add2_rshift_add_s16_11_op
63 .function orc_add2_rshift_add_s16_11
73 .function orc_add2_rshift_sub_s16_11_op
84 .function orc_add2_rshift_sub_s16_11
94 .function orc_add_const_rshift_s16_11
103 .function orc_add_const_rshift_s16
113 .function orc_add_s16
121 .function orc_add_s16_2d
129 .function orc_addc_rshift_s16
140 .function orc_lshift1_s16
147 .function orc_lshift2_s16
154 .function orc_lshift_s16_ip
161 .function orc_mas2_add_s16_op
180 .function orc_mas2_add_s16_ip
198 .function orc_mas2_sub_s16_op
217 .function orc_mas2_sub_s16_ip
235 .function orc_mas4_across_add_s16_1991_op
260 .function orc_mas4_across_add_s16_1991_ip
284 .function orc_mas4_across_sub_s16_1991_op
309 .function orc_mas4_across_sub_s16_1991_ip
333 .function orc_subtract_s16
341 .function orc_add_s16_u8
351 .function orc_add_s16_u8_2d
361 .function orc_convert_s16_u8
368 .function orc_convert_u8_s16
375 .function orc_offsetconvert_u8_s16
384 .function orc_offsetconvert_s16_u8
393 .function orc_subtract_s16_u8
403 .function orc_multiply_and_add_s16_u8
414 .function orc_splat_s16_ns
421 .function orc_splat_s16_2d_4xn
430 .function orc_splat_s16_2d_8xn
439 .function orc_splat_s16_2d
447 .function orc_splat_u8_ns
454 .function orc_splat_u8_2d
462 .function orc_average_u8
470 .function orc_rrshift6_add_s16_2d
483 .function orc_rrshift6_sub_s16_2d
495 .function orc_rrshift6_s16_ip_2d
504 .function orc_rrshift6_s16_ip
512 .function orc_unpack_yuyv_y
519 .function orc_unpack_yuyv_u
528 .function orc_unpack_yuyv_v
537 .function orc_packyuyv
556 .function orc_unpack_uyvy_y
563 .function orc_unpack_uyvy_u
572 .function orc_unpack_uyvy_v
581 .function orc_interleave2_s16
589 .function orc_interleave2_rrshift1_s16
603 .function orc_deinterleave2_s16
614 .function orc_deinterleave2_lshift1_s16
629 .function orc_haar_deint_lshift1_split_s16
648 .function orc_haar_deint_split_s16
665 .function orc_haar_split_s16_lo
678 .function orc_haar_split_s16_hi
686 .function orc_haar_split_s16_op
701 .function orc_haar_split_s16
715 .function orc_haar_synth_s16_lo
725 .function orc_haar_synth_s16_hi
739 .function orc_haar_synth_s16_op
755 .function orc_haar_synth_s16
770 .function orc_haar_synth_rrshift1_int_s16
786 .function orc_haar_synth_int_s16
800 .function orc_haar_sub_s16
807 .function orc_haar_add_half_s16
816 .function orc_haar_add_s16
823 .function orc_haar_sub_half_s16
833 .accumulator 4 a1 int32_t
843 .function orc_sum_s16
844 .accumulator 4 a1 int32_t
852 .function orc_sum_square_diff_u8
853 .accumulator 4 a1 int32_t
868 .function orc_dequantise_s16_2d_4xn
887 .function orc_dequantise_s16_2d_8xn
906 .function orc_dequantise_s16_ip_2d_8xn
924 .function orc_dequantise_s16_ip_2d
941 .function orc_dequantise_s16_ip
957 .function orc_dequantise_s16
974 .function orc_dequantise_var_s16_ip
990 # only works for values between -16384 and 16384
991 .function orc_quantise1_s16
1010 # only works for values between -16384 and 16384
1011 .function orc_quantise2_s16
1013 .source 2 s1 int16_t
1028 # only works for values between -16384 and 16384
1029 .function orc_quantdequant1_s16
1056 # only works for values between -16384 and 16384
1057 .function orc_quantdequant3_s16
1088 # only works for values between -16384 and 16384
1089 .function orc_quantdequant2_s16
1115 .function orc_downsample_vert_u8
1139 .function orc_downsample_horiz_u8
1141 .source 2 s1 uint8_t
1142 .source 2 s2 uint8_t
1170 .function orc_stats_moment_s16
1171 .source 2 s1 int16_t
1172 .accumulator 4 a1 int32_t
1183 .function orc_stats_above_s16
1184 .source 2 s1 int16_t
1185 .accumulator 4 a1 int32_t
1198 .accumulator 2 a1 int
1199 .source 2 s1 int16_t
1206 .function orc_avg2_8xn_u8
1210 .source 1 s1 uint8_t
1211 .source 1 s2 uint8_t
1216 .function orc_avg2_12xn_u8
1220 .source 1 s1 uint8_t
1221 .source 1 s2 uint8_t
1226 .function orc_avg2_16xn_u8
1230 .source 1 s1 uint8_t
1231 .source 1 s2 uint8_t
1236 .function orc_avg2_32xn_u8
1240 .source 1 s1 uint8_t
1241 .source 1 s2 uint8_t
1246 .function orc_avg2_nxm_u8
1249 .source 1 s1 uint8_t
1250 .source 1 s2 uint8_t
1255 .function orc_combine4_8xn_u8
1259 .source 1 s1 uint8_t
1260 .source 1 s2 uint8_t
1261 .source 1 s3 uint8_t
1262 .source 1 s4 uint8_t
1285 .function orc_combine4_12xn_u8
1289 .source 1 s1 uint8_t
1290 .source 1 s2 uint8_t
1291 .source 1 s3 uint8_t
1292 .source 1 s4 uint8_t
1315 .function orc_combine4_16xn_u8
1319 .source 1 s1 uint8_t
1320 .source 1 s2 uint8_t
1321 .source 1 s3 uint8_t
1322 .source 1 s4 uint8_t
1345 .function orc_combine4_24xn_u8
1349 .source 1 s1 uint8_t
1350 .source 1 s2 uint8_t
1351 .source 1 s3 uint8_t
1352 .source 1 s4 uint8_t
1375 .function orc_combine4_32xn_u8
1379 .source 1 s1 uint8_t
1380 .source 1 s2 uint8_t
1381 .source 1 s3 uint8_t
1382 .source 1 s4 uint8_t
1405 .function orc_combine4_nxm_u8
1408 .source 1 s1 uint8_t
1409 .source 1 s2 uint8_t
1410 .source 1 s3 uint8_t
1411 .source 1 s4 uint8_t
1435 .function orc_combine2_8xn_u8
1439 .source 1 s1 uint8_t
1440 .source 1 s2 uint8_t
1459 .function orc_combine2_12xn_u8
1463 .source 1 s1 uint8_t
1464 .source 1 s2 uint8_t
1483 .function orc_combine2_16xn_u8
1487 .source 1 s1 uint8_t
1488 .source 1 s2 uint8_t
1507 .function orc_combine2_nxm_u8
1510 .source 1 s1 uint8_t
1511 .source 1 s2 uint8_t
1530 .function orc_sad_nxm_u8
1532 .accumulator 4 a1 uint32_t
1533 .source 1 s1 uint8_t
1534 .source 1 s2 uint8_t
1536 accsadubl a1, s1, s2
1539 .function orc_sad_8x8_u8
1543 .accumulator 4 a1 uint32_t
1544 .source 1 s1 uint8_t
1545 .source 1 s2 uint8_t
1547 accsadubl a1, s1, s2
1551 .function orc_sad_12x12_u8
1555 .accumulator 4 a1 uint32_t
1556 .source 1 s1 uint8_t
1557 .source 1 s2 uint8_t
1559 accsadubl a1, s1, s2
1563 .function orc_sad_16xn_u8
1566 .accumulator 4 a1 uint32_t
1567 .source 1 s1 uint8_t
1568 .source 1 s2 uint8_t
1570 accsadubl a1, s1, s2
1574 .function orc_sad_32xn_u8
1577 .accumulator 4 a1 uint32_t
1578 .source 1 s1 uint8_t
1579 .source 1 s2 uint8_t
1581 accsadubl a1, s1, s2
1584 .function convert_rgb_to_gray
1591 # Red * ((0.299) * (1<<16) + 0.5)
1593 select0wb l_t1, l_t2
1594 convubw l_gray2, l_t1
1595 swapw l_gray2, l_gray2
1596 mulhuw l_gray2, l_gray2, 19595
1598 # Green * ((0.587) * (1<<16) + 0.5)
1600 select1wb l_t1, l_t2
1603 mulhuw l_t2, l_t2, 38470
1604 addusw l_gray2, l_gray2, l_t2
1606 # Blue * ((0.114) * (1<<16) + 0.5)
1608 select0wb l_t1, l_t2
1611 mulhuw l_t2, l_t2, 7471
1612 addusw l_gray2, l_gray2, l_t2
1614 # Add 1/2 => (1 << (8 - 1))
1615 addusw l_gray2, l_gray2, 128
1616 select1wb d1, l_gray2
1620 .function canny_calc_delta_x
1622 .source 4 s1 uint8_t
1623 .source 4 s2 uint8_t
1666 .function i420_to_ayuv
1692 x4 addusb d1, s1, s2
1700 x4 addusb d1, s1, p1
1703 .function orc_splat_u16
1710 .function orc_splat_u32
1717 .function orc_splat_u16_2d
1725 .function orc_splat_u32_2d
1733 .function orc_copy_u16_2d
1741 .function orc_copy_u32_2d
1749 .function orc_composite_add_8888_8888_2d
1754 x4 addusb d1, d1, s1
1757 .function orc_composite_add_8_8_line
1764 .function orc_composite_add_n_8_8_line
1779 .function orc_code_combine_add_u
1793 x4 addusb d1, d1, t3
1796 .function orc_code_combine_add_u_n
1800 x4 addusb d1, d1, s1
1803 .function orc_code_combine_over_u
1814 #compover d1, d1, t1
1821 # ((d) + (s) - ORC_MULDIV_255((d),(m)))
1823 x4 convubw d_wide, d
1824 x4 xorw t1, t1, 0x00ff
1826 x4 mullw t1, d_wide, t2
1832 .function orc_code_combine_over_u_n
1844 x4 convubw d_wide, d
1845 x4 xorw t1, t1, 0x00ff
1847 x4 mullw t1, d_wide, t2
1853 .function orc_code_combine_in_u
1868 # ORC_MULDIV_255((s),(m)), m is from dest
1869 x4 convubw d_wide, d1
1877 .function orc_code_combine_in_u_n
1887 # ORC_MULDIV_255((s),(m)), m is from dest
1888 x4 convubw d_wide, d1
1895 .function orc_code_combine_out_u
1910 # ORC_MULDIV_255((s),(m)), m is from dest
1911 x4 convubw d_wide, d1
1913 x4 xorw t2, t2, 0x00ff
1920 .function orc_code_combine_out_u_n
1930 # ORC_MULDIV_255((s),(m)), m is from dest
1931 x4 convubw d_wide, d1
1933 x4 xorw t2, t2, 0x00ff
1939 # atop: (ORC_DIVIDE_255((s)*(da))+ORC_DIVIDE_255((d)*(255-(sa))))
1941 .function orc_code_combine_atop_u
1960 x4 convubw d_wide, d1
1966 x4 convubw d_wide, d1
1968 x4 xorw t2, t2, 0x00ff
1969 x4 mullw t1, d_wide, t2
1973 x4 addusb d1, t4, t5
1976 .function orc_code_combine_atop_u_n
1990 x4 convubw d_wide, d1
1996 x4 convubw d_wide, d1
1998 x4 xorw t2, t2, 0x00ff
1999 x4 mullw t1, d_wide, t2
2003 x4 addusb d1, t4, t5
2007 .function orc_code_combine_xor_u
2026 x4 convubw d_wide, d1
2028 x4 xorw t2, t2, 0x00ff
2033 x4 convubw d_wide, d1
2035 x4 xorw t2, t2, 0x00ff
2036 x4 mullw t1, d_wide, t2
2040 x4 addusb d1, t4, t5
2043 .function orc_code_combine_xor_u_n
2056 x4 convubw d_wide, d1
2058 x4 xorw t2, t2, 0x00ff
2063 x4 convubw d_wide, d1
2065 x4 xorw t2, t2, 0x00ff
2066 x4 mullw t1, d_wide, t2
2070 x4 addusb d1, t4, t5
2074 .function orc_code_combine_add_ca
2088 x4 addusb d1, d1, t3
2091 .function orc_code_combine_add_ca_n
2095 x4 addusb d1, d1, s1
2098 .function orc_code_combine_over_ca
2111 x4 convubw s_wide, s1
2112 x4 convubw m_wide, s2
2114 x4 mullw s_wide, s_wide, m_wide
2115 x4 div255w s_wide, s_wide
2117 x4 mullw m_wide, m_wide, xa
2118 x4 div255w m_wide, m_wide
2120 x4 convubw d_wide, d
2121 x4 xorw m_wide, m_wide, 0x00ff
2122 x4 mullw t1, d_wide, m_wide
2129 .function orc_code_combine_over_ca_n
2141 x4 convubw s_wide, s1
2146 x4 convubw d_wide, d
2147 x4 xorw m_wide, m_wide, 0x00ff
2148 x4 mullw t1, d_wide, m_wide
2155 .function orc_composite_over_8888_8_8888_line
2173 x4 convubw d_wide, d
2174 x4 xorw t1, t1, 0x00ff
2176 x4 mullw t1, d_wide, t2
2183 .function orc_composite_over_n_8888_8888_ca_2d
2197 x4 convubw s_wide, p1
2198 x4 convubw m_wide, s1
2200 x4 mullw s_wide, s_wide, m_wide
2201 x4 div255w s_wide, s_wide
2203 x4 mullw m_wide, m_wide, xa
2204 x4 div255w m_wide, m_wide
2206 x4 convubw d_wide, d
2207 x4 xorw m_wide, m_wide, 0x00ff
2208 x4 mullw t1, d_wide, m_wide
2214 .function cogorc_resample_horiz_1tap
2220 ldresnearb d1, s1, p1, p2
2223 .function cogorc_resample_horiz_2tap
2229 ldreslinb d1, s1, p1, p2
2232 .function test_float_constant_1
2239 .function test_float_constant_2
2245 .function convert_fc32_to_int32
2246 .source 8 src #one complex float
2247 .dest 4 dst #one complex short
2249 x2 mulf scaled, src, 32767.0
2251 x2 convfl lscaled, scaled
2252 x2 convlw dst, lscaled
2264 .const 8 s 0x0123456789abcdef
2278 .function pa_volume_s16ne_orc_2ch
2279 .dest 4 samples int16_t
2288 x2 convuwl s, samples
2289 x2 convswl ss, samples
2290 x4 cmpgtsw signc, 0, s
2291 x4 andw signc, signc, v
2297 x2 convssslw samples, m