/third_party/ffmpeg/libavcodec/ppc/ |
H A D | fft_vsx.h | 98 x2 = vec_perm(x0, x1, vcprm(2,s2,3,s3)); in pass_vsx_interleave() 99 x3 = vec_perm(x0, x1, vcprm(s3,3,s2,2)); in pass_vsx_interleave() 101 y4 = vec_perm(y0, y1, vcprm(s1,1,s0,0)); in pass_vsx_interleave() 102 y5 = vec_perm(y0, y1, vcprm(s3,3,s2,2)); in pass_vsx_interleave() 103 y2 = vec_perm(y0, y1, vcprm(0,s0,1,s1)); in pass_vsx_interleave() 104 y3 = vec_perm(y0, y1, vcprm(2,s2,3,s3)); in pass_vsx_interleave() 117 x8 = vec_perm(x6, x7, vcprm(0,1,s2,s3)); in pass_vsx_interleave() 118 y10 = vec_perm(y8, y9, vcprm(0,1,s2,s3)); in pass_vsx_interleave() 119 y15 = vec_perm(y13, y14, vcprm(0,1,s2,s3)); in pass_vsx_interleave() 121 x9 = vec_perm(x0, x8, vcprm( in pass_vsx_interleave() [all...] |
H A D | fft_init.c | 68 re = vec_perm(a, b, vcprm(0,2,s0,s2)); /* { z[k].re, z[k+1].re, z[-k-2].re, z[-k-1].re } */\ in imdct_half_altivec() 69 im = vec_perm(a, b, vcprm(s3,s1,3,1)); /* { z[-k-1].im, z[-k-2].im, z[k+1].im, z[k].im } */\ in imdct_half_altivec() 70 cos = vec_perm(cos0, cos1, vcprm(o0,o1,s##o2,s##o3)); /* { cos[k], cos[k+1], cos[-k-2], cos[-k-1] } */\ in imdct_half_altivec() 71 sin = vec_perm(sin0, sin1, vcprm(o0,o1,s##o2,s##o3));\ in imdct_half_altivec() 79 a = vec_perm(r##p, i##p, vcprm(0,s0,0,s0));\ in imdct_half_altivec() 80 b = vec_perm(r##p, i##p, vcprm(1,s1,1,s1));\ in imdct_half_altivec() 81 c = vec_perm(r##p, i##p, vcprm(2,s2,2,s2));\ in imdct_half_altivec() 82 d = vec_perm(r##p, i##p, vcprm(3,s3,3,s3));\ in imdct_half_altivec() 122 pout[2*j] = vec_perm(a, d, vcprm(0,s3,1,s2)); in imdct_half_altivec() 123 pout[2*j+1] = vec_perm(a, d, vcprm( in imdct_half_altivec() [all...] |
H A D | hpeldsp_altivec.c | 99 pixelsv = vec_perm(blockv, pixelsv, vcprm(0,1,s0,s1)); in avg_pixels8_altivec() 101 pixelsv = vec_perm(blockv, pixelsv, vcprm(s0,s1,2,3)); in avg_pixels8_altivec() 148 blockv = vec_perm(blockv, pixelsavg, vcprm(0, 1, s0, s1)); in put_pixels8_xy2_altivec() 150 blockv = vec_perm(blockv, pixelsavg, vcprm(s0, s1, 2, 3)); in put_pixels8_xy2_altivec() 195 blockv = vec_perm(blockv, pixelsavg, vcprm(0, 1, s0, s1)); in put_no_rnd_pixels8_xy2_altivec() 197 blockv = vec_perm(blockv, pixelsavg, vcprm(s0, s1, 2, 3)); in put_no_rnd_pixels8_xy2_altivec() 354 blocktemp = vec_perm(blockv, pixelsavg, vcprm(0, 1, s0, s1)); in avg_pixels8_xy2_altivec() 356 blocktemp = vec_perm(blockv, pixelsavg, vcprm(s0, s1, 2, 3)); in avg_pixels8_xy2_altivec()
|
H A D | fft_altivec.S | 59 vperm \a2,\a0,\a1,v20 // vcprm(0,1,s2,s1) // {r0,i0,r3,i2} 60 vperm \a3,\a0,\a1,v21 // vcprm(2,3,s0,s3) // {r1,i1,r2,i3} 63 vmrghw \a2,\a0,\a1 // vcprm(0,s0,1,s1) // {t1,t3,t2,t4} 64 vperm \a3,\a0,\a1,v22 // vcprm(2,s3,3,s2) // {t6,t7,t5,t8} 67 vperm \a2,\a0,\a1,v23 // vcprm(0,1,s0,s1) // {r0,r1,r2,r3} 68 vperm \a3,\a0,\a1,v24 // vcprm(2,3,s2,s3) // {i0,i1,i2,i3} 72 vperm \a2,\a0,\a1,v20 // vcprm(0,1,s2,s1) // {r0,i0,r3,i2} 73 vperm \a3,\a0,\a1,v21 // vcprm(2,3,s0,s3) // {r1,i1,r2,i3} 80 vmrghw \a2,\a0,\a1 // vcprm(0,s0,1,s1) // {t1,t3,t2,t4} 81 vperm \a3,\a0,\a1,v22 // vcprm( 316 #define vcprm(a, b, c, d) .byte WORD_##a, WORD_##b, WORD_##c, WORD_##d global() define [all...] |
H A D | mpegvideodsp.c | 119 dstv2 = vec_perm(dstv, dstv2, vcprm(0, 1, s0, s1)); in gmc1_altivec() 121 dstv2 = vec_perm(dstv, dstv2, vcprm(s0, s1, 2, 3)); in gmc1_altivec()
|
H A D | h264dsp.c | 203 vec_u8 dst8 = vec_perm((vec_u8)idstsum8, dstv, vcprm(2,3,s2,s3));\
|
/third_party/ffmpeg/libavutil/ppc/ |
H A D | float_dsp_altivec.c | 44 const vec_u8 reverse = vcprm(3, 2, 1, 0); in ff_vector_fmul_window_altivec() 86 edges = vec_perm(t1, t0, vcprm(0, 1, 2, 3)); in ff_vector_fmul_add_altivec() 88 t1 = vec_perm(d, edges, vcprm(s0,s1,s2,s3)); in ff_vector_fmul_add_altivec() 89 t0 = vec_perm(edges, d, vcprm(s0,s1,s2,s3)); in ff_vector_fmul_add_altivec()
|
H A D | float_dsp_vsx.c | 45 const vec_u8 reverse = vcprm(3, 2, 1, 0); in ff_vector_fmul_window_vsx()
|
H A D | util_altivec.h | 57 // used to build registers permutation vectors (vcprm) 67 #define vcprm(a,b,c,d) (const vec_u8){WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d} macro
|