FFmpeg
|
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "internal.h"
Include dependency graph for pcx.c:
Go to the source code of this file.
Functions | |
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) |
Variables | |
AVCodec | ff_pcx_decoder |
Function Documentation
|
static |
|
static |
Definition at line 53 of file pcx.c.
Referenced by pcx_decode_frame().
|
static |
Definition at line 31 of file pcx.c.
Referenced by pcx_decode_frame().
Variable Documentation
AVCodec ff_pcx_decoder |
Initial value:
= {
.name = "pcx",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_PCX,
.decode = pcx_decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"),
}
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
static int pcx_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: pcx.c:64
Definition: libavcodec/avcodec.h:212
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: avutil.h:143
Generated on Fri Dec 20 2024 06:56:14 for FFmpeg by 1.8.11