Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
H A Daptx.c448 predictor = av_clip_intp2((MUL64(prediction->s_weight[0], prediction->previous_reconstructed_sample) in aptx_prediction_filtering()
449 + MUL64(prediction->s_weight[1], reconstructed_sample)) >> 22, 23); in aptx_prediction_filtering()
481 sw1 = rshift32(-same_sign[1] * prediction->s_weight[1], 1); in aptx_process_subband()
485 weight[0] = 254 * prediction->s_weight[0] + 0x800000*same_sign[0] + sw1; in aptx_process_subband()
486 prediction->s_weight[0] = av_clip(rshift32(weight[0], 8), -range, range); in aptx_process_subband()
488 range = 0x3C0000 - prediction->s_weight[0]; in aptx_process_subband()
489 weight[1] = 255 * prediction->s_weight[1] + 0xC00000*same_sign[1]; in aptx_process_subband()
490 prediction->s_weight[1] = av_clip(rshift32(weight[1], 8), -range, range); in aptx_process_subband()
H A Daptx.h73 int32_t s_weight[2]; member

Completed in 2 milliseconds