Home
last modified time | relevance | path

Searched refs:weightB (Results 1 – 25 of 101) sorted by relevance

12345

/dports/emulators/mgba/mgba-0.9.2/include/mgba/core/
H A Dinterface.h83 ATTRIBUTE_UNUSED static unsigned mColorMix5Bit(int weightA, unsigned colorA, int weightB, unsigned … in mColorMix5Bit() argument
92 c = ((a * weightA + b * weightB) / 16); in mColorMix5Bit()
108 c = ((a * weightA + b * weightB) / 16); in mColorMix5Bit()
123 c |= ((a * weightA + b * weightB) / 16) & 0x1FF; in mColorMix5Bit()
130 c |= ((a * weightA + b * weightB) / 16) & 0x1FF00; in mColorMix5Bit()
137 c |= ((a * weightA + b * weightB) / 16) & 0x1FF0000; in mColorMix5Bit()
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dwavpackenc.c1138 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo()
1160 dpp->sumB += dpp->weightB; in decorr_stereo()
1182 dpp->sumB += dpp->weightB; in decorr_stereo()
1204 dpp->sumB += dpp->weightB; in decorr_stereo()
1226 dpp->sumB += dpp->weightB; in decorr_stereo()
1262 dpp->sumB += dpp->weightB; in decorr_stereo()
1277 dpp->sumB += dpp->weightB; in decorr_stereo()
1299 dpp->sumB += dpp->weightB; in decorr_stereo()
1366 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo_quick()
1527 dppi->weightB = dp.weightB; in decorr_stereo_buffer()
[all …]
H A Dwavpack.c818 R2 = R + ((s->decorr[i].weightB * (int64_t)B + 512) >> 10); in wv_unpack_stereo()
821 R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)B + 512) >> 10); in wv_unpack_stereo()
826 s->decorr[i].weightB -= ((((R ^ B) >> 30) & 2) - 1) * s->decorr[i].delta; in wv_unpack_stereo()
837 R2 = R + ((s->decorr[i].weightB * (int64_t)L2 + 512) >> 10); in wv_unpack_stereo()
839 R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)L2 + 512) >> 10); in wv_unpack_stereo()
840 UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, L2, R); in wv_unpack_stereo()
845 … R2 = R + ((s->decorr[i].weightB * (int64_t)s->decorr[i].samplesB[0] + 512) >> 10); in wv_unpack_stereo()
1206 s->decorr[s->terms - i - 1].weightB = t * (1 << 3); in wavpack_decode_block()
1207 if (s->decorr[s->terms - i - 1].weightB > 0) in wavpack_decode_block()
1208 s->decorr[s->terms - i - 1].weightB += in wavpack_decode_block()
[all …]
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Dwavpackenc.c1139 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo()
1161 dpp->sumB += dpp->weightB; in decorr_stereo()
1183 dpp->sumB += dpp->weightB; in decorr_stereo()
1205 dpp->sumB += dpp->weightB; in decorr_stereo()
1227 dpp->sumB += dpp->weightB; in decorr_stereo()
1263 dpp->sumB += dpp->weightB; in decorr_stereo()
1278 dpp->sumB += dpp->weightB; in decorr_stereo()
1300 dpp->sumB += dpp->weightB; in decorr_stereo()
1367 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo_quick()
1528 dppi->weightB = dp.weightB; in decorr_stereo_buffer()
[all …]
H A Dwavpack.c428 R2 = R + ((s->decorr[i].weightB * (int64_t)B + 512) >> 10); in wv_unpack_stereo()
431 R2 = R + ((s->decorr[i].weightB * B + 512) >> 10); in wv_unpack_stereo()
436 s->decorr[i].weightB -= ((((R ^ B) >> 30) & 2) - 1) * s->decorr[i].delta; in wv_unpack_stereo()
447 R2 = R + ((s->decorr[i].weightB * (int64_t)L2 + 512) >> 10); in wv_unpack_stereo()
449 R2 = R + ((s->decorr[i].weightB * L2 + 512) >> 10); in wv_unpack_stereo()
450 UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, L2, R); in wv_unpack_stereo()
457 R2 = R + ((s->decorr[i].weightB * s->decorr[i].samplesB[0] + 512) >> 10); in wv_unpack_stereo()
735 s->decorr[s->terms - i - 1].weightB = t << 3; in wavpack_decode_block()
736 if (s->decorr[s->terms - i - 1].weightB > 0) in wavpack_decode_block()
737 s->decorr[s->terms - i - 1].weightB += in wavpack_decode_block()
[all …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dwavpackenc.c1138 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo()
1160 dpp->sumB += dpp->weightB; in decorr_stereo()
1182 dpp->sumB += dpp->weightB; in decorr_stereo()
1204 dpp->sumB += dpp->weightB; in decorr_stereo()
1226 dpp->sumB += dpp->weightB; in decorr_stereo()
1262 dpp->sumB += dpp->weightB; in decorr_stereo()
1277 dpp->sumB += dpp->weightB; in decorr_stereo()
1299 dpp->sumB += dpp->weightB; in decorr_stereo()
1366 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo_quick()
1527 dppi->weightB = dp.weightB; in decorr_stereo_buffer()
[all …]
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dwavpackenc.c1144 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo()
1166 dpp->sumB += dpp->weightB; in decorr_stereo()
1188 dpp->sumB += dpp->weightB; in decorr_stereo()
1210 dpp->sumB += dpp->weightB; in decorr_stereo()
1232 dpp->sumB += dpp->weightB; in decorr_stereo()
1268 dpp->sumB += dpp->weightB; in decorr_stereo()
1283 dpp->sumB += dpp->weightB; in decorr_stereo()
1305 dpp->sumB += dpp->weightB; in decorr_stereo()
1372 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo_quick()
1533 dppi->weightB = dp.weightB; in decorr_stereo_buffer()
[all …]
H A Dwavpack.c434 R2 = R + ((s->decorr[i].weightB * (int64_t)B + 512) >> 10); in wv_unpack_stereo()
437 R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)B + 512) >> 10); in wv_unpack_stereo()
442 s->decorr[i].weightB -= ((((R ^ B) >> 30) & 2) - 1) * s->decorr[i].delta; in wv_unpack_stereo()
453 R2 = R + ((s->decorr[i].weightB * (int64_t)L2 + 512) >> 10); in wv_unpack_stereo()
455 R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)L2 + 512) >> 10); in wv_unpack_stereo()
456 UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, L2, R); in wv_unpack_stereo()
461 … R2 = R + ((s->decorr[i].weightB * (int64_t)s->decorr[i].samplesB[0] + 512) >> 10); in wv_unpack_stereo()
754 s->decorr[s->terms - i - 1].weightB = t * (1 << 3); in wavpack_decode_block()
755 if (s->decorr[s->terms - i - 1].weightB > 0) in wavpack_decode_block()
756 s->decorr[s->terms - i - 1].weightB += in wavpack_decode_block()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Dwavpackenc.c1138 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo()
1160 dpp->sumB += dpp->weightB; in decorr_stereo()
1182 dpp->sumB += dpp->weightB; in decorr_stereo()
1204 dpp->sumB += dpp->weightB; in decorr_stereo()
1226 dpp->sumB += dpp->weightB; in decorr_stereo()
1262 dpp->sumB += dpp->weightB; in decorr_stereo()
1277 dpp->sumB += dpp->weightB; in decorr_stereo()
1299 dpp->sumB += dpp->weightB; in decorr_stereo()
1366 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo_quick()
1527 dppi->weightB = dp.weightB; in decorr_stereo_buffer()
[all …]
H A Dwavpack.c434 R2 = R + ((s->decorr[i].weightB * (int64_t)B + 512) >> 10); in wv_unpack_stereo()
437 R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)B + 512) >> 10); in wv_unpack_stereo()
442 s->decorr[i].weightB -= ((((R ^ B) >> 30) & 2) - 1) * s->decorr[i].delta; in wv_unpack_stereo()
453 R2 = R + ((s->decorr[i].weightB * (int64_t)L2 + 512) >> 10); in wv_unpack_stereo()
455 R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)L2 + 512) >> 10); in wv_unpack_stereo()
456 UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, L2, R); in wv_unpack_stereo()
461 … R2 = R + ((s->decorr[i].weightB * (int64_t)s->decorr[i].samplesB[0] + 512) >> 10); in wv_unpack_stereo()
754 s->decorr[s->terms - i - 1].weightB = t * (1 << 3); in wavpack_decode_block()
755 if (s->decorr[s->terms - i - 1].weightB > 0) in wavpack_decode_block()
756 s->decorr[s->terms - i - 1].weightB += in wavpack_decode_block()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A Dwavpackenc.c1139 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo()
1161 dpp->sumB += dpp->weightB; in decorr_stereo()
1183 dpp->sumB += dpp->weightB; in decorr_stereo()
1205 dpp->sumB += dpp->weightB; in decorr_stereo()
1227 dpp->sumB += dpp->weightB; in decorr_stereo()
1263 dpp->sumB += dpp->weightB; in decorr_stereo()
1278 dpp->sumB += dpp->weightB; in decorr_stereo()
1300 dpp->sumB += dpp->weightB; in decorr_stereo()
1367 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo_quick()
1528 dppi->weightB = dp.weightB; in decorr_stereo_buffer()
[all …]
H A Dwavpack.c428 R2 = R + ((s->decorr[i].weightB * (int64_t)B + 512) >> 10); in wv_unpack_stereo()
431 R2 = R + ((s->decorr[i].weightB * B + 512) >> 10); in wv_unpack_stereo()
436 s->decorr[i].weightB -= ((((R ^ B) >> 30) & 2) - 1) * s->decorr[i].delta; in wv_unpack_stereo()
447 R2 = R + ((s->decorr[i].weightB * (int64_t)L2 + 512) >> 10); in wv_unpack_stereo()
449 R2 = R + ((s->decorr[i].weightB * L2 + 512) >> 10); in wv_unpack_stereo()
450 UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, L2, R); in wv_unpack_stereo()
457 R2 = R + ((s->decorr[i].weightB * s->decorr[i].samplesB[0] + 512) >> 10); in wv_unpack_stereo()
735 s->decorr[s->terms - i - 1].weightB = t << 3; in wavpack_decode_block()
736 if (s->decorr[s->terms - i - 1].weightB > 0) in wavpack_decode_block()
737 s->decorr[s->terms - i - 1].weightB += in wavpack_decode_block()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Dwavpackenc.c1138 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo()
1160 dpp->sumB += dpp->weightB; in decorr_stereo()
1182 dpp->sumB += dpp->weightB; in decorr_stereo()
1204 dpp->sumB += dpp->weightB; in decorr_stereo()
1226 dpp->sumB += dpp->weightB; in decorr_stereo()
1262 dpp->sumB += dpp->weightB; in decorr_stereo()
1277 dpp->sumB += dpp->weightB; in decorr_stereo()
1299 dpp->sumB += dpp->weightB; in decorr_stereo()
1366 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo_quick()
1527 dppi->weightB = dp.weightB; in decorr_stereo_buffer()
[all …]
/dports/science/chrono/chrono-7.0.1/src/chrono/motion_functions/
H A DChFunction_Mocap.cpp88 double weightA, weightB; in LinInterp() local
109 weightB = position - (int)position; in LinInterp()
110 weightA = 1 - weightB; in LinInterp()
112 return (weightA * array(ia) + weightB * array(ib)); in LinInterp()
H A DChFunction_Integrate.cpp72 double weightB = position - (double)i_a; in Get_y() local
73 double weightA = 1 - weightB; in Get_y()
75 return (weightA * (array_x(i_a)) + weightB * (array_x(i_b))); in Get_y()
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/analysis/solvers/
H A DBracketingNthOrderBrentSolver.java239 final double weightB = p + 1; in doSolve() local
240 targetY = (weightA * yA - weightB * REDUCTION_FACTOR * yB) / (weightA + weightB); in doSolve()
245 final double weightB = (1 << p) - 1; in doSolve() local
246 targetY = (weightB * yB - weightA * REDUCTION_FACTOR * yA) / (weightA + weightB); in doSolve()
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/
H A Dwavpack.c64 int weightB; member
266 R2 = R + ((s->decorr[i].weightB * B + 512) >> 10); in wv_unpack_stereo()
268 if(B && R) s->decorr[i].weightB -= ((((R ^ B) >> 30) & 2) - 1) * s->decorr[i].delta; in wv_unpack_stereo()
275 R2 = R + ((s->decorr[i].weightB * L2 + 512) >> 10); in wv_unpack_stereo()
276 UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, L2, R); in wv_unpack_stereo()
280 R2 = R + ((s->decorr[i].weightB * s->decorr[i].samplesB[0] + 512) >> 10); in wv_unpack_stereo()
281 … UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, s->decorr[i].samplesB[0], R); in wv_unpack_stereo()
456 s->decorr[s->terms - i - 1].weightB = t << 3; in wavpack_decode_frame()
457 if(s->decorr[s->terms - i - 1].weightB > 0) in wavpack_decode_frame()
458 … s->decorr[s->terms - i - 1].weightB += (s->decorr[s->terms - i - 1].weightB + 64) >> 7; in wavpack_decode_frame()
/dports/net/linphone/linphoneqt-4.1.1/src/components/sip-addresses/
H A DSipAddressesProxyModel.cpp67 int weightB = computeEntryWeight(mapB); in lessThan() local
70 if (weightA != weightB) in lessThan()
71 return weightA > weightB; in lessThan()
/dports/net/linphone/linphoneqt-4.1.1/src/components/contacts/
H A DContactsListProxyModel.cpp90 unsigned int weightB = mWeights[contactB]; in lessThan() local
93 return weightA > weightB || ( in lessThan()
94 weightA == weightB && in lessThan()
/dports/games/libretro-mgba/mgba-6186d45/src/gba/renderers/
H A Dsoftware-private.h34 static unsigned _mix(int weightA, unsigned colorA, int weightB, unsigned colorB);
298 static unsigned _mix(int weightA, unsigned colorA, int weightB, unsigned colorB) { in _mix() argument
307 c = ((a * weightA + b * weightB) / 16); in _mix()
323 c = ((a * weightA + b * weightB) / 16); in _mix()
338 c |= ((a * weightA + b * weightB) / 16) & 0x1FF; in _mix()
345 c |= ((a * weightA + b * weightB) / 16) & 0x1FF00; in _mix()
352 c |= ((a * weightA + b * weightB) / 16) & 0x1FF0000; in _mix()
/dports/science/libgeodecomp/libgeodecomp-0.4.0/src/examples/latticegas/
H A Dsimparams.h29 weightB = 0.0020; in initParams()
57 float weightB; variable
H A Dmain.cu148 simParamsHost.weightB = (upperB + lowerB) * 0.5; in testCamera()
154 << simParamsHost.weightB << ")\n"; in testCamera()
164 upperB = simParamsHost.weightB; in testCamera()
171 lowerB = simParamsHost.weightB; in testCamera()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/trop/
H A Dtantialias.cpp80 double weightB) { in weightPix() argument
81 out->r = a->r * weightA + b->r * weightB; in weightPix()
82 out->g = a->g * weightA + b->g * weightB; in weightPix()
83 out->b = a->b * weightA + b->b * weightB; in weightPix()
84 out->m = a->m * weightA + b->m * weightB; in weightPix()
92 double weightB) { in weightPix() argument
95 a->getTone() * weightA + b->getTone() * weightB); in weightPix()
/dports/www/guacamole-client/guacamole-client-1.3.0/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/tunnel/
H A DRestrictedGuacamoleTunnelService.java197 int weightB = b.getConnectionWeight(); in acquire()
200 int calcWeightA = connA * weightB; in acquire()
205 return (weightA - weightB); in acquire()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/
H A DColorValidator.cs37 var weightB = 2.0 + (255 - rmean) / 256; in GetColorDelta()
38 return Math.Sqrt(weightR * r * r + weightG * g * g + weightB * b * b); in GetColorDelta()

12345