ptx.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  PTXContext

Typedefs

typedef struct PTXContext PTXContext

Functions

static av_cold int ptx_init (AVCodecContext *avctx)
static int ptx_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int ptx_end (AVCodecContext *avctx)

Variables

AVCodec ff_ptx_decoder

Typedef Documentation

typedef struct PTXContext PTXContext

Function Documentation

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

Definition at line 39 of file ptx.c.

static av_cold int ptx_end ( AVCodecContext avctx)
static

Definition at line 110 of file ptx.c.

static av_cold int ptx_init ( AVCodecContext avctx)
static

Definition at line 30 of file ptx.c.

Variable Documentation

AVCodec ff_ptx_decoder
Initial value:
{
.name = "ptx",
.id = CODEC_ID_PTX,
.priv_data_size = sizeof(PTXContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("V.Flash PTX image"),
}

Definition at line 119 of file ptx.c.