FFmpeg
|
#include "config.h"
#include "libavutil/attributes.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 | 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 (int16_t *restrict block, const uint8_t *pixels, int line_size) |
static void | diff_pixels_altivec (int16_t *restrict block, const uint8_t *s1, const uint8_t *s2, int stride) |
static void | clear_block_altivec (int16_t *block) |
static void | add_bytes_altivec (uint8_t *dst, uint8_t *src, int w) |
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) |
av_cold void | ff_dsputil_init_altivec (DSPContext *c, AVCodecContext *avctx) |
#define ONEITERBUTTERFLY | ( | i, | |
res | |||
) |
Referenced by hadamard8_diff16x8_altivec(), and hadamard8_diff8x8_altivec().
#define ONEITERBUTTERFLY | ( | i, | |
res1, | |||
res2 | |||
) |
|
static |
Definition at line 33 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 77 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 135 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
Definition at line 230 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
Definition at line 270 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 315 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 352 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 405 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 447 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 480 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 506 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 580 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
Definition at line 593 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 610 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
|
static |
Definition at line 733 of file dsputil_altivec.c.
Referenced by hadamard8_diff16_altivec().
|
static |
Definition at line 928 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_altivec().
av_cold void ff_dsputil_init_altivec | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
Definition at line 939 of file dsputil_altivec.c.
Referenced by ff_dsputil_init_ppc().