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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/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...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Djpeglsenc.c69 int RItype, int err, int limit_add)
73 int Q = 365 + RItype;
77 if (RItype)
86 val = -(2 * err) - 1 - RItype + map;
88 val = 2 * err - RItype - map;
93 state->A[Q] += (val + 1 - RItype) >> 1;
147 int RUNval, RItype, run; local
160 RItype = FFABS(Ra - Rb) <= state->near;
161 pred = RItype ? Ra : Rb;
164 if (!RItype
68 ls_encode_runterm(JLSState *state, PutBitContext *pb, int RItype, int err, int limit_add) argument
[all...]
H A Djpeglsdec.c171 int RItype, int limit_add)
174 int Q = 365 + RItype;
177 if (RItype)
192 if (!k && (RItype || ret) && (2 * state->B[Q] < state->N[Q]))
194 ret += RItype + map;
206 state->A[Q] += FFABS(ret) - RItype;
240 int RItype; local
279 RItype = (FFABS(Ra - Rb) <= state->near) ? 1 : 0;
280 err = ls_get_code_runterm(&s->gb, state, RItype,
285 if (state->near && RItype) {
170 ls_get_code_runterm(GetBitContext *gb, JLSState *state, int RItype, int limit_add) argument
[all...]

Completed in 400 milliseconds