FFmpeg
|
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | BigInt |
struct | ProbRange |
Macros | |
#define | XFACE_WIDTH 48 |
#define | XFACE_HEIGHT 48 |
#define | XFACE_PIXELS (XFACE_WIDTH * XFACE_HEIGHT) |
#define | XFACE_FIRST_PRINT '!' |
#define | XFACE_LAST_PRINT '~' |
#define | XFACE_PRINTS (XFACE_LAST_PRINT - XFACE_FIRST_PRINT + 1) |
#define | XFACE_MAX_DIGITS 666 |
#define | XFACE_BITSPERWORD 8 |
#define | XFACE_WORDCARRY (1 << XFACE_BITSPERWORD) |
#define | XFACE_WORDMASK (XFACE_WORDCARRY - 1) |
#define | XFACE_MAX_WORDS 546 |
Enumerations | |
enum | XFaceColor { XFACE_COLOR_BLACK = 0, XFACE_COLOR_GREY, XFACE_COLOR_WHITE } |
Functions | |
void | ff_big_add (BigInt *b, uint8_t a) |
Add a to b storing the result in b. More... | |
void | ff_big_div (BigInt *b, uint8_t a, uint8_t *r) |
Divide b by a storing the result in b and the remainder in the word pointed to by r. More... | |
void | ff_big_mul (BigInt *b, uint8_t a) |
Multiply a by b storing the result in b. More... | |
void | ff_xface_generate_face (uint8_t *dst, uint8_t *const src) |
Variables | |
const ProbRange | ff_xface_probranges_per_level [4][3] |
const ProbRange | ff_xface_probranges_2x2 [16] |
X-Face common definitions.
Definition in file xface.h.
#define XFACE_PIXELS (XFACE_WIDTH * XFACE_HEIGHT) |
#define XFACE_PRINTS (XFACE_LAST_PRINT - XFACE_FIRST_PRINT + 1) |
#define XFACE_WORDCARRY (1 << XFACE_BITSPERWORD) |
#define XFACE_WORDMASK (XFACE_WORDCARRY - 1) |
enum XFaceColor |
void ff_big_add | ( | BigInt * | b, |
uint8_t | a | ||
) |
Add a to b storing the result in b.
Definition at line 31 of file xface.c.
Referenced by pop_integer(), push_integer(), and xface_decode_frame().
void ff_big_div | ( | BigInt * | b, |
uint8_t | a, | ||
uint8_t * | r | ||
) |
Divide b by a storing the result in b and the remainder in the word pointed to by r.
Definition at line 54 of file xface.c.
Referenced by pop_integer(), push_integer(), and xface_encode_frame().
void ff_big_mul | ( | BigInt * | b, |
uint8_t | a | ||
) |
Multiply a by b storing the result in b.
Definition at line 93 of file xface.c.
Referenced by pop_integer(), push_integer(), and xface_decode_frame().
void ff_xface_generate_face | ( | uint8_t * | dst, |
uint8_t *const | src | ||
) |
Definition at line 286 of file xface.c.
Referenced by xface_decode_frame(), and xface_encode_frame().
const ProbRange ff_xface_probranges_per_level[4][3] |
Definition at line 129 of file xface.c.
Referenced by decode_block(), and encode_block().
const ProbRange ff_xface_probranges_2x2[16] |
Definition at line 137 of file xface.c.
Referenced by pop_greys(), and push_greys().