Lines Matching defs:brp
154 ArgoBRPDemuxContext *brp = s->priv_data;
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);
166 if (brp->fhdr.magic != BRP_TAG)
169 if (brp->fhdr.num_streams > BRP_MAX_STREAMS) {
175 brp->basf.index = -1;
176 for (uint32_t i = 0; i < brp->fhdr.num_streams; i++) {
177 ArgoBRPStreamHeader *hdr = brp->streams + i;
240 if (brp->basf.index >= 0) {
247 brp->basf.index = i;
270 if (brp->basf.index >= 0) {
271 AVStream *st = s->streams[brp->basf.index];
272 ArgoBRPStreamHeader *hdr = brp->streams + brp->basf.index;
278 av_assert0(brp->streams[brp->basf.index].extradata_size == ASF_FILE_HEADER_SIZE);
297 if (blk.stream_id == brp->basf.index || blk.stream_id == -1)
320 ff_argo_asf_parse_chunk_header(&brp->basf.ckhdr, buf);
336 if ((ret = ff_argo_asf_fill_stream(s, st, &hdr->extradata.basf, &brp->basf.ckhdr)) < 0)
352 ArgoBRPDemuxContext *brp = s->priv_data;
376 shdr = brp->streams + blk.stream_id;
378 if (blk.stream_id == brp->basf.index) {
388 if (ckhdr.sample_rate != brp->basf.ckhdr.sample_rate ||
389 ckhdr.flags != brp->basf.ckhdr.flags ||
390 ckhdr.unk1 != brp->basf.ckhdr.unk1 ||
391 ckhdr.unk2 != brp->basf.ckhdr.unk2)
402 if (blk.stream_id == brp->basf.index) {