#include <stdint.h>
#include "config.h"
Go to the source code of this file.
Defines | |
#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 |
Definition in file util_altivec.h.
#define FLOAT_n -1. |
Definition at line 56 of file util_altivec.h.
#define FLOAT_p 1. |
Definition at line 57 of file util_altivec.h.
#define TRANSPOSE8 | ( | a, | |||
b, | |||||
c, | |||||
d, | |||||
e, | |||||
f, | |||||
g, | |||||
h | ) |
Definition at line 61 of file util_altivec.h.
Referenced by dct_quantize_altivec(), ff_h264_idct8_add_altivec(), ff_h264_idct8_add_sse2(), ff_vp3_idct_sse2(), vc1_inv_trans_8x4_altivec(), and vc1_inv_trans_8x8_altivec().
#define vcii | ( | a, | |||
b, | |||||
c, | |||||
d | ) | (const vector float){FLOAT_ ## a, FLOAT_ ## b, FLOAT_ ## c, FLOAT_ ## d} |
#define vcprm | ( | a, | |||
b, | |||||
c, | |||||
d | ) | (const vector unsigned char){WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d} |
Definition at line 46 of file util_altivec.h.
Referenced by avg_pixels8_altivec(), avg_pixels8_xy2_altivec(), gmc1_altivec(), put_no_rnd_pixels8_xy2_altivec(), put_pixels8_xy2_altivec(), and vector_fmul_window_altivec().
#define vcprmle | ( | a, | |||
b, | |||||
c, | |||||
d | ) | vcprm(d,c,b,a) |
#define WORD_0 0x00,0x01,0x02,0x03 |
Definition at line 37 of file util_altivec.h.
#define WORD_1 0x04,0x05,0x06,0x07 |
Definition at line 38 of file util_altivec.h.
#define WORD_2 0x08,0x09,0x0a,0x0b |
Definition at line 39 of file util_altivec.h.
#define WORD_3 0x0c,0x0d,0x0e,0x0f |
Definition at line 40 of file util_altivec.h.
#define WORD_s0 0x10,0x11,0x12,0x13 |
Definition at line 41 of file util_altivec.h.
#define WORD_s1 0x14,0x15,0x16,0x17 |
Definition at line 42 of file util_altivec.h.
#define WORD_s2 0x18,0x19,0x1a,0x1b |
Definition at line 43 of file util_altivec.h.
#define WORD_s3 0x1c,0x1d,0x1e,0x1f |
Definition at line 44 of file util_altivec.h.
static vector unsigned char unaligned_load | ( | int | offset, | |
uint8_t * | src | |||
) | [inline, static] |
loads unaligned vector *src with offset offset and returns it
Definition at line 97 of file util_altivec.h.