Lines Matching refs:buf_end
223 * @param buf_end the EOF of source byterun1 compressed bitstream
227 const uint8_t *buf, const uint8_t *const buf_end) {
230 for (x = 0; x < dst_size && buf < buf_end;) {
235 memcpy(dst + x, buf, FFMIN3(length, dst_size - x, buf_end - buf));
255 const uint8_t *buf_end = buf+buf_size;
277 for (plane = 0; plane < avctx->bits_per_coded_sample && buf < buf_end; plane++) {
278 decodeplane8(row, buf, FFMIN(s->planesize, buf_end - buf), plane);
286 for (plane = 0; plane < avctx->bits_per_coded_sample && buf < buf_end; plane++) {
287 decodeplane32((uint32_t *) row, buf, FFMIN(s->planesize, buf_end - buf), plane);
295 memcpy(row, buf, FFMIN(avctx->width, buf_end - buf));
312 const uint8_t *buf_end = buf+buf_size;
335 buf += decode_byterun(s->planebuf, s->planesize, buf, buf_end);
344 buf += decode_byterun(s->planebuf, s->planesize, buf, buf_end);
352 buf += decode_byterun(row, avctx->width, buf, buf_end);