libavcodec/bfi.c File Reference

Brute Force & Ignorance (.bfi) video decoder. More...

#include "libavutil/common.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
Include dependency graph for libavcodec/bfi.c:

Go to the source code of this file.

Data Structures

struct  BFIContext
 

Typedefs

typedef struct BFIContext BFIContext
 

Functions

static av_cold int bfi_decode_init (AVCodecContext *avctx)
 
static int bfi_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static av_cold int bfi_decode_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_bfi_decoder
 

Detailed Description

Brute Force & Ignorance (.bfi) video decoder.

Author
Sisir Koppaka ( sisir.koppaka at gmail dot com )
See also
http://wiki.multimedia.cx/index.php?title=BFI

Definition in file libavcodec/bfi.c.

Typedef Documentation

typedef struct BFIContext BFIContext

Function Documentation

static av_cold int bfi_decode_close ( AVCodecContext avctx)
static

Definition at line 169 of file libavcodec/bfi.c.

static int bfi_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 48 of file libavcodec/bfi.c.

static av_cold int bfi_decode_init ( AVCodecContext avctx)
static

Definition at line 40 of file libavcodec/bfi.c.

Variable Documentation

AVCodec ff_bfi_decoder
Initial value:
= {
.name = "bfi",
.priv_data_size = sizeof(BFIContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"),
}
struct BFIContext BFIContext
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int bfi_decode_close(AVCodecContext *avctx)
static av_cold int bfi_decode_init(AVCodecContext *avctx)
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:375
static int bfi_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868

Definition at line 176 of file libavcodec/bfi.c.