libavcodec/pcx.c File Reference

#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  PCXContext

Functions

static av_cold int pcx_init (AVCodecContext *avctx)
static const uint8_t * pcx_rle_decode (const uint8_t *src, uint8_t *dst, unsigned int bytes_per_scanline, int compressed)
static void pcx_palette (const uint8_t **src, uint32_t *dst, unsigned int pallen)
static int pcx_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int pcx_end (AVCodecContext *avctx)

Variables

AVCodec ff_pcx_decoder


Function Documentation

static int pcx_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 79 of file pcx.c.

static av_cold int pcx_end ( AVCodecContext avctx  )  [static]

Definition at line 241 of file pcx.c.

static av_cold int pcx_init ( AVCodecContext avctx  )  [static]

Definition at line 34 of file pcx.c.

static void pcx_palette ( const uint8_t **  src,
uint32_t *  dst,
unsigned int  pallen 
) [static]

Definition at line 70 of file pcx.c.

Referenced by pcx_decode_frame().

static const uint8_t* pcx_rle_decode ( const uint8_t *  src,
uint8_t *  dst,
unsigned int  bytes_per_scanline,
int  compressed 
) [static]

Returns:
advanced src pointer

Definition at line 46 of file pcx.c.

Referenced by pcx_decode_frame().


Variable Documentation

Initial value:

 {
    "pcx",
    AVMEDIA_TYPE_VIDEO,
    CODEC_ID_PCX,
    sizeof(PCXContext),
    pcx_init,
    NULL,
    pcx_end,
    pcx_decode_frame,
    CODEC_CAP_DR1,
    NULL,
    .long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"),
}

Definition at line 250 of file pcx.c.


Generated on Fri Oct 26 02:38:17 2012 for FFmpeg by  doxygen 1.5.8