Lines Matching refs:max_order
825 int min_order, max_order, opt_order, omethod; in encode_residual_ch() local
856 max_order = s->options.max_prediction_order; in encode_residual_ch()
862 s->options.lpc_type == FF_LPC_TYPE_FIXED || n <= max_order) { in encode_residual_ch()
864 if (max_order > MAX_FIXED_ORDER) in encode_residual_ch()
865 max_order = MAX_FIXED_ORDER; in encode_residual_ch()
868 for (i = min_order; i <= max_order; i++) { in encode_residual_ch()
876 if (sub->order != max_order) { in encode_residual_ch()
885 opt_order = ff_lpc_calc_coefs(&s->lpc_ctx, smp, n, min_order, max_order, in encode_residual_ch()
897 opt_order = max_order-1; in encode_residual_ch()
901 order = min_order + (((max_order-min_order+1) * (i+1)) / levels)-1; in encode_residual_ch()
902 order = av_clip(order, min_order - 1, max_order - 1); in encode_residual_ch()
924 for (i = min_order-1; i < max_order; i++) { in encode_residual_ch()
939 opt_order = min_order - 1 + (max_order-min_order)/3; in encode_residual_ch()
945 if (i < min_order-1 || i >= max_order || bits[i] < UINT32_MAX) in encode_residual_ch()