FFmpeg
|
#include "xface.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.h"
#include "libavutil/avassert.h"
Go to the source code of this file.
Data Structures | |
struct | XFaceContext |
struct | ProbRangesQueue |
Functions | |
static int | all_same (char *bitmap, int w, int h) |
static int | all_black (char *bitmap, int w, int h) |
static int | all_white (char *bitmap, int w, int h) |
static int | pq_push (ProbRangesQueue *pq, const ProbRange *p) |
static void | push_greys (ProbRangesQueue *pq, char *bitmap, int w, int h) |
static void | encode_block (char *bitmap, int w, int h, int level, ProbRangesQueue *pq) |
static void | push_integer (BigInt *b, const ProbRange *prange) |
static int | xface_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
Variables | |
const FFCodec | ff_xface_encoder |
X-Face encoder, based on libcompface, by James Ashton.
Definition in file xfaceenc.c.
Definition at line 40 of file xfaceenc.c.
Referenced by all_white().
Definition at line 57 of file xfaceenc.c.
Referenced by encode_block().
Definition at line 72 of file xfaceenc.c.
Referenced by encode_block().
|
inlinestatic |
Definition at line 82 of file xfaceenc.c.
Referenced by encode_block(), and push_greys().
|
static |
Definition at line 90 of file xfaceenc.c.
Referenced by encode_block().
|
static |
Definition at line 109 of file xfaceenc.c.
Referenced by xface_encode_frame().
Definition at line 128 of file xfaceenc.c.
Referenced by xface_encode_frame().
|
static |
Definition at line 137 of file xfaceenc.c.
const FFCodec ff_xface_encoder |
Definition at line 214 of file xfaceenc.c.