Lines Matching refs:bp
36 if (*mqc->bp == 0xff){ in byteout()
37 mqc->bp++; in byteout()
38 *mqc->bp = mqc->c >> 20; in byteout()
42 (*mqc->bp)++; in byteout()
46 mqc->bp++; in byteout()
47 *mqc->bp = mqc->c >> 19; in byteout()
71 void ff_mqc_initenc(MqcState *mqc, uint8_t *bp) in ff_mqc_initenc() argument
76 mqc->bp = bp-1; in ff_mqc_initenc()
77 mqc->bpstart = bp; in ff_mqc_initenc()
78 mqc->ct = 12 + (*mqc->bp == 0xff); in ff_mqc_initenc()
114 if (*mqc->bp != 0xff) in mqc_flush()
115 mqc->bp++; in mqc_flush()
116 return mqc->bp - mqc->bpstart; in mqc_flush()
123 mqc2.bp = dst; in ff_mqc_flush_to()
124 *mqc2.bp = *mqc->bp; in ff_mqc_flush_to()
126 *dst_len = mqc2.bp - dst; in ff_mqc_flush_to()
127 if (mqc->bp < mqc->bpstart) { in ff_mqc_flush_to()
128 av_assert1(mqc->bpstart - mqc->bp == 1); in ff_mqc_flush_to()
130 av_assert1(mqc->bp[0] == 0 && dst[0] == 0); in ff_mqc_flush_to()
133 return mqc->bp - mqc->bpstart + 1 + *dst_len; in ff_mqc_flush_to()
135 return mqc->bp - mqc->bpstart + *dst_len; in ff_mqc_flush_to()