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