Lines Matching refs:nmsedec
613 static void encode_sigpass(Jpeg2000T1Context *t1, int width, int height, int bandno, int *nmsedec, int bpno)
627 *nmsedec += getnmsedec_sig(t1->data[(y) * t1->stride + x], bpno + NMSEDEC_FRACBITS);
635 static void encode_refpass(Jpeg2000T1Context *t1, int width, int height, int *nmsedec, int bpno)
643 *nmsedec += getnmsedec_ref(t1->data[(y) * t1->stride + x], bpno + NMSEDEC_FRACBITS);
649 static void encode_clnpass(Jpeg2000T1Context *t1, int width, int height, int bandno, int *nmsedec, int bpno)
678 *nmsedec += getnmsedec_sig(t1->data[(y) * t1->stride + x], bpno + NMSEDEC_FRACBITS);
693 *nmsedec += getnmsedec_sig(t1->data[(y) * t1->stride + x], bpno + NMSEDEC_FRACBITS);
707 int pass_t = 2, passno, x, y, max=0, nmsedec, bpno;
733 nmsedec=0;
736 case 0: encode_sigpass(t1, width, height, bandpos, &nmsedec, bpno);
738 case 1: encode_refpass(t1, width, height, &nmsedec, bpno);
740 case 2: encode_clnpass(t1, width, height, bandpos, &nmsedec, bpno);
747 wmsedec += (int64_t)nmsedec << (2*bpno);