* X-Face decoder, based on libcompface, by James Ashton.
*/
-#include "libavutil/pixdesc.h"
#include "avcodec.h"
-#include "bytestream.h"
#include "codec_internal.h"
-#include "internal.h"
+#include "decode.h"
#include "xface.h"
static int pop_integer(BigInt *b, const ProbRange *pranges)
const FFCodec ff_xface_decoder = {
.p.name = "xface",
- .p.long_name = NULL_IF_CONFIG_SMALL("X-face image"),
+ CODEC_LONG_NAME("X-face image"),
.p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_XFACE,
.p.capabilities = AV_CODEC_CAP_DR1,
.init = xface_decode_init,
FF_CODEC_DECODE_CB(xface_decode_frame),
.p.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_MONOWHITE, AV_PIX_FMT_NONE },
- .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};