Go to the source code of this file.
Defines | |
#define | ASSERT_ALIGNED(ptr) ; |
#define | CHROMA_MC8_ALTIVEC_CORE(BIAS1, BIAS2) |
#define | CHROMA_MC8_ALTIVEC_CORE_SIMPLE |
#define | noop(a) a |
#define | add28(a) vec_add(v28ss, a) |
Functions | |
static void | PREFIX_h264_chroma_mc8_altivec (uint8_t *dst, uint8_t *src, int stride, int h, int x, int y) |
static void | PREFIX_no_rnd_vc1_chroma_mc8_altivec (uint8_t *dst, uint8_t *src, int stride, int h, int x, int y) |
static void | PREFIX_h264_qpel16_h_lowpass_altivec (uint8_t *dst, uint8_t *src, int dstStride, int srcStride) |
static void | PREFIX_h264_qpel16_v_lowpass_altivec (uint8_t *dst, uint8_t *src, int dstStride, int srcStride) |
static void | PREFIX_h264_qpel16_hv_lowpass_altivec (uint8_t *dst, int16_t *tmp, uint8_t *src, int dstStride, int tmpStride, int srcStride) |
#define add28 | ( | a | ) | vec_add(v28ss, a) |
Definition at line 76 of file h264_template_altivec.c.
Referenced by PREFIX_no_rnd_vc1_chroma_mc8_altivec().
#define ASSERT_ALIGNED | ( | ptr | ) | ; |
Definition at line 25 of file h264_template_altivec.c.
Referenced by PREFIX_h264_qpel16_h_lowpass_altivec(), PREFIX_h264_qpel16_hv_lowpass_altivec(), and PREFIX_h264_qpel16_v_lowpass_altivec().
#define CHROMA_MC8_ALTIVEC_CORE | ( | BIAS1, | |||
BIAS2 | ) |
Value:
vsrc2ssH = (vec_s16)vec_mergeh(zero_u8v,(vec_u8)vsrc2uc);\ vsrc3ssH = (vec_s16)vec_mergeh(zero_u8v,(vec_u8)vsrc3uc);\ \ 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;\ \ dst += stride;\ src += stride;
Definition at line 30 of file h264_template_altivec.c.
Referenced by PREFIX_h264_chroma_mc8_altivec(), and PREFIX_no_rnd_vc1_chroma_mc8_altivec().
#define CHROMA_MC8_ALTIVEC_CORE_SIMPLE |
Value:
\ vsrc0ssH = (vec_s16)vec_mergeh(zero_u8v,(vec_u8)vsrc0uc);\ vsrc1ssH = (vec_s16)vec_mergeh(zero_u8v,(vec_u8)vsrc1uc);\ \ 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);\ \ dst += stride;\ src += stride;
Definition at line 55 of file h264_template_altivec.c.
Referenced by PREFIX_h264_chroma_mc8_altivec().
#define noop | ( | a | ) | a |
Definition at line 75 of file h264_template_altivec.c.
Referenced by PREFIX_h264_chroma_mc8_altivec().
static void PREFIX_h264_chroma_mc8_altivec | ( | uint8_t * | dst, | |
uint8_t * | src, | |||
int | stride, | |||
int | h, | |||
int | x, | |||
int | y | |||
) | [static] |
Definition at line 78 of file h264_template_altivec.c.
static void PREFIX_h264_qpel16_h_lowpass_altivec | ( | uint8_t * | dst, | |
uint8_t * | src, | |||
int | dstStride, | |||
int | srcStride | |||
) | [static] |
Definition at line 297 of file h264_template_altivec.c.
static void PREFIX_h264_qpel16_hv_lowpass_altivec | ( | uint8_t * | dst, | |
int16_t * | tmp, | |||
uint8_t * | src, | |||
int | dstStride, | |||
int | tmpStride, | |||
int | srcStride | |||
) | [static] |
Definition at line 551 of file h264_template_altivec.c.
static void PREFIX_h264_qpel16_v_lowpass_altivec | ( | uint8_t * | dst, | |
uint8_t * | src, | |||
int | dstStride, | |||
int | srcStride | |||
) | [static] |
Definition at line 440 of file h264_template_altivec.c.
static void PREFIX_no_rnd_vc1_chroma_mc8_altivec | ( | uint8_t * | dst, | |
uint8_t * | src, | |||
int | stride, | |||
int | h, | |||
int | x, | |||
int | y | |||
) | [static] |
Definition at line 210 of file h264_template_altivec.c.