libavcodec/dpx.c File Reference

#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "bytestream.h"
#include "avcodec.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 unsigned make_16bit (unsigned value)
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, 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 av_cold int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 227 of file dpx.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 52 of file dpx.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 219 of file dpx.c.

static unsigned make_16bit ( unsigned  value  )  [inline, static]

Definition at line 44 of file dpx.c.

Referenced by decode_frame().

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

Definition at line 32 of file dpx.c.

Referenced by decode_frame().


Variable Documentation

Initial value:

 {
    .name           = "dpx",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_DPX,
    .priv_data_size = sizeof(DPXContext),
    .init           = decode_init,
    .close          = decode_end,
    .decode         = decode_frame,
    .long_name = NULL_IF_CONFIG_SMALL("DPX image"),
}

Definition at line 236 of file dpx.c.


Generated on Fri Oct 26 02:46:07 2012 for FFmpeg by  doxygen 1.5.8