Home
last modified time | relevance | path

Searched refs:weightB (Results 1 - 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dwavpackenc.c1141 dpp->weightB = restore_weight(store_weight(dpp->weightB)); in decorr_stereo()
1161 out_right[0] = tmp = (dpp->samplesB[1] = in_right[0]) - APPLY_WEIGHT(dpp->weightB, sam); in decorr_stereo()
1162 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo()
1163 dpp->sumB += dpp->weightB; in decorr_stereo()
1183 out_right[0] = tmp = (dpp->samplesB[0] = in_right[0]) - APPLY_WEIGHT (dpp->weightB, sam); in decorr_stereo()
1184 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo()
1185 dpp->sumB += dpp->weightB; in decorr_stereo()
1205 out_right[0] = tmp = (dpp->samplesB[0] = in_right[0]) - APPLY_WEIGHT(dpp->weightB, sam); in decorr_stereo()
1206 UPDATE_WEIGHT(dpp->weightB, dp in decorr_stereo()
[all...]
H A Dwavpack.c823 R2 = R + ((s->decorr[i].weightB * (int64_t)B + 512) >> 10); in wv_unpack_stereo()
826 R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)B + 512) >> 10); in wv_unpack_stereo()
831 s->decorr[i].weightB -= ((((R ^ B) >> 30) & 2) - 1) * s->decorr[i].delta; in wv_unpack_stereo()
842 R2 = R + ((s->decorr[i].weightB * (int64_t)L2 + 512) >> 10); in wv_unpack_stereo()
844 R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)L2 + 512) >> 10); in wv_unpack_stereo()
845 UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, L2, R); in wv_unpack_stereo()
850 R2 = R + ((s->decorr[i].weightB * (int64_t)s->decorr[i].samplesB[0] + 512) >> 10); in wv_unpack_stereo()
852 R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)s->decorr[i].samplesB[0] + 512) >> 10); in wv_unpack_stereo()
853 UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, s->decorr[i].samplesB[0], R); in wv_unpack_stereo()
1211 s->decorr[s->terms - i - 1].weightB in wavpack_decode_block()
[all...]
H A Dwavpack.h92 int weightB; member
/third_party/python/Modules/clinic/
H A Daudioop.c.h964 " weightA=1, weightB=0, /)\n"
975 int weightA, int weightB);
988 int weightB = 0; in audioop_ratecv() local
1027 weightB = _PyLong_AsInt(args[7]); in audioop_ratecv()
1028 if (weightB == -1 && PyErr_Occurred()) { in audioop_ratecv()
1032 return_value = audioop_ratecv_impl(module, &fragment, width, nchannels, inrate, outrate, state, weightA, weightB); in audioop_ratecv()
/third_party/python/Modules/
H A Daudioop.c1318 weightB: int = 0
1327 int weightA, int weightB) in audioop_ratecv_impl()
1352 if (weightA < 1 || weightB < 0) { in audioop_ratecv_impl()
1354 "weightA should be >= 1, weightB should be >= 0"); in audioop_ratecv_impl()
1372 /* divide weightA and weightB by their greatest common divisor */ in audioop_ratecv_impl()
1373 d = gcd(weightA, weightB); in audioop_ratecv_impl()
1375 weightB /= d; in audioop_ratecv_impl()
1487 (double)weightB * (double)prev_i[chan]) / in audioop_ratecv_impl()
1488 ((double)weightA + (double)weightB)); in audioop_ratecv_impl()
1325 audioop_ratecv_impl(PyObject *module, Py_buffer *fragment, int width, int nchannels, int inrate, int outrate, PyObject *state, int weightA, int weightB) audioop_ratecv_impl() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp1527 const tcu::Interval weightB (filteringFormat.roundOut((ndx / 2) == 0 ? (1.0 - b) : b, false));
1528 const tcu::Interval weight (filteringFormat.roundOut(weightA * weightB, false));
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp1526 const tcu::Interval weightB (filteringFormat.roundOut((ndx / 2) == 0 ? (1.0 - b) : b, false));
1527 const tcu::Interval weight (filteringFormat.roundOut(weightA * weightB, false));

Completed in 14 milliseconds