FFmpeg
|
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "libavutil/ppc/types_altivec.h"
#include "dsputil_altivec.h"
Include dependency graph for idct_altivec.c:
Go to the source code of this file.
Macros | |
#define | IDCT_HALF |
#define | IDCT |
#define | COPY(dest, src) |
#define | ADD(dest, src, perm) |
Functions | |
void | ff_idct_put_altivec (uint8_t *dest, int stride, int16_t *blk) |
void | ff_idct_add_altivec (uint8_t *dest, int stride, int16_t *blk) |
Variables | |
static const vec_s16 | constants [5] |
Macro Definition Documentation
Value:
/* *(uint64_t *)&tmp = *(uint64_t *)dest; */ \
tmp = vec_ld (0, dest); \
tmp3 = vec_adds (tmp2, src); \
tmp = vec_packsu (tmp3, tmp3); \
Referenced by ff_idct_add_altivec().
#define COPY | ( | dest, | |
src | |||
) |
Value:
Referenced by ff_idct_put_altivec().
#define IDCT |
Definition at line 83 of file idct_altivec.c.
Referenced by ff_idct_add_altivec(), and ff_idct_put_altivec().
#define IDCT_HALF |
Definition at line 47 of file idct_altivec.c.
Function Documentation
Definition at line 182 of file idct_altivec.c.
Referenced by ff_dsputil_init_ppc().
Definition at line 160 of file idct_altivec.c.
Referenced by ff_dsputil_init_ppc().
Variable Documentation
|
static |
Initial value:
= {
{23170, 13573, 6518, 21895, -23170, -21895, 32, 31},
{16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725},
{22725, 31521, 29692, 26722, 22725, 26722, 29692, 31521},
{21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692},
{19266, 26722, 25172, 22654, 19266, 22654, 25172, 26722}
}
Definition at line 152 of file idct_altivec.c.
Generated on Mon Nov 18 2024 06:52:06 for FFmpeg by 1.8.11