Home
last modified time | relevance | path

Searched refs:Branchtab39 (Results 1 – 5 of 5) sorted by relevance

/external/fec/
Dviterbi39_port.c13 static union { unsigned char c[128]; } Branchtab39[3]; variable
46 Branchtab39[0].c[state] = (polys[0] < 0) ^ parity((2*state) & abs(polys[0])) ? 255 : 0; in set_viterbi39_polynomial_port()
47 Branchtab39[1].c[state] = (polys[1] < 0) ^ parity((2*state) & abs(polys[1])) ? 255 : 0; in set_viterbi39_polynomial_port()
48 Branchtab39[2].c[state] = (polys[2] < 0) ^ parity((2*state) & abs(polys[2])) ? 255 : 0; in set_viterbi39_polynomial_port()
120 metric = (Branchtab39[0].c[i] ^ sym0) + (Branchtab39[1].c[i] ^ sym1) + \
121 (Branchtab39[2].c[i] ^ sym2);\
Dviterbi39_mmx.c14 static union branchtab39 { unsigned short s[128]; __m64 v[32];} Branchtab39[3]; variable
47 Branchtab39[0].s[state] = (polys[0] < 0) ^ parity((2*state) & polys[0]) ? 255:0; in set_viterbi39_polynomial_mmx()
48 Branchtab39[1].s[state] = (polys[1] < 0) ^ parity((2*state) & polys[1]) ? 255:0; in set_viterbi39_polynomial_mmx()
49 Branchtab39[2].s[state] = (polys[2] < 0) ^ parity((2*state) & polys[2]) ? 255:0; in set_viterbi39_polynomial_mmx()
148 …m0 = _mm_add_pi16(_mm_xor_si64(Branchtab39[0].v[i],sym0v),_mm_xor_si64(Branchtab39[1].v[i],sym1v)); in update_viterbi39_blk_mmx()
149 metric = _mm_add_pi16(_mm_xor_si64(Branchtab39[2].v[i],sym2v),m0); in update_viterbi39_blk_mmx()
Dviterbi39_sse2.c15 static union branchtab39 { unsigned short s[128]; __m128i v[16];} Branchtab39[3]; variable
70 Branchtab39[0].s[state] = (polys[0] < 0) ^ parity((2*state) & polys[0]) ? 255:0; in set_viterbi39_polynomial_sse2()
71 Branchtab39[1].s[state] = (polys[1] < 0) ^ parity((2*state) & polys[1]) ? 255:0; in set_viterbi39_polynomial_sse2()
72 Branchtab39[2].s[state] = (polys[2] < 0) ^ parity((2*state) & polys[2]) ? 255:0; in set_viterbi39_polynomial_sse2()
142 …m0 = _mm_add_epi16(_mm_xor_si128(Branchtab39[0].v[i],sym0v),_mm_xor_si128(Branchtab39[1].v[i],sym1… in update_viterbi39_blk_sse2()
143 metric = _mm_add_epi16(_mm_xor_si128(Branchtab39[2].v[i],sym2v),m0); in update_viterbi39_blk_sse2()
Dviterbi39_sse.c15 static union branchtab39 { unsigned short s[128]; __m64 v[32];} Branchtab39[3]; variable
68 Branchtab39[0].s[state] = (polys[0] < 0) ^ parity((2*state) & polys[0]) ? 255:0; in set_viterbi39_polynomial_sse()
69 Branchtab39[1].s[state] = (polys[1] < 0) ^ parity((2*state) & polys[1]) ? 255:0; in set_viterbi39_polynomial_sse()
70 Branchtab39[2].s[state] = (polys[2] < 0) ^ parity((2*state) & polys[2]) ? 255:0; in set_viterbi39_polynomial_sse()
146 …m0 = _mm_add_pi16(_mm_xor_si64(Branchtab39[0].v[i],sym0v),_mm_xor_si64(Branchtab39[1].v[i],sym1v)); in update_viterbi39_blk_sse()
147 metric = _mm_add_pi16(_mm_xor_si64(Branchtab39[2].v[i],sym2v),m0); in update_viterbi39_blk_sse()
Dviterbi39_av.c15 static union branchtab39 { unsigned short s[128]; vector unsigned short v[16];} Branchtab39[3]; variable
46 Branchtab39[0].s[state] = (polys[0] < 0) ^ parity((2*state) & abs(polys[0])) ? 255 : 0; in set_viterbi39_polynomial_av()
47 Branchtab39[1].s[state] = (polys[1] < 0) ^ parity((2*state) & abs(polys[1])) ? 255 : 0; in set_viterbi39_polynomial_av()
48 Branchtab39[2].s[state] = (polys[2] < 0) ^ parity((2*state) & abs(polys[2])) ? 255 : 0; in set_viterbi39_polynomial_av()
140 m0 = vec_add(vec_xor(Branchtab39[0].v[i],sym0v),vec_xor(Branchtab39[1].v[i],sym1v)); in update_viterbi39_blk_av()
141 m1 = vec_xor(Branchtab39[2].v[i],sym2v); in update_viterbi39_blk_av()