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/intfloat.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 read16 (const uint8_t **ptr, int is_big)
 
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 read16 ( const uint8_t **  ptr,
int  is_big 
)
static

Definition at line 29 of file dpx.c.

Referenced by decode_frame().

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

Definition at line 41 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 53 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 68 of file dpx.c.

Variable Documentation

AVCodec ff_dpx_decoder
Initial value:
= {
.name = "dpx",
.long_name = NULL_IF_CONFIG_SMALL("DPX (Digital Picture Exchange) image"),
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
}

Definition at line 389 of file dpx.c.