Lines Matching refs:comp
95 static inline void ls_encode_run(JLSState *state, PutBitContext *pb, int run, int comp, int trail){
96 while(run >= (1 << ff_log2_run[state->run_index[comp]])){
98 run -= 1 << ff_log2_run[state->run_index[comp]];
99 if(state->run_index[comp] < 31)
100 state->run_index[comp]++;
107 if(ff_log2_run[state->run_index[comp]])
108 put_bits(pb, ff_log2_run[state->run_index[comp]], run);
115 static inline void ls_encode_line(JLSState *state, PutBitContext *pb, void *last, void *cur, int last2, int w, int stride, int comp, int bits){
143 ls_encode_run(state, pb, run, comp, x < w);
171 ls_encode_runterm(state, pb, RItype, err, ff_log2_run[state->run_index[comp]]);
173 if(state->run_index[comp] > 0)
174 state->run_index[comp]--;