libavcodec/escape130.c File Reference

#include "avcodec.h"
#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  Escape130Context

Defines

#define BITSTREAM_READER_LE

Functions

static av_cold int escape130_decode_init (AVCodecContext *avctx)
 Initialize the decoder.
static av_cold int escape130_decode_close (AVCodecContext *avctx)
static unsigned decode_skip_count (GetBitContext *gb)
static int escape130_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
 Decode a single frame.

Variables

AVCodec ff_escape130_decoder


Define Documentation

#define BITSTREAM_READER_LE

Definition at line 24 of file escape130.c.


Function Documentation

static unsigned decode_skip_count ( GetBitContext gb  )  [static]

Definition at line 64 of file escape130.c.

static av_cold int escape130_decode_close ( AVCodecContext avctx  )  [static]

Definition at line 52 of file escape130.c.

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

Decode a single frame.

Parameters:
avctx decoder context
data decoded frame
data_size size of the decoded frame
buf input buffer
buf_size input buffer size
Returns:
0 success, -1 on error

Definition at line 99 of file escape130.c.

static av_cold int escape130_decode_init ( AVCodecContext avctx  )  [static]

Initialize the decoder.

Parameters:
avctx decoder context
Returns:
0 success, negative on error

Definition at line 37 of file escape130.c.


Variable Documentation

Initial value:

 {
    .name           = "escape130",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_ESCAPE130,
    .priv_data_size = sizeof(Escape130Context),
    .init           = escape130_decode_init,
    .close          = escape130_decode_close,
    .decode         = escape130_decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("Escape 130"),
}

Definition at line 309 of file escape130.c.


Generated on Fri Oct 26 02:47:56 2012 for FFmpeg by  doxygen 1.5.8