avs.c File Reference
#include "avcodec.h"
#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  AvsContext

Enumerations

enum  AvsBlockType { AVS_VIDEO = 0x01, AVS_AUDIO = 0x02, AVS_PALETTE = 0x03, AVS_GAME_DATA = 0x04 }
enum  AvsVideoSubType { AVS_I_FRAME = 0x00, AVS_P_FRAME_3X3 = 0x01, AVS_P_FRAME_2X2 = 0x02, AVS_P_FRAME_2X3 = 0x03 }

Functions

static int avs_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int avs_decode_init (AVCodecContext *avctx)
static av_cold int avs_decode_end (AVCodecContext *avctx)

Variables

AVCodec ff_avs_decoder

Enumeration Type Documentation

Enumerator:
AVS_VIDEO 
AVS_AUDIO 
AVS_PALETTE 
AVS_GAME_DATA 

Definition at line 30 of file avs.c.

Enumerator:
AVS_I_FRAME 
AVS_P_FRAME_3X3 
AVS_P_FRAME_2X2 
AVS_P_FRAME_2X3 

Definition at line 37 of file avs.c.

Function Documentation

static av_cold int avs_decode_end ( AVCodecContext avctx)
static

Definition at line 165 of file avs.c.

static int avs_decode_frame ( AVCodecContext avctx,
void data,
int *  data_size,
AVPacket avpkt 
)
static

Definition at line 46 of file avs.c.

static av_cold int avs_decode_init ( AVCodecContext avctx)
static

Definition at line 158 of file avs.c.

Variable Documentation

AVCodec ff_avs_decoder
Initial value:
{
.name = "avs",
.id = CODEC_ID_AVS,
.priv_data_size = sizeof(AvsContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"),
}

Definition at line 174 of file avs.c.