FFmpeg
|
#include "libavutil/attributes.h"
#include "libavcodec/hpeldsp.h"
#include "hpeldsp_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 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_hpeldsp_init_alpha (HpelDSPContext *c, int flags) |
Definition at line 55 of file hpeldsp_alpha.c.
Definition at line 62 of file hpeldsp_alpha.c.
Definition at line 73 of file hpeldsp_alpha.c.
Definition at line 87 of file hpeldsp_alpha.c.
#define MAKE_OP | ( | OPNAME, | |
SUFF, | |||
OPKIND, | |||
STORE | |||
) |
Definition at line 118 of file hpeldsp_alpha.c.
#define PIXOP | ( | OPNAME, | |
STORE | |||
) |
Definition at line 138 of file hpeldsp_alpha.c.
#define AVG2 avg2 |
Definition at line 160 of file hpeldsp_alpha.c.
#define AVG4 avg4 |
Definition at line 161 of file hpeldsp_alpha.c.
#define AVG4_ROUNDER BYTE_VEC(0x02) |
Definition at line 162 of file hpeldsp_alpha.c.
Definition at line 167 of file hpeldsp_alpha.c.
#define AVG2 avg2_no_rnd |
Definition at line 160 of file hpeldsp_alpha.c.
#define AVG4 avg4_no_rnd |
Definition at line 161 of file hpeldsp_alpha.c.
#define AVG4_ROUNDER BYTE_VEC(0x01) |
Definition at line 162 of file hpeldsp_alpha.c.
Definition at line 167 of file hpeldsp_alpha.c.
|
inlinestatic |
Definition at line 27 of file hpeldsp_alpha.c.
|
inlinestatic |
Definition at line 32 of file hpeldsp_alpha.c.
PIXOP | ( | put | , |
STORE | |||
) |
PIXOP | ( | put_no_rnd | , |
STORE | |||
) |
PIXOP | ( | avg_no_rnd | , |
STORE | |||
) |
|
static |
Definition at line 170 of file hpeldsp_alpha.c.
Referenced by ff_hpeldsp_init_alpha().
av_cold void ff_hpeldsp_init_alpha | ( | HpelDSPContext * | c, |
int | flags | ||
) |
Definition at line 177 of file hpeldsp_alpha.c.
Referenced by ff_hpeldsp_init().