FFmpeg
|
Contains misc utility macros and inline functions. More...
Go to the source code of this file.
Macros | |
#define | WORD_0 0x00,0x01,0x02,0x03 |
#define | WORD_1 0x04,0x05,0x06,0x07 |
#define | WORD_2 0x08,0x09,0x0a,0x0b |
#define | WORD_3 0x0c,0x0d,0x0e,0x0f |
#define | WORD_s0 0x10,0x11,0x12,0x13 |
#define | WORD_s1 0x14,0x15,0x16,0x17 |
#define | WORD_s2 0x18,0x19,0x1a,0x1b |
#define | WORD_s3 0x1c,0x1d,0x1e,0x1f |
#define | vcprm(a, b, c, d) (const vector unsigned char){WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d} |
#define | vcii(a, b, c, d) (const vector float){FLOAT_ ## a, FLOAT_ ## b, FLOAT_ ## c, FLOAT_ ## d} |
#define | vcprmle(a, b, c, d) vcprm(d,c,b,a) |
#define | FLOAT_n -1. |
#define | FLOAT_p 1. |
#define | TRANSPOSE8(a, b, c, d, e, f, g, h) |
Functions | |
static vector unsigned char | unaligned_load (int offset, uint8_t *src) |
loads unaligned vector *src with offset offset and returns it | |
static vec_u8 | load_with_perm_vec (int offset, uint8_t *src, vec_u8 perm_vec) |
loads vector known misalignment | |
Contains misc utility macros and inline functions.
Definition in file util_altivec.h.
#define WORD_0 0x00,0x01,0x02,0x03 |
Definition at line 39 of file util_altivec.h.
#define WORD_1 0x04,0x05,0x06,0x07 |
Definition at line 40 of file util_altivec.h.
#define WORD_2 0x08,0x09,0x0a,0x0b |
Definition at line 41 of file util_altivec.h.
#define WORD_3 0x0c,0x0d,0x0e,0x0f |
Definition at line 42 of file util_altivec.h.
#define WORD_s0 0x10,0x11,0x12,0x13 |
Definition at line 43 of file util_altivec.h.
#define WORD_s1 0x14,0x15,0x16,0x17 |
Definition at line 44 of file util_altivec.h.
#define WORD_s2 0x18,0x19,0x1a,0x1b |
Definition at line 45 of file util_altivec.h.
#define WORD_s3 0x1c,0x1d,0x1e,0x1f |
Definition at line 46 of file util_altivec.h.
#define vcprm | ( | a, | |
b, | |||
c, | |||
d | |||
) | (const vector unsigned char){WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d} |
Definition at line 48 of file util_altivec.h.
Referenced by avg_pixels8_altivec(), avg_pixels8_xy2_altivec(), ff_gmc1_altivec(), put_no_rnd_pixels8_xy2_altivec(), put_pixels8_xy2_altivec(), and vector_fmul_window_altivec().
#define vcii | ( | a, | |
b, | |||
c, | |||
d | |||
) | (const vector float){FLOAT_ ## a, FLOAT_ ## b, FLOAT_ ## c, FLOAT_ ## d} |
Definition at line 49 of file util_altivec.h.
#define FLOAT_n -1. |
Definition at line 58 of file util_altivec.h.
#define FLOAT_p 1. |
Definition at line 59 of file util_altivec.h.
Definition at line 63 of file util_altivec.h.
Referenced by ff_h264_idct8_add_altivec(), vc1_inv_trans_8x4_altivec(), and vc1_inv_trans_8x8_altivec().
|
inlinestatic |
loads unaligned vector *src with offset offset and returns it
Definition at line 99 of file util_altivec.h.
loads vector known misalignment
perm_vec | the align permute vector to combine the two loads from lvsl |
Definition at line 111 of file util_altivec.h.
Referenced by put_vp8_epel_v_altivec_core().