#include <caca.h>
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avdevice.h"
Go to the source code of this file.
◆ DEFINE_LIST_DITHER
#define DEFINE_LIST_DITHER |
( |
|
thing, |
|
|
|
thing_str |
|
) |
| |
Value:
{ \
const
char *
const *thing = caca_get_dither_## thing ##_list(
c->dither); \
for (
i = 0; thing[
i];
i += 2) \
}
#define AV_LOG_INFO
Standard information.
Definition at line 75 of file caca.c.
◆ CHECK_DITHER_OPT
#define CHECK_DITHER_OPT |
( |
|
opt | ) |
|
Value: do { \
if (caca_set_dither_##opt(
c->dither,
c->opt) < 0) { \
av_log(
s,
AV_LOG_ERROR,
"Failed to set value '%s' for option '%s'\n", \
} \
} while (0)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
◆ OFFSET
◆ ENC
◆ caca_write_trailer()
◆ list_drivers()
◆ DEFINE_LIST_DITHER() [1/4]
DEFINE_LIST_DITHER |
( |
color |
, |
|
|
"colors" |
|
|
) |
| |
◆ DEFINE_LIST_DITHER() [2/4]
DEFINE_LIST_DITHER |
( |
charset |
, |
|
|
"charsets" |
|
|
) |
| |
◆ DEFINE_LIST_DITHER() [3/4]
DEFINE_LIST_DITHER |
( |
algorithm |
, |
|
|
"algorithms" |
|
|
) |
| |
◆ DEFINE_LIST_DITHER() [4/4]
DEFINE_LIST_DITHER |
( |
antialias |
, |
|
|
"antialias" |
|
|
) |
| |
◆ caca_write_header()
◆ caca_write_packet()
◆ options
Initial value:= {
}
static void list_drivers(CACAContext *c)
static const char * window_title
@ AV_OPT_TYPE_IMAGE_SIZE
offset must point to two consecutive integers
Definition at line 205 of file caca.c.
◆ caca_class
Initial value:= {
.class_name = "caca outdev",
}
static const AVOption options[]
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
Definition at line 222 of file caca.c.
◆ ff_caca_muxer
Initial value:= {
.name = "caca",
}
static int caca_write_trailer(AVFormatContext *s)
static const AVClass caca_class
static int caca_write_packet(AVFormatContext *s, AVPacket *pkt)
static int caca_write_header(AVFormatContext *s)
#define flags(name, subs,...)
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
static void write_header(FFV1Context *f)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int write_trailer(AVFormatContext *s1)
Definition at line 230 of file caca.c.