Lines Matching defs:bfi
24 * @brief Brute Force & Ignorance (.bfi) file demuxer
53 BFIContext *bfi = s->priv_data;
72 bfi->nframes = avio_rl32(pb);
98 vstream->duration = bfi->nframes;
116 BFIContext *bfi = s->priv_data;
119 if (bfi->nframes == 0 || url_feof(pb)) {
124 if (!bfi->avflag) {
138 bfi->video_size = chunk_size - video_offset;
139 if (audio_size < 0 || bfi->video_size < 0) {
149 pkt->pts = bfi->audio_frame;
150 bfi->audio_frame += ret;
151 } else if (bfi->video_size > 0) {
154 ret = av_get_packet(pb, pkt, bfi->video_size);
158 pkt->pts = bfi->video_frame;
159 bfi->video_frame += ret / bfi->video_size;
162 bfi->nframes--;
168 bfi->avflag = !bfi->avflag;
169 pkt->stream_index = bfi->avflag;
174 .name = "bfi",