Lines Matching defs:bfi
24 * @brief Brute Force & Ignorance (.bfi) video decoder
41 BFIContext *bfi = avctx->priv_data;
43 bfi->dst = av_mallocz(avctx->width * avctx->height);
52 BFIContext *bfi = avctx->priv_data;
53 uint8_t *dst = bfi->dst;
55 uint8_t *frame_end = bfi->dst + avctx->width * avctx->height;
59 if (bfi->frame.data[0])
60 avctx->release_buffer(avctx, &bfi->frame);
62 bfi->frame.reference = 1;
64 if (avctx->get_buffer(avctx, &bfi->frame) < 0) {
73 bfi->frame.pict_type = AV_PICTURE_TYPE_I;
74 bfi->frame.key_frame = 1;
80 pal = (uint32_t *)bfi->frame.data[1];
90 bfi->frame.palette_has_changed = 1;
92 bfi->frame.pict_type = AV_PICTURE_TYPE_P;
93 bfi->frame.key_frame = 0;
143 if (dst_offset < bfi->dst)
165 src = bfi->dst;
166 dst = bfi->frame.data[0];
170 dst += bfi->frame.linesize[0];
173 *(AVFrame *)data = bfi->frame;
179 BFIContext *bfi = avctx->priv_data;
180 if (bfi->frame.data[0])
181 avctx->release_buffer(avctx, &bfi->frame);
182 av_free(bfi->dst);
187 .name = "bfi",