Home
last modified time | relevance | path

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

/third_party/libsnd/src/
Dms_adpcm.c819 { unsigned int chan, k, bpred, idelta_sum, best_bpred, best_idelta ; in choose_predictor() local
822 { best_bpred = best_idelta = 0 ; in choose_predictor()
830 if (bpred == 0 || idelta_sum < best_idelta) in choose_predictor()
832 best_idelta = idelta_sum ; in choose_predictor()
837 best_idelta = 16 ; in choose_predictor()
842 if (best_idelta < 16) in choose_predictor()
843 best_idelta = 16 ; in choose_predictor()
846 idelta [chan] = best_idelta ; in choose_predictor()