Lines Matching defs:buf
50 const uint8_t *buf = avpkt->data;
51 const uint8_t *buf_end = buf + avpkt->size;
57 if (bytestream_get_le32(&buf) != MKTAG('F', 'R', 'W', '1')) {
73 if (buf_end - buf < 8)
75 buf += 4; // flags? 0x80 == bottom field maybe?
76 field_size = bytestream_get_le32(&buf);
81 if (buf_end - buf < field_size) {
82 av_log(avctx, AV_LOG_ERROR, "Packet is too small, need %i, have %i\n", field_size, (int)(buf_end - buf));
93 memcpy(dst, buf, avctx->width * 2);
94 buf += avctx->width * 2;
97 buf += field_size - min_field_size;