Home
last modified time | relevance | path

Searched refs:cos (Results 1 – 25 of 269) sorted by relevance

1234567891011

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dbiquads.c218 p->b0 = (1 - cos(w0))/2; in start()
219 p->b1 = 1 - cos(w0); in start()
220 p->b2 = (1 - cos(w0))/2; in start()
222 p->a1 = -2*cos(w0); in start()
227 p->b0 = (1 + cos(w0))/2; in start()
228 p->b1 = -(1 + cos(w0)); in start()
229 p->b2 = (1 + cos(w0))/2; in start()
231 p->a1 = -2*cos(w0); in start()
240 p->a1 = -2*cos(w0); in start()
249 p->a1 = -2*cos(w0); in start()
[all …]
H A Ddeemph.plt70 Hi(f) = B0*sqrt((1 + 2*cos(f*O)*D + D*D)/(1 + 2*cos(f*O)*A1 + A1*A1))
85 b0 = A * ((A + 1.) + (A - 1.) * cos(w0) + 2. * sqrt(A) * alpha)
86 b1 = -2. * A * ((A - 1.) + (A + 1.) * cos(w0))
87 b2 = A * ((A + 1.) + (A - 1.) * cos(w0) - 2. * sqrt(A) * alpha)
88 a0 = (A + 1.) - (A - 1.) * cos(w0) + 2. * sqrt(A) * alpha
89 a1 = 2. * ((A - 1.) - (A + 1.) * cos(w0))
90 a2 = (A + 1.) - (A - 1.) * cos(w0) - 2. * sqrt(A) * alpha
102 2.*(b0*b1 + b1*b2)*cos(f*o) + 2.*(b0*b2)* cos(2.*f*o)) /\
103 (1. + a1*a1 + a2*a2 + 2.*(a1 + a1*a2)*cos(f*o) + 2.*a2*cos(2.*f*o)))
H A Dmcompand_xover.h52 x[0] = (1 - cos(w0))/2; /* Cf. filter_LPF in biquads.c */ in crossover_setup()
53 x[1] = 1 - cos(w0); in crossover_setup()
54 x[2] = (1 - cos(w0))/2; in crossover_setup()
55 x[3] = (1 + cos(w0))/2; /* Cf. filter_HPF in biquads.c */ in crossover_setup()
56 x[4] = -(1 + cos(w0)); in crossover_setup()
57 x[5] = (1 + cos(w0))/2; in crossover_setup()
59 x[7] = -2*cos(w0); in crossover_setup()
H A Deffects_i_dsp.c260 h[i] *= .5 - .5 * cos(x); in lsx_apply_hann_f()
269 h[i] *= .5 - .5 * cos(x); in lsx_apply_hann()
278 h[i] *= .53836 - .46164 * cos(x); in lsx_apply_hamming()
295 h[i] *= (1 - alpha) *.5 - .5 * cos(x) + alpha * .5 * cos(2 * x); in lsx_apply_blackman()
304 h[i] *= .3635819 - .4891775 * cos(x) + .1365995 * cos(2 * x) - .0106411 * cos(3 * x); in lsx_apply_blackman_nutall()
472 work[i ] = x * cos(work[i + 1]); in lsx_fir_to_phase()
/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/src/
H A Dubgears.c170 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); in gear()
171 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5); in gear()
173 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); in gear()
174 glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), in gear()
185 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5); in gear()
186 glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), width * 0.5); in gear()
187 glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), in gear()
189 glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), in gear()
202 glVertex3f(r1 * cos(angle), r1 * sin(angle), -width * 0.5); in gear()
203 glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5); in gear()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_init.h196 #define BNX2X_VOQ_Q_REG_ADDR(cos, pf_q_num)\ argument
197 (QM_REG_VOQQMASK_0_LSB + 4 * ((cos) * 2 + ((pf_q_num) >> 5)))
266 traffic_cos[LLFC_TRAFFIC_TYPE_FCOE].cos); in bnx2x_dcb_config_qm()
268 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); in bnx2x_dcb_config_qm()
270 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); in bnx2x_dcb_config_qm()
274 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in bnx2x_dcb_config_qm()
276 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in bnx2x_dcb_config_qm()
278 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in bnx2x_dcb_config_qm()
428 u32 vnic, cos; in bnx2x_init_fw_wrr() local
433 for (cos = 0; cos < MAX_COS_NUMBER; cos++) in bnx2x_init_fw_wrr()
[all …]
H A Dbnx2x_dcb.c583 ets_params.cos[i].state = bnx2x_cos_state_strict; in bnx2x_dcbx_update_ets_config()
584 ets_params.cos[i].params.sp_params.pri = in bnx2x_dcbx_update_ets_config()
591 ets_params.cos[i].state = bnx2x_cos_state_bw; in bnx2x_dcbx_update_ets_config()
592 ets_params.cos[i].params.bw_params.bw = in bnx2x_dcbx_update_ets_config()
728 u8 prio, cos; in bnx2x_dcbx_update_tc_mapping() local
729 for (cos = 0; cos < bp->dcbx_port_params.ets.num_of_cos; cos++) { in bnx2x_dcbx_update_tc_mapping()
731 if (bp->dcbx_port_params.ets.cos_params[cos].pri_bitmask in bnx2x_dcbx_update_tc_mapping()
733 bp->prio_to_cos[prio] = cos; in bnx2x_dcbx_update_tc_mapping()
735 "tx_mapping %d --> %d\n", prio, cos); in bnx2x_dcbx_update_tc_mapping()
1078 u8 cos = 0; in bnx2x_dcbx_print_cos_params() local
[all …]
H A Dbnx2x_cmn.c172 int i, cos, old_eth_num = BNX2X_NUM_ETH_QUEUES(bp); in bnx2x_shrink_eth_fp() local
177 for (cos = 1; cos < bp->max_cos; cos++) { in bnx2x_shrink_eth_fp()
180 int new_idx = cos * (old_eth_num - delta) + i; in bnx2x_shrink_eth_fp()
182 memcpy(&bp->bnx2x_txq[new_idx], fp->txdata_ptr[cos], in bnx2x_shrink_eth_fp()
184 fp->txdata_ptr[cos] = &bp->bnx2x_txq[new_idx]; in bnx2x_shrink_eth_fp()
1132 u8 cos; in bnx2x_msix_fp_int() local
1146 for_each_cos_in_tx_queue(fp, cos) in bnx2x_msix_fp_int()
1147 prefetch(fp->txdata_ptr[cos]->tx_cons_sb); in bnx2x_msix_fp_int()
1494 u8 cos; in bnx2x_free_tx_skbs_queue() local
1497 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_free_tx_skbs_queue()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/formulas/
H A Dvertex_longitude.hpp47 CT const A = sin(lat1) * cos(lat2) * cos(lat3) * sin_l12; in apply()
48 CT const B = sin(lat1) * cos(lat2) * cos(lat3) * cos_l12 in apply()
49 - cos(lat1) * sin(lat2) * cos(lat3); in apply()
104 CT cos_bet1 = cos(bet1); in apply()
105 CT cos_bet2 = cos(bet2); in apply()
138 CT const cos_sig1 = cos(sig1); in apply()
141 CT const cos_sig2 = cos(sig2); in apply()
150 CT const cos_omg12 = cos(omg12); in apply()
317 cos(lon1 - lon2), in apply()
H A Dspherical.hpp46 T const cos_lat = cos(lat); in sph_to_cart3d()
47 x = cos_lat * cos(lon); in sph_to_cart3d()
142 CT const cos_dlon = cos(dlon); in spherical_azimuth()
144 CT const cos_lat1 = cos(lat1); in spherical_azimuth()
145 CT const cos_lat2 = cos(lat2); in spherical_azimuth()
H A Ddifferential_quantities.hpp46 CT const cos_lat1 = cos(lat1); in apply()
48 CT const cos_lat2 = cos(lat2); in apply()
82 CT M12 = cos(sig_12); in apply()
93 CT const cos_alp1 = cos(azimuth); in apply()
95 CT const cos_alp2 = cos(reverse_azimuth); in apply()
H A Darea_formulas.hpp351 CT cbet1 = cos(geometry::get_as_radian<1>(p1)); in spherical()
353 CT cbet2 = cos(geometry::get_as_radian<1>(p2)); in spherical()
358 CT comg12 = cos(omg12); in spherical()
441 CT cos_bet1 = cos(atan(tan_bet1)); in ellipsoidal()
442 CT cos_bet2 = cos(atan(tan_bet2)); in ellipsoidal()
446 CT cos_alp1 = cos(alp1); in ellipsoidal()
447 CT cos_alp2 = cos(alp2); in ellipsoidal()
H A Dsjoberg_intersection.hpp63 CT const cos_lon1 = cos(lon1); in apply_alt()
65 CT const cos_lon2 = cos(lon2); in apply_alt()
69 CT const cos_lat1 = cos(lat1); in apply_alt()
70 CT const cos_lat2 = cos(lat2); in apply_alt()
115 CT const cos_dlon2 = cos(dlon2); in apply()
123 CT const cos_dlon1 = cos(dlon1); in apply()
131 CT const cos_dlon1 = cos(dlon1); in apply()
132 CT const cos_dlon2 = cos(dlon2); in apply()
165 CT const cos_lon = cos(lon); in apply()
326 cos_betaj = cos(betaj); in sjoberg_geodesic()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/spherical/
H A Dssf.hpp48 T const cos_delta1 = cos(delta1); in spherical_side_formula()
49 T const c1x = cos_delta1 * cos(lambda1); in spherical_side_formula()
53 T const cos_delta2 = cos(delta2); in spherical_side_formula()
54 T const c2x = cos_delta2 * cos(lambda2); in spherical_side_formula()
59 T const cos_delta = cos(delta); in spherical_side_formula()
63 = (c1y * c2z - c1z * c2y) * cos_delta * cos(lambda) in spherical_side_formula()
/OK3568_Linux_fs/kernel/include/net/
H A Derspan.h103 cos:3; member
109 __u8 cos:3,
163 u8 dscp, cos; in tos_to_cos() local
166 cos = dscp >> 3; in tos_to_cos()
167 return cos; in tos_to_cos()
206 ershdr->cos = tos_to_cos(tos); in erspan_build_header()
300 ershdr->cos = tos_to_cos(tos); in erspan_build_header_v2()
/OK3568_Linux_fs/external/rknn-toolkit2/examples/functions/mmse/
H A Dtest.py64 cos = lines[-1].split()[2] variable
65 if float(cos) >= 0.963:
66 print('cos = {}, mmse work!'.format(cos))
68 print('cos = {} < 0.963, mmse abnormal!'.format(cos))
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeocoordinate.cpp454 + cos(qDegreesToRadians(d->lat)) in distanceTo()
455 * cos(qDegreesToRadians(other.d->lat)) in distanceTo()
483 double y = sin(dlon) * cos(lat2Rad); in azimuthTo()
484 double x = cos(lat1Rad) * sin(lat2Rad) - sin(lat1Rad) * cos(lat2Rad) * cos(dlon); in azimuthTo()
498 double cosLatRad = cos(latRad); in atDistanceAndAzimuth()
504 double cosRatio = cos(ratio); in atDistanceAndAzimuth()
508 + cosLatRad * sinRatio * cos(azimuthRad)); in atDistanceAndAzimuth()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Dmath.hpp91 S cos = std::cos(angle); in rotate() local
93 S x = cos * a.x - sin * a.y; in rotate()
94 S y = sin * a.x + cos * a.y; in rotate()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/qvm/
H A Dmath.hpp22 template <class T> T cos( T );
45 template <> BOOST_QVM_INLINE_TRIVIAL float cos<float>( float x ) { return ::cosf(x); } in cos() function
67 template <> BOOST_QVM_INLINE_TRIVIAL double cos<double>( double x ) { return ::cos(x); } in cos() function
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/
H A Dqede_main.c531 int cos; in qede_tx_timeout() local
539 for_each_cos_in_txq(edev, cos) { in qede_tx_timeout()
540 txq = &edev->fp_array[txqueue].txq[cos]; in qede_tx_timeout()
565 int cos, count, offset; in qede_setup_tc() local
573 for_each_cos_in_txq(edev, cos) { in qede_setup_tc()
575 offset = cos * QEDE_TSS_COUNT(edev); in qede_setup_tc()
576 netdev_set_tc_queue(ndev, cos, count, offset); in qede_setup_tc()
1611 int cos; in qede_free_mem_fp() local
1613 for_each_cos_in_txq(edev, cos) in qede_free_mem_fp()
1614 qede_free_mem_txq(edev, &fp->txq[cos]); in qede_free_mem_fp()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/
H A Dsymbol_bucket.cpp191 const float cos = std::cos(angle); in sortFeatures() local
193 …std::sort(symbolInstanceIndexes.begin(), symbolInstanceIndexes.end(), [sin, cos, this](size_t &aIn… in sortFeatures()
196 …const int32_t aRotated = static_cast<int32_t>(::lround(sin * a.anchor.point.x + cos * a.anchor.poi… in sortFeatures()
197 …const int32_t bRotated = static_cast<int32_t>(::lround(sin * b.anchor.point.x + cos * b.anchor.poi… in sortFeatures()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/style/
H A Dposition.hpp62 x = radial * std::cos(_a) * std::sin(_p); in calculateCartesian()
64 z = radial * std::cos(_p); in calculateCartesian()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/imxwayland/qmlvideofx/shaders/
H A Dripple.fsh63 … vec2 r = vec2(cos(theta) * p.x + sin(theta) * p.y, -1.0 * sin(theta) * p.x + cos(theta) * p.y);
66 diffy += diff * cos(theta);
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/imgproc/detail/
H A Ddistortion_model.hpp82 FLOAT cTauX = cos(tauX); in computeTiltProjectionMatrix()
84 FLOAT cTauY = cos(tauY); in computeTiltProjectionMatrix()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/imgproc/detail/
H A Ddistortion_model.hpp82 FLOAT cTauX = cos(tauX); in computeTiltProjectionMatrix()
84 FLOAT cTauY = cos(tauY); in computeTiltProjectionMatrix()

1234567891011