FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
ptx.c File Reference
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  PTXContext
 

Functions

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

Variables

AVCodec ff_ptx_decoder
 

Function Documentation

static av_cold int ptx_init ( AVCodecContext avctx)
static

Definition at line 32 of file ptx.c.

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

Definition at line 41 of file ptx.c.

static av_cold int ptx_end ( AVCodecContext avctx)
static

Definition at line 107 of file ptx.c.

Variable Documentation

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

Definition at line 116 of file ptx.c.