FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
escape130.c File Reference
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  Escape130Context
 

Macros

#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 *got_frame, AVPacket *avpkt)
 Decode a single frame.
 

Variables

AVCodec ff_escape130_decoder
 

Macro Definition Documentation

#define BITSTREAM_READER_LE

Definition at line 24 of file escape130.c.

Function Documentation

static av_cold int escape130_decode_init ( AVCodecContext avctx)
static

Initialize the decoder.

Parameters
avctxdecoder context
Returns
0 success, negative on error

Definition at line 39 of file escape130.c.

static av_cold int escape130_decode_close ( AVCodecContext avctx)
static

Definition at line 54 of file escape130.c.

static unsigned decode_skip_count ( GetBitContext gb)
static

Definition at line 66 of file escape130.c.

Referenced by escape130_decode_frame().

static int escape130_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Decode a single frame.

Parameters
avctxdecoder context
datadecoded frame
got_framehave decoded frame
bufinput buffer
buf_sizeinput buffer size
Returns
0 success, -1 on error

Definition at line 101 of file escape130.c.

Variable Documentation

AVCodec ff_escape130_decoder
Initial value:
= {
.name = "escape130",
.priv_data_size = sizeof(Escape130Context),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Escape 130"),
}

Definition at line 311 of file escape130.c.