FFmpeg
|
xfacedec.c File Reference
X-Face decoder, based on libcompface, by James Ashton. More...
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "xface.h"
Include dependency graph for xfacedec.c:
Go to the source code of this file.
Data Structures | |
struct | XFaceContext |
Typedefs | |
typedef struct XFaceContext | XFaceContext |
Functions | |
static int | pop_integer (BigInt *b, const ProbRange *pranges) |
static void | pop_greys (BigInt *b, char *bitmap, int w, int h) |
static void | decode_block (BigInt *b, char *bitmap, int w, int h, int level) |
static av_cold int | xface_decode_init (AVCodecContext *avctx) |
static int | xface_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Variables | |
AVCodec | ff_xface_decoder |
Detailed Description
X-Face decoder, based on libcompface, by James Ashton.
Definition in file xfacedec.c.
Typedef Documentation
typedef struct XFaceContext XFaceContext |
Function Documentation
Definition at line 69 of file xfacedec.c.
Referenced by xface_decode_frame().
Definition at line 51 of file xfacedec.c.
Referenced by decode_block().
Definition at line 33 of file xfacedec.c.
Referenced by decode_block(), and pop_greys().
|
static |
Definition at line 111 of file xfacedec.c.
|
static |
Definition at line 93 of file xfacedec.c.
Variable Documentation
AVCodec ff_xface_decoder |
Initial value:
= {
.name = "xface",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_XFACE,
.priv_data_size = sizeof(XFaceContext),
.long_name = NULL_IF_CONFIG_SMALL("X-face image"),
}
static av_cold int xface_decode_init(AVCodecContext *avctx)
Definition: xfacedec.c:93
Definition: pixfmt.h:67
static int xface_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: xfacedec.c:111
struct XFaceContext XFaceContext
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: libavcodec/avcodec.h:290
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
Definition: pixfmt.h:77
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Definition at line 179 of file xfacedec.c.
Generated on Mon Nov 18 2024 06:52:10 for FFmpeg by 1.8.11