Home
last modified time | relevance | path

Searched refs:old_weight (Results 1 - 4 of 4) sorted by relevance

/third_party/alsa-lib/src/pcm/
H A Dpcm_rate_linear.c95 int old_weight, new_weight; in linear_expand() local
118 old_weight = 0x10000 - new_weight; in linear_expand()
119 sample = (old_sample * old_weight + new_sample * new_weight) >> 16; in linear_expand()
158 int old_weight, new_weight; in linear_expand_s16() local
175 old_weight = 0x10000 - new_weight; in linear_expand_s16()
176 *dst = (old_sample * old_weight + new_sample * new_weight) >> 16; in linear_expand_s16()
217 int old_weight, new_weight; in linear_shrink() local
238 old_weight = (pos << (32 - LINEAR_DIV_SHIFT)) / (get_increment >> (LINEAR_DIV_SHIFT - 16)); in linear_shrink()
239 new_weight = 0x10000 - old_weight; in linear_shrink()
240 sample = (old_sample * old_weight in linear_shrink()
279 int old_weight, new_weight; linear_shrink_s16() local
[all...]
/third_party/nghttp2/lib/
H A Dnghttp2_stream.c251 int32_t old_weight; in nghttp2_stream_change_weight() local
258 old_weight = stream->weight; in nghttp2_stream_change_weight()
267 dep_stream->sum_dep_weight += weight - old_weight; in nghttp2_stream_change_weight()
280 (uint32_t)((stream->pending_penalty + (uint32_t)old_weight - in nghttp2_stream_change_weight()
281 (wlen_penalty % (uint32_t)old_weight)) % in nghttp2_stream_change_weight()
282 (uint32_t)old_weight); in nghttp2_stream_change_weight()
285 (wlen_penalty + stream->pending_penalty) / (uint32_t)old_weight; in nghttp2_stream_change_weight()
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_stream.c251 int32_t old_weight; in nghttp2_stream_change_weight() local
258 old_weight = stream->weight; in nghttp2_stream_change_weight()
267 dep_stream->sum_dep_weight += weight - old_weight; in nghttp2_stream_change_weight()
280 (uint32_t)((stream->pending_penalty + (uint32_t)old_weight - in nghttp2_stream_change_weight()
281 (wlen_penalty % (uint32_t)old_weight)) % in nghttp2_stream_change_weight()
282 (uint32_t)old_weight); in nghttp2_stream_change_weight()
285 (wlen_penalty + stream->pending_penalty) / (uint32_t)old_weight; in nghttp2_stream_change_weight()
/third_party/astc-encoder/Source/
H A Dastcenc_ideal_endpoints_and_weights.cpp1017 vfloat old_weight = gatherf(infilled_weights, texel);
1021 error_change1 += (old_weight - ideal_weight) * scale;

Completed in 5 milliseconds