FFmpeg
|
#include "libavutil/avstring.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
Go to the source code of this file.
Data Structures | |
struct | XPMContext |
struct | ColorEntry |
Macros | |
#define | MIN_ELEMENT ' ' |
#define | MAX_ELEMENT 0xfe |
#define | NB_ELEMENTS (MAX_ELEMENT - MIN_ELEMENT + 1) |
Functions | |
static int | color_table_compare (const void *lhs, const void *rhs) |
static unsigned | hex_char_to_number (uint8_t x) |
static size_t | mod_strcspn (const char *string, const char *reject) |
static uint32_t | color_string_to_rgba (const char *p, int len) |
static int | ascii2index (const uint8_t *cpixel, int cpp) |
static int | xpm_decode_frame (AVCodecContext *avctx, AVFrame *p, int *got_frame, AVPacket *avpkt) |
static av_cold int | xpm_decode_close (AVCodecContext *avctx) |
Variables | |
static const ColorEntry | color_table [] |
const FFCodec | ff_xpm_decoder |
#define NB_ELEMENTS (MAX_ELEMENT - MIN_ELEMENT + 1) |
|
static |
Definition at line 45 of file xpmdec.c.
Referenced by color_string_to_rgba().
|
static |
Definition at line 194 of file xpmdec.c.
Referenced by color_string_to_rgba().
|
static |
Definition at line 210 of file xpmdec.c.
Referenced by xpm_decode_frame().
|
static |
Definition at line 236 of file xpmdec.c.
Referenced by xpm_decode_frame().
Definition at line 291 of file xpmdec.c.
Referenced by xpm_decode_frame().
|
static |
|
static |
|
static |
Definition at line 50 of file xpmdec.c.
Referenced by color_string_to_rgba(), ff_get_qtpalette(), rgtc1_block_internal(), and seq_decode_op1().
const FFCodec ff_xpm_decoder |