FFmpeg
|
#include "libavutil/attributes.h"
#include "libavcodec/dsputil.h"
#include "dsputil_alpha.h"
#include "asm.h"
Go to the source code of this file.
Macros | |
#define | OP(LOAD, STORE) |
#define | OP_X2(LOAD, STORE) |
#define | OP_Y2(LOAD, STORE) |
#define | OP_XY2(LOAD, STORE) |
#define | MAKE_OP(OPNAME, SUFF, OPKIND, STORE) |
#define | PIXOP(OPNAME, STORE) |
#define | AVG2 avg2 |
#define | AVG4 avg4 |
#define | AVG4_ROUNDER BYTE_VEC(0x02) |
#define | STORE(l, b) stq(l, b) |
#define | STORE(l, b) stq(AVG2(l, ldq(b)), b); |
#define | AVG2 avg2_no_rnd |
#define | AVG4 avg4_no_rnd |
#define | AVG4_ROUNDER BYTE_VEC(0x01) |
#define | STORE(l, b) stq(l, b) |
#define | STORE(l, b) stq(AVG2(l, ldq(b)), b); |
Functions | |
static void | clear_blocks_axp (int16_t *blocks) |
static uint64_t | avg2_no_rnd (uint64_t a, uint64_t b) |
static uint64_t | avg2 (uint64_t a, uint64_t b) |
PIXOP (put, STORE) | |
PIXOP (avg, STORE) | |
PIXOP (put_no_rnd, STORE) | |
PIXOP (avg_no_rnd, STORE) | |
static void | put_pixels16_axp_asm (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) |
av_cold void | ff_dsputil_init_alpha (DSPContext *c, AVCodecContext *avctx) |
Variables | |
void(* | put_pixels_clamped_axp_p )(const int16_t *block, uint8_t *pixels, int line_size) |
void(* | add_pixels_clamped_axp_p )(const int16_t *block, uint8_t *pixels, int line_size) |
Definition at line 150 of file dsputil_alpha.c.
Referenced by decode_frame(), and tempNoiseReducer_altivec().
Definition at line 157 of file dsputil_alpha.c.
Definition at line 182 of file dsputil_alpha.c.
#define MAKE_OP | ( | OPNAME, | |
SUFF, | |||
OPKIND, | |||
STORE | |||
) |
Definition at line 213 of file dsputil_alpha.c.
#define PIXOP | ( | OPNAME, | |
STORE | |||
) |
#define AVG2 avg2 |
Definition at line 255 of file dsputil_alpha.c.
#define AVG4 avg4 |
Definition at line 256 of file dsputil_alpha.c.
#define AVG4_ROUNDER BYTE_VEC(0x02) |
Definition at line 257 of file dsputil_alpha.c.
Definition at line 262 of file dsputil_alpha.c.
Referenced by doVertDefFilter_altivec(), and store_slice_c().
#define AVG2 avg2_no_rnd |
Definition at line 255 of file dsputil_alpha.c.
#define AVG4 avg4_no_rnd |
Definition at line 256 of file dsputil_alpha.c.
#define AVG4_ROUNDER BYTE_VEC(0x01) |
Definition at line 257 of file dsputil_alpha.c.
Definition at line 262 of file dsputil_alpha.c.
|
static |
Definition at line 104 of file dsputil_alpha.c.
Referenced by ff_dsputil_init_alpha().
|
inlinestatic |
Definition at line 122 of file dsputil_alpha.c.
|
inlinestatic |
Definition at line 127 of file dsputil_alpha.c.
PIXOP | ( | put_no_rnd | , |
STORE | |||
) |
PIXOP | ( | avg_no_rnd | , |
STORE | |||
) |
|
static |
Definition at line 265 of file dsputil_alpha.c.
Referenced by ff_dsputil_init_alpha().
av_cold void ff_dsputil_init_alpha | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
Definition at line 272 of file dsputil_alpha.c.
Referenced by ff_dsputil_init().
Definition at line 27 of file dsputil_alpha.c.
Referenced by ff_dsputil_init_alpha(), and ff_simple_idct_put_axp().
Definition at line 29 of file dsputil_alpha.c.
Referenced by ff_dsputil_init_alpha(), and ff_simple_idct_add_axp().