Lines Matching refs:runlen
1041 OPJ_UINT32 runlen, in opj_t1_enc_clnpass_step() argument
1053 if (runlen == 0) { in opj_t1_enc_clnpass_step()
1055 } else if (runlen == 1) { in opj_t1_enc_clnpass_step()
1057 } else if (runlen == 2) { in opj_t1_enc_clnpass_step()
1059 } else if (runlen == 3) { in opj_t1_enc_clnpass_step()
1065 for (ci = runlen; ci < lim; ++ci) { in opj_t1_enc_clnpass_step()
1072 if ((agg != 0) && (ci == runlen)) { in opj_t1_enc_clnpass_step()
1168 OPJ_UINT32 agg, runlen; in opj_t1_enc_clnpass() local
1189 for (runlen = 0; runlen < 4; ++runlen) { in opj_t1_enc_clnpass()
1190 if (opj_int_abs(t1->data[((k + runlen)*t1->data_stride) + i]) & one) { in opj_t1_enc_clnpass()
1195 opj_mqc_encode(mqc, runlen != 4); in opj_t1_enc_clnpass()
1196 if (runlen == 4) { in opj_t1_enc_clnpass()
1200 opj_mqc_encode(mqc, runlen >> 1); in opj_t1_enc_clnpass()
1201 opj_mqc_encode(mqc, runlen & 1); in opj_t1_enc_clnpass()
1203 runlen = 0; in opj_t1_enc_clnpass()
1208 &t1->data[((k + runlen) * t1->data_stride) + i], in opj_t1_enc_clnpass()
1213 runlen, in opj_t1_enc_clnpass()
1220 runlen = 0; in opj_t1_enc_clnpass()
1232 &t1->data[((k + runlen) * t1->data_stride) + i], in opj_t1_enc_clnpass()
1237 runlen, in opj_t1_enc_clnpass()
1247 OPJ_UINT32 runlen; \
1269 opj_mqc_decode_macro(runlen, mqc, curctx, a, c, ct); \
1271 runlen = (runlen << 1) | v; \
1272 switch(runlen) { \