Searched refs:tx (Results 1 - 25 of 57) sorted by relevance

123

/haiku/src/add-ons/screen_savers/gravity/
H A DGravitySource.h26 float tx; member in struct:GravitySource
H A DGravitySource.cpp35 tx = frand() * 30.0f - 15.0f;
44 float dx = tx - x;
63 tx = frand() * 20.0f - 10.0f;
/haiku/src/libs/agg/src/
H A Dagg_trans_affine.cpp34 tx = src[0];
74 double t4 = tx * m.sx + ty * m.shx + m.tx;
77 ty = tx * m.shy + ty * m.sy + m.ty;
80 tx = t4;
95 double t4 = -tx * t0 - ty * shx;
96 ty = -tx * shy - ty * sy;
99 tx = t4;
109 tx = -tx;
[all...]
H A Dagg_line_aa_basics.cpp56 double tx = l2.x2 - (l2.x1 - l1.x1) * k; local
65 tx -= (tx - l2.x1) * 2.0;
70 double dx = tx - l2.x1;
78 *x = iround(tx);
H A Dagg_bezier_arc.cpp44 double tx = (1.0 - x0) * 4.0 / 3.0; local
45 double ty = y0 - tx * x0 / y0;
50 px[1] = x0 + tx;
52 px[2] = x0 + tx;
/haiku/headers/libs/agg/
H A Dagg_trans_bilinear.h120 double tx = *x; local
122 double xy = tx * ty;
123 *x = m_mtx[0][0] + m_mtx[1][0] * xy + m_mtx[2][0] * tx + m_mtx[3][0] * ty;
124 *y = m_mtx[0][1] + m_mtx[1][1] * xy + m_mtx[2][1] * tx + m_mtx[3][1] * ty;
139 iterator_x(double tx, double ty, double step, const double m[4][2]) : argument
142 x(m[0][0] + m[1][0] * tx * ty + m[2][0] * tx + m[3][0] * ty),
143 y(m[0][1] + m[1][1] * tx * ty + m[2][1] * tx + m[3][1] * ty)
H A Dagg_span_interpolator_linear.h56 double tx; local
59 tx = x;
61 m_trans->transform(&tx, &ty);
62 int x1 = iround(tx * subpixel_scale);
65 tx = x + len;
67 m_trans->transform(&tx, &ty);
68 int x2 = iround(tx * subpixel_scale);
162 double tx; local
170 tx = x;
172 m_trans->transform(&tx,
193 double tx = double(m_src_x) / double(subpixel_scale) + len; local
[all...]
H A Dagg_trans_perspective.h30 double sx, shy, w0, shx, sy, w1, tx, ty, w2; member in struct:agg::trans_perspective
37 tx (0), ty (0), w2(1) {}
45 tx (v6), ty (v7), w2(v8) {}
51 tx (m[6]), ty (m[7]), w2(m[8]) {}
57 tx (a.tx ), ty (a.ty ), w2(1) {}
247 nom_x(px * m.sx + py * m.shx + m.tx),
301 tx = q[0];
316 sx = shy = w0 = shx = sy = w1 = tx = ty = w2 = 0.0;
329 tx
[all...]
H A Dagg_conv_adaptor_vpgen.h96 double tx, ty; local
97 cmd = m_source->vertex(&tx, &ty);
106 m_start_x = tx;
111 m_vpgen.move_to(tx, ty);
112 m_start_x = tx;
118 m_vpgen.line_to(tx, ty);
H A Dagg_trans_affine.h89 double sx, shy, shx, sy, tx, ty; member in struct:agg::trans_affine
94 sx(1.0), shy(0.0), shx(0.0), sy(1.0), tx(0.0), ty(0.0)
100 sx(v0), shy(v1), shx(v2), sy(v3), tx(v4), ty(v5)
105 sx(m[0]), shy(m[1]), shx(m[2]), sy(m[3]), tx(m[4]), ty(m[5])
188 *m++ = sx; *m++ = shy; *m++ = shx; *m++ = sy; *m++ = tx; *m++ = ty;
194 sx = *m++; shy = *m++; shx = *m++; sy = *m++; tx = *m++; ty = *m++;
296 *x = tmp * sx + *y * shx + tx;
312 double a = (*x - tx) * d;
329 tx += x;
341 double t4 = tx * c
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/
H A Dr88e_calib.c68 r88e_iq_calib_chain(struct rtwn_softc *sc, uint16_t tx[2], uint16_t rx[2]) argument
106 tx[0] = MS(rtwn_bb_read(sc, R92C_TX_POWER_IQK_BEFORE(0)),
108 tx[1] = MS(rtwn_bb_read(sc, R92C_TX_POWER_IQK_AFTER(0)),
110 if (tx[0] == 0x142 || tx[1] == 0x042)
113 rtwn_bb_write(sc, R92C_TX_IQK, 0x80007c00 | (tx[0] << 16) | tx[1]);
158 r88e_iq_calib_run(struct rtwn_softc *sc, int n, uint16_t tx[2], argument
237 ret = r88e_iq_calib_chain(sc, tx, rx);
241 tx[
311 r88e_iq_calib_write_results(struct rtwn_softc *sc, uint16_t tx[2], uint16_t rx[2]) argument
357 uint16_t tx[RTWN_IQ_CAL_NRUN][2], rx[RTWN_IQ_CAL_NRUN][2]; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/pci/
H A Dr92ce_calib.c73 r92ce_iq_calib_chain(struct rtwn_softc *sc, int chain, uint16_t tx[2], argument
115 tx[0] = MS(rtwn_bb_read(sc, R92C_TX_POWER_IQK_BEFORE(chain)),
117 tx[1] = MS(rtwn_bb_read(sc, R92C_TX_POWER_IQK_AFTER(chain)),
119 if (tx[0] == 0x142 || tx[1] == 0x042)
136 r92ce_iq_calib_run(struct rtwn_softc *sc, int n, uint16_t tx[2][2], argument
228 tx[chain], rx[chain]);
233 tx[chain][0] = 0xff;
234 tx[chain][1] = 0xff;
251 "%s: results for run %d chain %d: tx[
313 r92ce_iq_calib_write_results(struct rtwn_softc *sc, uint16_t tx[2], uint16_t rx[2], int chain) argument
365 uint16_t tx[RTWN_IQ_CAL_NRUN][2][2], rx[RTWN_IQ_CAL_NRUN][2][2]; local
[all...]
/haiku/src/system/libroot/posix/musl/math/
H A D__rem_pio2f.c45 double tx[1],ty[1]; local
67 tx[0] = u.f;
68 n = __rem_pio2_large(tx,ty,e0,1,0);
H A D__rem_pio2.c52 double tx[3],ty[2]; local
161 tx[i] = (double)(int32_t)z;
162 z = (z-tx[i])*0x1p24;
164 tx[i] = z;
166 while (tx[i] == 0.0)
168 n = __rem_pio2_large(tx,ty,(int)(ix>>20)-(0x3ff+23),i+1,1);
H A D__rem_pio2l.c73 double tx[NX],ty[NY]; local
118 tx[i] = (double)(int32_t)z;
119 z = (z-tx[i])*0x1p24;
121 tx[i] = z;
122 while (tx[i] == 0)
124 n = __rem_pio2_large(tx, ty, ex-0x3fff-23, i+1, NY);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212desc.h29 * AR5212-specific tx/rx descriptor definition.
42 } tx; member in union:ar5212_desc::__anon1124
52 #define ds_ctl2 u.tx.ctl2
53 #define ds_ctl3 u.tx.ctl3
54 #define ds_txstatus0 u.tx.status0
55 #define ds_txstatus1 u.tx.status1
103 #define AR_XmitRate0 0x0000001f /* series 0 tx rate */
105 #define AR_XmitRate1 0x000003e0 /* series 1 tx rate */
107 #define AR_XmitRate2 0x00007c00 /* series 2 tx rate */
109 #define AR_XmitRate3 0x000f8000 /* series 3 tx rat
[all...]
/haiku/src/libs/icon/transformer/
H A DAffineTransformer.cpp131 double tx; local
133 translation(&tx, &ty);
134 object->AddProperty(new FloatProperty(PROPERTY_TRANSLATION_X, tx));
159 double tx; local
161 translation(&tx, &ty);
168 double newTX = object->Value(PROPERTY_TRANSLATION_X, (float)tx);
178 if (newTX != tx || newTY != ty
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416desc.h33 ((uint32_t*)(&(_ads)->u.tx.status[_get_index(_ah)]))
35 ((const uint32_t*)(&(_ads)->u.tx.status[_get_index(_ah)]))
41 struct ar5416_tx_desc { /* tx desc has 12 control words + 10 status words */
73 struct ar5416_tx_desc tx; member in union:ar5416_desc::__anon139
80 #define ds_ctl2 u.tx.ctl2
81 #define ds_ctl3 u.tx.ctl3
82 #define ds_ctl4 u.tx.ctl4
83 #define ds_ctl5 u.tx.ctl5
84 #define ds_ctl6 u.tx.ctl6
85 #define ds_ctl7 u.tx
[all...]
/haiku/src/kits/interface/
H A DAffineTransform.cpp38 tx(0.0),
45 double sy, double tx, double ty)
51 tx(tx),
63 tx(other.tx),
110 buffer[4] = tx;
131 tx = buffer[4];
391 double tx; local
396 if (!GetAffineParameters(&tx,
44 BAffineTransform(double sx, double shy, double shx, double sy, double tx, double ty) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_calib.c73 r92c_iq_calib_chain(struct rtwn_softc *sc, int chain, uint16_t tx[2], argument
115 tx[0] = MS(rtwn_bb_read(sc, R92C_TX_POWER_IQK_BEFORE(chain)),
117 tx[1] = MS(rtwn_bb_read(sc, R92C_TX_POWER_IQK_AFTER(chain)),
119 if (tx[0] == 0x142 || tx[1] == 0x042)
136 r92c_iq_calib_run(struct rtwn_softc *sc, int n, uint16_t tx[2][2], argument
240 tx[chain], rx[chain]);
245 tx[chain][0] = 0xff;
246 tx[chain][1] = 0xff;
263 "%s: results for run %d chain %d: tx[
332 r92c_iq_calib_write_results(struct rtwn_softc *sc, uint16_t tx[2], uint16_t rx[2], int chain) argument
384 uint16_t tx[RTWN_IQ_CAL_NRUN][2][2], rx[RTWN_IQ_CAL_NRUN][2][2]; local
[all...]
/haiku/headers/os/interface/
H A DAffineTransform.h45 double shx, double sy, double tx,
193 void GetTranslation(double* tx,
210 double tx; member in class:BAffineTransform
225 *x = tmp * sx + *y * shx + tx;
234 double a = (*x - tx) * d;
247 tx += x;
256 tx += x * sx + y * shx;
269 double t4 = tx * ca - ty * sa;
272 ty = tx * sa + ty * ca;
275 tx
[all...]
/haiku/src/add-ons/media/media-add-ons/firewire_dv/
H A DFireWireCard.cpp189 bufreq.tx.nchunk = 0;
190 bufreq.tx.npacket = 0;
191 bufreq.tx.psize = 0;
247 bufreq.tx.nchunk = 0;
248 bufreq.tx.npacket = 0;
249 bufreq.tx.psize = 0;
357 bufreq.tx.nchunk = 0;
358 bufreq.tx.npacket = 0;
359 bufreq.tx.psize = 0;
/haiku/src/apps/icon-o-matic/transformable/
H A DChannelTransform.cpp53 double tx; local
55 other.translation(&tx, &ty);
65 if (isnanf(tx) || isnanf(ty) || isnanf(scaleX) || isnanf(scaleY))
68 SetTransformation(B_ORIGIN, BPoint(tx, ty), rotation, scaleX, scaleY);
/haiku/src/bin/fwcontrol/
H A Dfwmpegts.c186 bufreq.tx.nchunk = 0;
187 bufreq.tx.npacket = 0;
188 bufreq.tx.psize = 0;
/haiku/headers/private/firewire/
H A Dfirewire_module.h56 int (*fw_open_isodma)(struct firewire_comm *fc, int tx);

Completed in 235 milliseconds

123