Lines Matching refs:rice
127 ff_tta_rice_init(&s->ch_ctx[i].rice, 10, 10);
133 TTARice *rice = &c->rice;
158 k = rice->k0;
160 rice->sum0 += outval - (rice->sum0 >> 4);
161 if (rice->k0 > 0 && rice->sum0 < ff_tta_shift_16[rice->k0])
162 rice->k0--;
163 else if (rice->sum0 > ff_tta_shift_16[rice->k0 + 1])
164 rice->k0++;
168 k = rice->k1;
170 rice->sum1 += outval - (rice->sum1 >> 4);
171 if (rice->k1 > 0 && rice->sum1 < ff_tta_shift_16[rice->k1])
172 rice->k1--;
173 else if (rice->sum1 > ff_tta_shift_16[rice->k1 + 1])
174 rice->k1++;