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 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 261 of file dpx.c.

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

Definition at line 44 of file dpx.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 253 of file dpx.c.

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             = AV_CODEC_ID_DPX,
    .priv_data_size = sizeof(DPXContext),
    .init           = decode_init,
    .close          = decode_end,
    .decode         = decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name      = NULL_IF_CONFIG_SMALL("DPX image"),
}

Definition at line 270 of file dpx.c.


Generated on Fri Oct 26 02:50:04 2012 for FFmpeg by  doxygen 1.5.8