Home
last modified time | relevance | path

Searched refs:s_weight (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daptx.c447 …predictor = av_clip_intp2((MUL64(prediction->s_weight[0], prediction->previous_reconstructed_sampl… in aptx_prediction_filtering()
448 + MUL64(prediction->s_weight[1], reconstructed_sample)) >> 22, 23); in aptx_prediction_filtering()
480 sw1 = rshift32(-same_sign[1] * prediction->s_weight[1], 1); in aptx_process_subband()
484 weight[0] = 254 * prediction->s_weight[0] + 0x800000*same_sign[0] + sw1; in aptx_process_subband()
485 prediction->s_weight[0] = av_clip(rshift32(weight[0], 8), -range, range); in aptx_process_subband()
487 range = 0x3C0000 - prediction->s_weight[0]; in aptx_process_subband()
488 weight[1] = 255 * prediction->s_weight[1] + 0xC00000*same_sign[1]; in aptx_process_subband()
489 prediction->s_weight[1] = av_clip(rshift32(weight[1], 8), -range, range); in aptx_process_subband()
Daptx.h74 int32_t s_weight[2]; member