brender_pix.c File Reference
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
Include dependency graph for brender_pix.c:

Go to the source code of this file.

Data Structures

struct  BRPixHeader
 

Typedefs

typedef struct BRPixHeader BRPixHeader
 

Functions

static int brpix_decode_header (BRPixHeader *out, GetByteContext *pgb)
 
static int brpix_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 

Variables

AVCodec ff_brender_pix_decoder
 

Typedef Documentation

typedef struct BRPixHeader BRPixHeader

Function Documentation

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

Definition at line 58 of file brender_pix.c.

static int brpix_decode_header ( BRPixHeader out,
GetByteContext pgb 
)
static

Definition at line 38 of file brender_pix.c.

Referenced by brpix_decode_frame().

Variable Documentation

AVCodec ff_brender_pix_decoder
Initial value:
= {
.name = "brender_pix",
.decode = brpix_decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("BRender PIX image"),
}
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
static int brpix_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: brender_pix.c:58
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...

Definition at line 212 of file brender_pix.c.