Lines Matching refs:bp
85 if ((OPJ_SIZE_T)bio->bp >= (OPJ_SIZE_T)bio->end) {
88 *bio->bp++ = (OPJ_BYTE)(bio->buf >> 8);
96 if ((OPJ_SIZE_T)bio->bp >= (OPJ_SIZE_T)bio->end) {
99 bio->buf |= *bio->bp++;
144 return (bio->bp - bio->start);
147 void opj_bio_init_enc(opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len)
149 bio->start = bp;
150 bio->end = bp + len;
151 bio->bp = bp;
156 void opj_bio_init_dec(opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len)
158 bio->start = bp;
159 bio->end = bp + len;
160 bio->bp = bp;