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

Go to the source code of this file.

Functions

static unsigned int read32 (const uint8_t **ptr, int is_big)
 
static uint16_t read10in32 (const uint8_t **ptr, uint32_t *lbuf, int *n_datum, int is_big)
 
static int decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 

Variables

AVCodec ff_dpx_decoder
 

Function Documentation

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

Definition at line 55 of file dpx.c.

static uint16_t read10in32 ( const uint8_t **  ptr,
uint32_t *  lbuf,
int *  n_datum,
int  is_big 
)
static

Definition at line 40 of file dpx.c.

Referenced by decode_frame().

static unsigned int read32 ( const uint8_t **  ptr,
int  is_big 
)
static

Definition at line 28 of file dpx.c.

Referenced by decode_frame(), and read10in32().

Variable Documentation

AVCodec ff_dpx_decoder
Initial value:
= {
.name = "dpx",
.decode = decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("DPX image"),
.capabilities = CODEC_CAP_DR1,
}
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: dpx.c:55
#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. ...

Definition at line 260 of file dpx.c.