Go to the source code of this file.
◆ MIN_ELEMENT
◆ MAX_ELEMENT
◆ NB_ELEMENTS
◆ TIMES256
◆ TIMES64
◆ TIMES16
◆ TIMES4
Value:
#define ENTRY(idx, string)
◆ ENTRY
Value: [x] = ((x) >= 'a' && (x) <= 'f') ? (x) - ('a' - 10) : \
((x) >= 'A' && (x) <= 'F') ? (x) - ('A' - 10) : \
((x) >= '0' && (x) <= '9') ? (x) - '0' : 0,
◆ color_table_compare()
| static int color_table_compare |
( |
const void * | lhs, |
|
|
const void * | rhs ) |
|
static |
◆ hex_char_to_number()
| static unsigned hex_char_to_number |
( |
uint8_t | x | ) |
|
|
static |
◆ mod_strcspn()
| static size_t mod_strcspn |
( |
const char * | string, |
|
|
const char * | reject ) |
|
static |
◆ color_string_to_rgba()
| static uint32_t color_string_to_rgba |
( |
const char * | p, |
|
|
size_t | len ) |
|
static |
◆ ascii2index()
| static int ascii2index |
( |
const uint8_t * | cpixel, |
|
|
int | cpp ) |
|
static |
◆ xpm_decode_frame()
◆ xpm_decode_close()
◆ color_table
◆ ff_xpm_decoder
Initial value:= {
.p.name = "xpm",
}
static av_cold void close(AVCodecParserContext *s)
#define FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
The decoder extracts and fills its parameters even if the frame is skipped due to the skip_frame sett...
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
static av_cold int xpm_decode_close(AVCodecContext *avctx)
static int xpm_decode_frame(AVCodecContext *avctx, AVFrame *p, int *got_frame, AVPacket *avpkt)
Definition at line 448 of file xpmdec.c.