Lines Matching defs:buf
103 const uint8_t *buf = avpkt->data;
104 const uint8_t *buf_end = buf + avpkt->size;
128 if (!c->header_parsed && buf_size >= 2 && AV_RB16(buf) == 0x8000) {
130 if ((ret = ff_adx_decode_header(avctx, buf, buf_size, &header_size,
139 buf += header_size;
151 if (buf_size >= 4 && (AV_RB16(buf) & 0x8000)) {
168 if (buf_end - buf < BLOCK_SIZE || adx_decode(c, samples[ch], samples_offset, buf, ch)) {
170 buf = avpkt->data + avpkt->size;
174 buf += BLOCK_SIZE;
183 return buf - avpkt->data;