Lines Matching refs:runlen
949 OPJ_UINT32 agg, runlen, vsc;
974 for (runlen = 0; runlen < 4; ++runlen) {
975 if (opj_int_abs(t1->data[((k + runlen)*t1->data_stride) + i]) & one)
979 opj_mqc_encode(mqc, runlen != 4);
980 if (runlen == 4) {
984 opj_mqc_encode(mqc, runlen >> 1);
985 opj_mqc_encode(mqc, runlen & 1);
987 runlen = 0;
989 for (j = k + runlen; j < k + 4 && j < t1->h; ++j) {
999 agg && (j == k + runlen),
1012 OPJ_INT32 one, half, oneplushalf, agg, runlen, vsc;
1039 runlen = opj_mqc_decode(mqc);
1040 runlen = (runlen << 1) | opj_mqc_decode(mqc);
1042 runlen = 0;
1044 for (j = k + (OPJ_UINT32)runlen; j < k + 4 && j < t1->h; ++j) {
1052 agg && (j == k + (OPJ_UINT32)runlen),
1074 runlen = opj_mqc_decode(mqc);
1075 runlen = (runlen << 1) | opj_mqc_decode(mqc);
1076 flags2 += (OPJ_UINT32)runlen * t1->flags_stride;
1077 data2 += (OPJ_UINT32)runlen * t1->w;
1078 for (j = (OPJ_UINT32)runlen; j < 4 && j < t1->h; ++j) {
1080 if (agg && (j == (OPJ_UINT32)runlen)) {