FFmpeg
|
#include "config.h"
#include "libavutil/ppc/types_altivec.h"
#include "libavutil/ppc/util_altivec.h"
#include "libavcodec/dsputil.h"
#include "dsputil_altivec.h"
Go to the source code of this file.
Macros | |
#define | op_avg(a, b) a = ( ((a)|(b)) - ((((a)^(b))&0xFEFEFEFEUL)>>1) ) |
#define | ONEITERBUTTERFLY(i, res) |
#define | ONEITERBUTTERFLY(i, res1, res2) |
Functions | |
static int | sad16_x2_altivec (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | sad16_y2_altivec (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | sad16_xy2_altivec (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | sad16_altivec (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | sad8_altivec (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | pix_norm1_altivec (uint8_t *pix, int line_size) |
static int | sse8_altivec (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
Sum of Squared Errors for a 8x8 block. | |
static int | sse16_altivec (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
Sum of Squared Errors for a 16x16 block. | |
static int | pix_sum_altivec (uint8_t *pix, int line_size) |
static void | get_pixels_altivec (DCTELEM *av_restrict block, const uint8_t *pixels, int line_size) |
static void | diff_pixels_altivec (DCTELEM *av_restrict block, const uint8_t *s1, const uint8_t *s2, int stride) |
static void | clear_block_altivec (DCTELEM *block) |
static void | add_bytes_altivec (uint8_t *dst, uint8_t *src, int w) |
void | ff_put_pixels16_altivec (uint8_t *block, const uint8_t *pixels, int line_size, int h) |
void | ff_avg_pixels16_altivec (uint8_t *block, const uint8_t *pixels, int line_size, int h) |
static void | avg_pixels8_altivec (uint8_t *block, const uint8_t *pixels, int line_size, int h) |
static void | put_pixels8_xy2_altivec (uint8_t *block, const uint8_t *pixels, int line_size, int h) |
static void | put_no_rnd_pixels8_xy2_altivec (uint8_t *block, const uint8_t *pixels, int line_size, int h) |
static void | put_pixels16_xy2_altivec (uint8_t *block, const uint8_t *pixels, int line_size, int h) |
static void | put_no_rnd_pixels16_xy2_altivec (uint8_t *block, const uint8_t *pixels, int line_size, int h) |
static int | hadamard8_diff8x8_altivec (void *s, uint8_t *dst, uint8_t *src, int stride, int h) |
static int | hadamard8_diff16x8_altivec (void *s, uint8_t *dst, uint8_t *src, int stride, int h) |
static int | hadamard8_diff16_altivec (void *s, uint8_t *dst, uint8_t *src, int stride, int h) |
static void | vorbis_inverse_coupling_altivec (float *mag, float *ang, int blocksize) |
static void | avg_pixels8_xy2_altivec (uint8_t *block, const uint8_t *pixels, int line_size, int h) |
void | ff_dsputil_init_altivec (DSPContext *c, AVCodecContext *avctx) |
Definition at line 651 of file dsputil_altivec.c.
#define ONEITERBUTTERFLY | ( | i, | |
res | |||
) |
Referenced by hadamard8_diff16x8_altivec(), and hadamard8_diff8x8_altivec().
#define ONEITERBUTTERFLY | ( | i, | |
res1, | |||
res2 | |||
) |
|
static |
Definition at line 32 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 76 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 134 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
Definition at line 229 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
Definition at line 269 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 314 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
Sum of Squared Errors for a 8x8 block.
AltiVec-enhanced. It's the sad8_altivec code above w/ squaring added.
Definition at line 351 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
Sum of Squared Errors for a 16x16 block.
AltiVec-enhanced. It's the sad16_altivec code above w/ squaring added.
Definition at line 404 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 446 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 479 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 505 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
Definition at line 579 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
Definition at line 592 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
Definition at line 610 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec(), and put_vp8_pixels16_altivec().
Definition at line 652 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 671 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 702 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 761 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 821 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 889 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 957 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 1080 of file dsputil_altivec.c.
Referenced by hadamard8_diff16_altivec().
|
static |
Definition at line 1275 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 1286 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 1310 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
void ff_dsputil_init_altivec | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
Definition at line 1372 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_ppc().