Home
last modified time | relevance | path

Searched refs:h_len (Results 1 – 25 of 605) sorted by relevance

12345678910>>...25

/dports/comms/liquid-dsp/liquid-dsp-1.3.2/src/filter/src/
H A Dgmsk.c59 unsigned int h_len = 2*_k*_m+1; in liquid_firdes_gmsktx() local
65 for (i=0; i<h_len; i++) { in liquid_firdes_gmsktx()
75 for (i=0; i<h_len; i++) in liquid_firdes_gmsktx()
77 for (i=0; i<h_len; i++) in liquid_firdes_gmsktx()
79 for (i=0; i<h_len; i++) in liquid_firdes_gmsktx()
155 for (i=0; i<h_len; i++) { in liquid_firdes_gmskrx()
170 for (i=0; i<h_len; i++) { in liquid_firdes_gmskrx()
177 for (i=0; i<h_len; i++) { in liquid_firdes_gmskrx()
187 for (i=0; i<h_len; i++) in liquid_firdes_gmskrx()
188 hr[i] = crealf( h_hat[(i+k*m+1)%h_len] ) / (float)(k*h_len); in liquid_firdes_gmskrx()
[all …]
H A Dfirfilt.c73 q->h_len = _n; in FIRFILT()
160 float hf[h_len]; in FIRFILT()
165 TC hc[h_len]; in FIRFILT()
166 for (i=0; i<h_len; i++) in FIRFILT()
214 float hf[h_len]; in FIRFILT()
218 TC h[h_len]; in FIRFILT()
220 for (i=0; i<h_len; i++) in FIRFILT()
281 if (_n != _q->h_len) { in FIRFILT()
283 _q->h_len = _n; in FIRFILT()
461 return _q->h_len; in FIRFILT()
[all …]
H A Dfirfarrow.c146 for (i=0; i<_q->h_len; i++) { in FIRFARROW()
154 n = _q->h_len; in FIRFARROW()
169 for (i=0; i<_q->h_len; i++) in FIRFARROW()
202 for (i=0; i<_q->h_len; i++) { in FIRFARROW()
229 for (i=0; i<_q->h_len; i++) in FIRFARROW()
260 return _q->h_len; in FIRFARROW()
283 for (i=0; i<_q->h_len; i++) in FIRFARROW()
297 float h[_q->h_len]; in FIRFARROW()
299 unsigned int n = _q->h_len; in FIRFARROW()
322 for (i=0; i<_q->h_len; i++) { in FIRFARROW()
[all …]
H A Dfirinterp.c59 q->h_len = _h_len; in FIRINTERP()
67 q->h_len = q->M * q->h_sub_len; in FIRINTERP()
72 for (i=0; i<q->h_len; i++) in FIRINTERP()
103 unsigned int h_len = 2*_M*_m + 1; in FIRINTERP() local
104 float hf[h_len]; in FIRINTERP()
109 TC hc[h_len]; in FIRINTERP()
111 for (i=0; i<h_len; i++) in FIRINTERP()
146 unsigned int h_len = 2*_k*_m + 1; in FIRINTERP() local
147 float h[h_len]; in FIRINTERP()
152 TC hc[h_len]; in FIRINTERP()
[all …]
H A Dfnyquist.c93 for (i=0; i<h_len; i++) in liquid_firdes_fnyquist()
100 for (i=0; i<h_len; i++) in liquid_firdes_fnyquist()
101 _h[i] = crealf( h[(i+_k*_m+1)%h_len] ) * (float)_k / (float)(h_len); in liquid_firdes_fnyquist()
146 unsigned int h_len = 2*_k*_m + 1; in liquid_firdes_fexp_freqresponse() local
156 for (i=0; i<h_len; i++) { in liquid_firdes_fexp_freqresponse()
157 float f = (float)i / (float)h_len; in liquid_firdes_fexp_freqresponse()
222 unsigned int h_len = 2*_k*_m + 1; in liquid_firdes_fsech_freqresponse() local
232 for (i=0; i<h_len; i++) { in liquid_firdes_fsech_freqresponse()
233 float f = (float)i / (float)h_len; in liquid_firdes_fsech_freqresponse()
311 unsigned int h_len = 2*_k*_m + 1; in liquid_firdes_farcsech_freqresponse() local
[all …]
H A Dfirdecim.c62 q->h_len = _h_len; in FIRDECIM()
70 for (i=0; i<q->h_len; i++) in FIRDECIM()
74 q->w = WINDOW(_create)(q->h_len); in FIRDECIM()
109 unsigned int h_len = 2*_M*_m + 1; in FIRDECIM() local
110 float hf[h_len]; in FIRDECIM()
115 TC hc[h_len]; in FIRDECIM()
117 for (i=0; i<h_len; i++) in FIRDECIM()
152 unsigned int h_len = 2*_M*_m + 1; in FIRDECIM() local
153 float h[h_len]; in FIRDECIM()
158 TC hc[h_len]; in FIRDECIM()
[all …]
/dports/comms/liquid-dsp/liquid-dsp-1.3.2/sandbox/
H A Dfirdes_gmskrx_test.c75 for (i=0; i<h_len; i++) in main()
109 for (i=0; i<h_len; i++) { in main()
122 for (i=0; i<h_len; i++) in main()
124 for (i=0; i<h_len; i++) in main()
126 for (i=0; i<h_len; i++) in main()
134 for (i=0; i<h_len; i++) { in main()
151 for (i=0; i<h_len; i++) in main()
152 hr[i] = crealf( h_hat[(i+k*m+1)%h_len] ) / (float)(k*h_len); in main()
160 for (i=0; i<h_len; i++) in main()
164 float rxy0 = liquid_filter_crosscorr(ht,h_len, hr,h_len, 0); in main()
[all …]
H A Dfirdes_fexp_test.c88 unsigned int h_len = 2*k*m+1; // filter length in main() local
103 for (i=0; i<h_len; i++) { in main()
104 float f = (float)i / (float)h_len; in main()
111 for (i=0; i<h_len; i++) in main()
116 for (i=0; i<h_len; i++) in main()
117 ht[i] = crealf( h_tx[(i+k*m+1)%h_len] ) / (float)(h_len); in main()
120 for (i=0; i<h_len; i++) in main()
125 for (i=0; i<h_len; i++) in main()
135 for (i=0; i<h_len; i++) in main()
139 float rxy0 = liquid_filter_crosscorr(ht,h_len, hr,h_len, 0); in main()
[all …]
H A Drkaiser2_test.c77 unsigned int h_len = 2*k*m+1; in main() local
78 float h1[h_len]; in main()
79 float h2[h_len]; in main()
100 for (i=0; i<h_len; i++) { in main()
153 unsigned int h_len = 2*_k*_m + 1; in liquid_firdes_rkaiser_filter2() local
204 liquid_firdes_kaiser(h_len,fc,As,_dt,_h); in liquid_firdes_rkaiser_filter2()
208 for (i=0; i<h_len; i++) e2 += _h[i]*_h[i]; in liquid_firdes_rkaiser_filter2()
232 unsigned int h_len = 2*k*m+1; in gs_utility() local
239 float h[h_len]; in gs_utility()
240 liquid_firdes_kaiser(h_len,fc,As,dt,h); in gs_utility()
[all …]
/dports/devel/allegro/allegro-4.4.3.1/src/psp/
H A Dpvram.c51 new_h->h_len = available_vram; in vmm_init()
72 if (hp->h_len >= size) { in vmm_alloc_mem()
76 hp->h_len -= size; in vmm_alloc_mem()
78 if (hp->h_len == 0) in vmm_alloc_mem()
106 new_ptr->h_len = size; in vmm_free_mem()
159 if (hp->h_base + hp->h_len == next_ptr->h_base) { in vmm_merge()
162 hp->h_len, hp->h_base, next_ptr->h_len, next_ptr->h_base); in vmm_merge()
163 hp->h_len += next_ptr->h_len; in vmm_merge()
171 if (hp->h_base + hp->h_len == next_ptr->h_base) { in vmm_merge()
174 hp->h_len, hp->h_base, next_ptr->h_len, next_ptr->h_base); in vmm_merge()
[all …]
/dports/comms/liquid-dsp/liquid-dsp-1.3.2/src/equalization/src/
H A Deqlms.c62 q->h_len = _h_len; in EQLMS()
75 for (i=0; i<q->h_len; i++) in EQLMS()
118 float h[h_len]; in EQLMS()
124 T hc[h_len]; in EQLMS()
125 for (i=0; i<h_len; i++) in EQLMS()
169 if (_q->h_len == _p) { in EQLMS()
221 for (i=0; i<_q->h_len; i++) in EQLMS()
363 for (i=0; i<_q->h_len; i++) in EQLMS()
403 for (i=0; i<_q->h_len; i++) in EQLMS()
419 unsigned int p=_q->h_len; in EQLMS()
[all …]
/dports/net/libnet/libnet-1.1.6/src/
H A Dlibnet_checksum.c133 if((iphdr+ip_hl+h_len) > end)
137 (int)(end - iphdr), ip_hl, h_len);
165 return libnet_inet_checksum(l, iphdr, protocol, h_len,
257 (h_len - (tcph_p->th_off << 2));
278 sum += ntohs(IPPROTO_TCP + h_len);
285 h_len
308 sum += ntohs(IPPROTO_UDP + h_len);
329 sum += ntohs(IPPROTO_ICMP6 + h_len);
348 sum += ntohs(IPPROTO_ICMP6 + h_len);
386 sum = libnet_in_cksum((uint16_t *)greh_p, h_len);
[all …]
H A Dlibnet_build_dns.c44 libnet_build_dnsv4(uint16_t h_len, uint16_t id, uint16_t flags, in libnet_build_dnsv4() argument
60 if (h_len != LIBNET_UDP_DNSV4_H && h_len != LIBNET_TCP_DNSV4_H) in libnet_build_dnsv4()
63 "%s(): invalid header length: %d", __func__, h_len); in libnet_build_dnsv4()
66 offset = (h_len == LIBNET_UDP_DNSV4_H ? sizeof(dns_hdr.h_len) : 0); in libnet_build_dnsv4()
67 n = h_len + payload_s; in libnet_build_dnsv4()
87 dns_hdr.h_len = htons(n - sizeof (dns_hdr.h_len)); in libnet_build_dnsv4()
101 n = libnet_pblock_append(l, p, ((uint8_t *)&dns_hdr) + offset, h_len); in libnet_build_dnsv4()
/dports/comms/liquid-dsp/liquid-dsp-1.3.2/examples/
H A Dmatched_filter_example.c83 float ht[h_len]; // transmit filter in main()
84 float hr[h_len]; // receive filter in main()
91 for (i=0; i<h_len; i++) printf("ht(%3u) = %12.8f;\n", i+1, ht[i]); in main()
96 float hr[h_len]; in main()
97 for (i=0; i<h_len; i++) in main()
98 hr[i] = ht[h_len-i-1]; in main()
104 hc[i] = liquid_filter_crosscorr(ht,h_len, hr,h_len, lag); in main()
108 float rxy0 = liquid_filter_crosscorr(ht,h_len, hr,h_len, 0); in main()
111 float e = liquid_filter_crosscorr(ht,h_len, hr,h_len, i*k) / rxy0; in main()
128 firinterp_rrrf interp = firinterp_rrrf_create(k, ht, h_len); in main()
[all …]
H A Dfirdes_kaiser_example.c33 unsigned int h_len=55; // filter length in main() local
41 case 'n': h_len = atoi(optarg); break; in main()
53 } else if ( h_len == 0 ) { in main()
62 printf(" filter length : %u\n", h_len); in main()
66 float h[h_len]; in main()
67 liquid_firdes_kaiser(h_len,fc,As,mu,h); in main()
70 for (i=0; i<h_len; i++) in main()
77 fprintf(fid,"h_len=%u;\n",h_len); in main()
81 for (i=0; i<h_len; i++) in main()
92 fc, -As, h_len); in main()
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/nmod_poly/
H A Dsinh_series.c33 slong h_len; in nmod_poly_sinh_series() local
35 h_len = h->length; in nmod_poly_sinh_series()
37 if (h_len > 0 && h->coeffs[0] != UWORD(0)) in nmod_poly_sinh_series()
43 if (h_len == 1 || n < 2) in nmod_poly_sinh_series()
49 if (h_len < n) in nmod_poly_sinh_series()
52 flint_mpn_copyi(h_coeffs, h->coeffs, h_len); in nmod_poly_sinh_series()
53 flint_mpn_zero(h_coeffs + h_len, n - h_len); in nmod_poly_sinh_series()
58 if (h == g && h_len >= n) in nmod_poly_sinh_series()
71 if (h == g && h_len >= n) in nmod_poly_sinh_series()
79 if (h_len < n) in nmod_poly_sinh_series()
H A Dcosh_series.c33 slong h_len; in nmod_poly_cosh_series() local
35 h_len = h->length; in nmod_poly_cosh_series()
37 if (h_len > 0 && h->coeffs[0] != UWORD(0)) in nmod_poly_cosh_series()
43 if (h_len == 1 || n < 2) in nmod_poly_cosh_series()
51 if (h_len < n) in nmod_poly_cosh_series()
54 flint_mpn_copyi(h_coeffs, h->coeffs, h_len); in nmod_poly_cosh_series()
55 flint_mpn_zero(h_coeffs + h_len, n - h_len); in nmod_poly_cosh_series()
60 if (h == g && h_len >= n) in nmod_poly_cosh_series()
73 if (h == g && h_len >= n) in nmod_poly_cosh_series()
81 if (h_len < n) in nmod_poly_cosh_series()
H A Dtan_series.c58 slong h_len; in nmod_poly_tan_series() local
60 h_len = h->length; in nmod_poly_tan_series()
62 if (h_len > 0 && h->coeffs[0] != UWORD(0)) in nmod_poly_tan_series()
68 if (h_len == 1 || n < 2) in nmod_poly_tan_series()
74 if (h_len < n) in nmod_poly_tan_series()
77 flint_mpn_copyi(h_coeffs, h->coeffs, h_len); in nmod_poly_tan_series()
78 flint_mpn_zero(h_coeffs + h_len, n - h_len); in nmod_poly_tan_series()
83 if (h == g && h_len >= n) in nmod_poly_tan_series()
96 if (h == g && h_len >= n) in nmod_poly_tan_series()
104 if (h_len < n) in nmod_poly_tan_series()
/dports/math/e-antic/flint2-ae7ec89/nmod_poly/
H A Dsinh_series.c33 slong h_len; in nmod_poly_sinh_series() local
35 h_len = h->length; in nmod_poly_sinh_series()
37 if (h_len > 0 && h->coeffs[0] != UWORD(0)) in nmod_poly_sinh_series()
43 if (h_len == 1 || n < 2) in nmod_poly_sinh_series()
49 if (h_len < n) in nmod_poly_sinh_series()
52 flint_mpn_copyi(h_coeffs, h->coeffs, h_len); in nmod_poly_sinh_series()
53 flint_mpn_zero(h_coeffs + h_len, n - h_len); in nmod_poly_sinh_series()
58 if (h == g && h_len >= n) in nmod_poly_sinh_series()
71 if (h == g && h_len >= n) in nmod_poly_sinh_series()
79 if (h_len < n) in nmod_poly_sinh_series()
H A Dcosh_series.c33 slong h_len; in nmod_poly_cosh_series() local
35 h_len = h->length; in nmod_poly_cosh_series()
37 if (h_len > 0 && h->coeffs[0] != UWORD(0)) in nmod_poly_cosh_series()
43 if (h_len == 1 || n < 2) in nmod_poly_cosh_series()
51 if (h_len < n) in nmod_poly_cosh_series()
54 flint_mpn_copyi(h_coeffs, h->coeffs, h_len); in nmod_poly_cosh_series()
55 flint_mpn_zero(h_coeffs + h_len, n - h_len); in nmod_poly_cosh_series()
60 if (h == g && h_len >= n) in nmod_poly_cosh_series()
73 if (h == g && h_len >= n) in nmod_poly_cosh_series()
81 if (h_len < n) in nmod_poly_cosh_series()
H A Dtan_series.c58 slong h_len; in nmod_poly_tan_series() local
60 h_len = h->length; in nmod_poly_tan_series()
62 if (h_len > 0 && h->coeffs[0] != UWORD(0)) in nmod_poly_tan_series()
68 if (h_len == 1 || n < 2) in nmod_poly_tan_series()
74 if (h_len < n) in nmod_poly_tan_series()
77 flint_mpn_copyi(h_coeffs, h->coeffs, h_len); in nmod_poly_tan_series()
78 flint_mpn_zero(h_coeffs + h_len, n - h_len); in nmod_poly_tan_series()
83 if (h == g && h_len >= n) in nmod_poly_tan_series()
96 if (h == g && h_len >= n) in nmod_poly_tan_series()
104 if (h_len < n) in nmod_poly_tan_series()
/dports/math/flint2/flint-2.8.4/nmod_poly/
H A Dsinh_series.c33 slong h_len; in nmod_poly_sinh_series() local
35 h_len = h->length; in nmod_poly_sinh_series()
37 if (h_len > 0 && h->coeffs[0] != UWORD(0)) in nmod_poly_sinh_series()
43 if (h_len == 1 || n < 2) in nmod_poly_sinh_series()
49 if (h_len < n) in nmod_poly_sinh_series()
52 flint_mpn_copyi(h_coeffs, h->coeffs, h_len); in nmod_poly_sinh_series()
53 flint_mpn_zero(h_coeffs + h_len, n - h_len); in nmod_poly_sinh_series()
58 if (h == g && h_len >= n) in nmod_poly_sinh_series()
71 if (h == g && h_len >= n) in nmod_poly_sinh_series()
79 if (h_len < n) in nmod_poly_sinh_series()
H A Dcosh_series.c33 slong h_len; in nmod_poly_cosh_series() local
35 h_len = h->length; in nmod_poly_cosh_series()
37 if (h_len > 0 && h->coeffs[0] != UWORD(0)) in nmod_poly_cosh_series()
43 if (h_len == 1 || n < 2) in nmod_poly_cosh_series()
51 if (h_len < n) in nmod_poly_cosh_series()
54 flint_mpn_copyi(h_coeffs, h->coeffs, h_len); in nmod_poly_cosh_series()
55 flint_mpn_zero(h_coeffs + h_len, n - h_len); in nmod_poly_cosh_series()
60 if (h == g && h_len >= n) in nmod_poly_cosh_series()
73 if (h == g && h_len >= n) in nmod_poly_cosh_series()
81 if (h_len < n) in nmod_poly_cosh_series()
H A Dtan_series.c58 slong h_len; in nmod_poly_tan_series() local
60 h_len = h->length; in nmod_poly_tan_series()
62 if (h_len > 0 && h->coeffs[0] != UWORD(0)) in nmod_poly_tan_series()
68 if (h_len == 1 || n < 2) in nmod_poly_tan_series()
74 if (h_len < n) in nmod_poly_tan_series()
77 flint_mpn_copyi(h_coeffs, h->coeffs, h_len); in nmod_poly_tan_series()
78 flint_mpn_zero(h_coeffs + h_len, n - h_len); in nmod_poly_tan_series()
83 if (h == g && h_len >= n) in nmod_poly_tan_series()
96 if (h == g && h_len >= n) in nmod_poly_tan_series()
104 if (h_len < n) in nmod_poly_tan_series()
/dports/comms/liquid-dsp/liquid-dsp-1.3.2/src/channel/src/
H A Dtvmpch.c34 unsigned int h_len; // filter length in TVMPCH() local
67 q->h_len = _n; in TVMPCH()
75 q->h[q->h_len-1] = 1.0f; in TVMPCH()
76 for (i=0; i<q->h_len-1; i++) in TVMPCH()
80 q->w = WINDOW(_create)(q->h_len); in TVMPCH()
108 unsigned int n = _q->h_len; in TVMPCH()
125 for (i=0; i<_q->h_len-1; i++) in TVMPCH()
172 return _q->h_len;
187 for (i=0; i<_q->h_len; i++)
205 float h[_q->h_len];
[all …]

12345678910>>...25