Lines Matching defs:buf

102     if (AV_RL32(p->buf) != BRP_TAG)
109 void *buf, size_t bufsz)
141 if ((ret = avio_read(s->pb, buf, size)) < 0)
155 uint8_t buf[FFMAX(BRP_MIN_BUFFER_SIZE, ASF_MIN_BUFFER_SIZE)];
157 if ((ret = avio_read(pb, buf, BRP_FILE_HEADER_SIZE)) < 0)
162 brp->fhdr.magic = AV_RL32(buf + 0);
163 brp->fhdr.num_streams = AV_RL32(buf + 4);
164 brp->fhdr.byte_rate = AV_RL32(buf + 8);
183 if ((ret = avio_read(pb, buf, BRP_STREAM_HEADER_SIZE)) < 0)
188 hdr->codec_id = AV_RL32(buf + 0);
189 hdr->id = AV_RL32(buf + 4);
190 hdr->duration_ms = AV_RL32(buf + 8);
191 hdr->byte_rate = AV_RL32(buf + 12);
192 hdr->extradata_size = AV_RL32(buf + 16);
203 if ((ret = read_extradata(s, hdr, buf, sizeof(buf))) < 0) {
216 bvid->num_frames = AV_RL32(buf + 0);
217 bvid->width = AV_RL32(buf + 4);
218 bvid->height = AV_RL32(buf + 8);
219 bvid->depth = AV_RL32(buf + 12);
248 ff_argo_asf_parse_file_header(&hdr->extradata.basf, buf);
259 mask->num_frames = AV_RL32(buf + 0);
260 mask->width = AV_RL32(buf + 4);
261 mask->height = AV_RL32(buf + 8);
288 if ((ret = avio_read(pb, buf, BRP_BLOCK_HEADER_SIZE)) < 0)
293 blk.stream_id = AV_RL32(buf + 0);
294 blk.start_ms = AV_RL32(buf + 4);
295 blk.size = AV_RL32(buf + 8);
315 if ((ret = avio_read(pb, buf, ASF_CHUNK_HEADER_SIZE)) < 0)
320 ff_argo_asf_parse_chunk_header(&brp->basf.ckhdr, buf);
356 uint8_t buf[BRP_MIN_BUFFER_SIZE];
360 if ((ret = avio_read(s->pb, buf, BRP_BLOCK_HEADER_SIZE)) < 0)
365 blk.stream_id = AV_RL32(buf + 0);
366 blk.start_ms = AV_RL32(buf + 4);
367 blk.size = AV_RL32(buf + 8);
382 if ((ret = avio_read(s->pb, buf, ASF_CHUNK_HEADER_SIZE)) < 0)
385 ff_argo_asf_parse_chunk_header(&ckhdr, buf);