Lines Matching refs:RItype
65 static inline void ls_encode_runterm(JLSState *state, PutBitContext *pb, int RItype, int err, int limit_add){
68 int Q = 365 + RItype;
72 if(RItype)
80 val = - (2 * err) - 1 - RItype + map;
82 val = 2 * err - RItype - map;
87 state->A[Q] += (val + 1 - RItype) >> 1;
134 int RUNval, RItype, run;
147 RItype = (FFABS(Ra - Rb) <= state->near);
148 pred = RItype ? Ra : Rb;
151 if(!RItype && Ra > Rb)
160 if(RItype || (Rb >= Ra))
171 ls_encode_runterm(state, pb, RItype, err, ff_log2_run[state->run_index[comp]]);