FFmpeg
|
ppc/h264chroma_template.c File Reference
#include "libavutil/mem.h"
Include dependency graph for ppc/h264chroma_template.c:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros | |
#define | CHROMA_MC8_ALTIVEC_CORE(BIAS1, BIAS2) |
#define | CHROMA_MC8_ALTIVEC_CORE_SIMPLE |
#define | noop(a) a |
#define | add28(a) vec_add(v28ss, a) |
Macro Definition Documentation
Definition at line 71 of file ppc/h264chroma_template.c.
#define CHROMA_MC8_ALTIVEC_CORE | ( | BIAS1, | |
BIAS2 | |||
) |
Value:
\
psum = vec_mladd(vA, vsrc0ssH, BIAS1);\
psum = vec_mladd(vB, vsrc1ssH, psum);\
psum = vec_mladd(vC, vsrc2ssH, psum);\
psum = vec_mladd(vD, vsrc3ssH, psum);\
psum = BIAS2(psum);\
psum = vec_sr(psum, v6us);\
\
vdst = vec_ld(0, dst);\
ppsum = (vec_u8)vec_pack(psum, psum);\
vfdst = vec_perm(vdst, ppsum, fperm);\
OP_U8_ALTIVEC(fsum, vfdst, vdst);\
\
vec_st(fsum, 0, dst);\
\
vsrc0ssH = vsrc2ssH;\
vsrc1ssH = vsrc3ssH;\
Definition at line 25 of file ppc/h264chroma_template.c.
#define CHROMA_MC8_ALTIVEC_CORE_SIMPLE |
Value:
\
\
psum = vec_mladd(vA, vsrc0ssH, v32ss);\
psum = vec_mladd(vE, vsrc1ssH, psum);\
psum = vec_sr(psum, v6us);\
\
vdst = vec_ld(0, dst);\
ppsum = (vec_u8)vec_pack(psum, psum);\
vfdst = vec_perm(vdst, ppsum, fperm);\
OP_U8_ALTIVEC(fsum, vfdst, vdst);\
\
vec_st(fsum, 0, dst);\
Definition at line 50 of file ppc/h264chroma_template.c.
Definition at line 70 of file ppc/h264chroma_template.c.
Generated on Fri Dec 20 2024 06:56:13 for FFmpeg by 1.8.11