FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | 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.

Data Structures

struct  DPXContext
 

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)
 
static av_cold int decode_init (AVCodecContext *avctx)
 
static av_cold int decode_end (AVCodecContext *avctx)
 

Variables

AVCodec ff_dpx_decoder
 

Function Documentation

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

Definition at line 33 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 45 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 60 of file dpx.c.

static av_cold int decode_init ( AVCodecContext avctx)
static

Definition at line 271 of file dpx.c.

static av_cold int decode_end ( AVCodecContext avctx)
static

Definition at line 279 of file dpx.c.

Variable Documentation

AVCodec ff_dpx_decoder
Initial value:
= {
.name = "dpx",
.priv_data_size = sizeof(DPXContext),
.long_name = NULL_IF_CONFIG_SMALL("DPX image"),
.capabilities = CODEC_CAP_DR1,
}

Definition at line 288 of file dpx.c.