27 #ifndef AVCODEC_XFACE_H 28 #define AVCODEC_XFACE_H 33 #define XFACE_WIDTH 48 34 #define XFACE_HEIGHT 48 35 #define XFACE_PIXELS (XFACE_WIDTH * XFACE_HEIGHT) 40 #define XFACE_FIRST_PRINT '!' 41 #define XFACE_LAST_PRINT '~' 42 #define XFACE_PRINTS (XFACE_LAST_PRINT - XFACE_FIRST_PRINT + 1) 50 #define XFACE_MAX_DIGITS 666 52 #define XFACE_BITSPERWORD 8 53 #define XFACE_WORDCARRY (1 << XFACE_BITSPERWORD) 54 #define XFACE_WORDMASK (XFACE_WORDCARRY - 1) 57 #define XFACE_MAX_WORDS 546
void ff_big_add(BigInt *b, uint8_t a)
Add a to b storing the result in b.
void ff_xface_generate_face(uint8_t *dst, uint8_t *const src)
void ff_big_mul(BigInt *b, uint8_t a)
Multiply a by b storing the result in b.
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...
const ProbRange ff_xface_probranges_per_level[4][3]
const ProbRange ff_xface_probranges_2x2[16]