FFmpeg
Classes | Typedefs | Variables
xfaceenc.c File Reference

X-Face encoder, based on libcompface, by James Ashton. More...

#include "xface.h"
#include "avcodec.h"
#include "internal.h"
#include "libavutil/avassert.h"

Classes

struct  XFaceContext
 
struct  ProbRangesQueue
 

Typedefs

typedef struct XFaceContext XFaceContext
 

Variables

AVCodec ff_xface_encoder
 

Detailed Description

X-Face encoder, based on libcompface, by James Ashton.

Variable Documentation

§ ff_xface_encoder

AVCodec ff_xface_encoder
Initial value:
= {
.name = "xface",
.long_name = NULL_IF_CONFIG_SMALL("X-face image"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_XFACE,
.priv_data_size = sizeof(XFaceContext),
.encode2 = xface_encode_frame,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_MONOWHITE, AV_PIX_FMT_NONE },
.capabilities = AV_CODEC_CAP_INTRA_ONLY,
}
#define AV_CODEC_CAP_INTRA_ONLY
Codec is intra only.
Definition: avcodec.h:1045
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: xfacedec.c:89
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
Definition: pixfmt.h:71
AVPixelFormat
Pixel format.
Definition: pixfmt.h:60