Lines Matching defs:buf
74 const uint8_t *buf, int size)
76 int updates = ff_vorbis_comment(as, &st->metadata, buf, size, 1);
91 const uint8_t *buf, uint32_t size,
94 char *t = (char*)buf, *v = memchr(t, '=', size);
149 const uint8_t *buf, int size,
152 const uint8_t *p = buf;
153 const uint8_t *end = buf + size;
221 uint8_t **buf)
230 if (*buf)
233 ptr = *buf = av_realloc(NULL, buf_len);
236 memset(*buf, '\0', buf_len);
247 if ((err = av_reallocp(buf, offset + AV_INPUT_BUFFER_PADDING_SIZE)) < 0)
277 ret = ff_vorbis_stream_comment(s, st, os->buf + os->pstart + 7,
301 int pkt_type = os->buf[os->pstart];
323 priv->packet[pkt_type >> 1] = av_memdup(os->buf + os->pstart, os->psize);
326 if (os->buf[os->pstart] == 1) {
327 const uint8_t *p = os->buf + os->pstart + 7; /* skip "\001vorbis" tag */
369 } else if (os->buf[os->pstart] == 3) {
425 uint8_t *last_pkt = os->buf + os->pstart;
473 duration = av_vorbis_parse_frame_flags(priv->vp, os->buf + os->pstart, 1, &flags);