tmv.c File Reference

8088flex TMV video decoder More...

#include "avcodec.h"
#include "cga_data.h"

Go to the source code of this file.

Data Structures

struct  TMVContext
 

Typedefs

typedef struct TMVContext TMVContext
 

Functions

static int tmv_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
 
static av_cold int tmv_decode_init (AVCodecContext *avctx)
 
static av_cold int tmv_decode_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_tmv_decoder
 

Detailed Description

8088flex TMV video decoder

Author
Daniel Verkamp
See also
http://www.oldskool.org/pc/8088_Corruption

Definition in file tmv.c.

Typedef Documentation

typedef struct TMVContext TMVContext

Function Documentation

static av_cold int tmv_decode_close ( AVCodecContext avctx)
static

Definition at line 91 of file tmv.c.

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

Definition at line 37 of file tmv.c.

static av_cold int tmv_decode_init ( AVCodecContext avctx)
static

Definition at line 85 of file tmv.c.

Variable Documentation

AVCodec ff_tmv_decoder
Initial value:
= {
.name = "tmv",
.id = CODEC_ID_TMV,
.priv_data_size = sizeof(TMVContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("8088flex TMV"),
}
static int tmv_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
Definition: tmv.c:37
static int decode(MimicContext *ctx, int quality, int num_coeffs, int is_iframe)
Definition: mimic.c:228
static int init(AVCodecParserContext *s)
Definition: h264_parser.c:336
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:719
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:191
static av_cold int tmv_decode_close(AVCodecContext *avctx)
Definition: tmv.c:91
struct TMVContext TMVContext
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:327
static av_cold int tmv_decode_init(AVCodecContext *avctx)
Definition: tmv.c:85

Definition at line 101 of file tmv.c.