#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 |
static int pcx_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int pcx_end | ( | AVCodecContext * | avctx | ) | [static] |
static av_cold int pcx_init | ( | AVCodecContext * | avctx | ) | [static] |
static void pcx_palette | ( | const uint8_t ** | src, | |
uint32_t * | dst, | |||
unsigned int | pallen | |||
) | [static] |
static const uint8_t* pcx_rle_decode | ( | const uint8_t * | src, | |
uint8_t * | dst, | |||
unsigned int | bytes_per_scanline, | |||
int | compressed | |||
) | [static] |
Initial value:
{ .name = "pcx", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_PCX, .priv_data_size = sizeof(PCXContext), .init = pcx_init, .close = pcx_end, .decode = pcx_decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"), }