All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
pcx.c File Reference
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "internal.h"

Go to the source code of this file.


static void pcx_rle_decode (GetByteContext *gb, uint8_t *dst, unsigned int bytes_per_scanline, int compressed)
static void pcx_palette (GetByteContext *gb, uint32_t *dst, int pallen)
static int pcx_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)


AVCodec ff_pcx_decoder

Function Documentation

static void pcx_rle_decode ( GetByteContext gb,
uint8_t dst,
unsigned int  bytes_per_scanline,
int  compressed 

Definition at line 31 of file pcx.c.

Referenced by pcx_decode_frame().

static void pcx_palette ( GetByteContext gb,
uint32_t *  dst,
int  pallen 

Definition at line 53 of file pcx.c.

Referenced by pcx_decode_frame().

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

Definition at line 64 of file pcx.c.

Variable Documentation

AVCodec ff_pcx_decoder
Initial value:
= {
.name = "pcx",
.decode = pcx_decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"),

Definition at line 227 of file pcx.c.