FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
dpx.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "bytestream.h"
#include "avcodec.h"
#include "internal.h"

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 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().

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 int decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 55 of file dpx.c.

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,
}

Definition at line 260 of file dpx.c.