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

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Djpeglsenc.c65 static inline void ls_encode_runterm(JLSState *state, PutBitContext *pb, int RItype, int err, int limit_add){ argument
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; local
147 RItype = (FFABS(Ra - Rb) <= state->near);
148 pred = RItype ? Ra : Rb;
151 if(!RItype
[all...]
H A Djpeglsdec.c118 static inline int ls_get_code_runterm(GetBitContext *gb, JLSState *state, int RItype, int limit_add){ argument
120 int Q = 365 + RItype;
123 if(RItype)
135 if(!k && (RItype || ret) && (2 * state->B[Q] < state->N[Q]))
137 ret += RItype + map;
147 state->A[Q] += FFABS(ret) - RItype;
176 int RItype; local
208 RItype = (FFABS(Ra - Rb) <= state->near) ? 1 : 0;
209 err = ls_get_code_runterm(&s->gb, state, RItype, ff_log2_run[state->run_index[comp]]);
213 if(state->near && RItype){
[all...]

Completed in 40 milliseconds