Home
last modified time | relevance | path

Searched refs:xorbit (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Djpeg2000.h271 static inline int ff_jpeg2000_getsgnctxno(int flag, int *xorbit) in ff_jpeg2000_getsgnctxno() argument
273 *xorbit = ff_jpeg2000_xorbit_lut[flag & 15][(flag >> 8) & 15]; in ff_jpeg2000_getsgnctxno()
Dj2kenc.c622 int xorbit; in encode_sigpass() local
623 … int ctxno = ff_jpeg2000_getsgnctxno(t1->flags[(y+1) * t1->stride + x+1], &xorbit); in encode_sigpass()
624 …_encode(&t1->mqc, t1->mqc.cx_states + ctxno, (t1->flags[(y+1) * t1->stride + x+1] >> 15) ^ xorbit); in encode_sigpass()
674 int xorbit; in encode_clnpass() local
675 … int ctxno = ff_jpeg2000_getsgnctxno(t1->flags[(y+1) * t1->stride + x+1], &xorbit); in encode_clnpass()
677 …_encode(&t1->mqc, t1->mqc.cx_states + ctxno, (t1->flags[(y+1) * t1->stride + x+1] >> 15) ^ xorbit); in encode_clnpass()
689 int xorbit; in encode_clnpass() local
690 … int ctxno = ff_jpeg2000_getsgnctxno(t1->flags[(y+1) * t1->stride + x+1], &xorbit); in encode_clnpass()
692 …_encode(&t1->mqc, t1->mqc.cx_states + ctxno, (t1->flags[(y+1) * t1->stride + x+1] >> 15) ^ xorbit); in encode_clnpass()
Djpeg2000.c147 static int getsgnctxno(int flag, uint8_t *xorbit) in getsgnctxno() argument
155 *xorbit = xorbittab[hcontrib][vcontrib]; in getsgnctxno()
Djpeg2000dec.c1643 …int xorbit, ctxno = ff_jpeg2000_getsgnctxno(t1->flags[(y+1) * t1->stride + x+1] & flags_mask, &xor… in decode_sigpass() local
1647 … t1->data[(y) * t1->stride + x] = (ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + ctxno) ^ xorbit) ? in decode_sigpass()
1722 int xorbit; in decode_clnpass() local
1724 &xorbit); in decode_clnpass()
1727 xorbit) in decode_clnpass()