/third_party/ffmpeg/libavcodec/ppc/ |
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(0,1,s0,s2)); in pass_vsx_interleave() [all …]
|
D | fft_init.c | 67 … 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() 68 … 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() 69 …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() 70 sin = vec_perm(sin0, sin1, vcprm(o0,o1,s##o2,s##o3));\ in imdct_half_altivec() 78 a = vec_perm(r##p, i##p, vcprm(0,s0,0,s0));\ in imdct_half_altivec() 79 b = vec_perm(r##p, i##p, vcprm(1,s1,1,s1));\ in imdct_half_altivec() 80 c = vec_perm(r##p, i##p, vcprm(2,s2,2,s2));\ in imdct_half_altivec() 81 d = vec_perm(r##p, i##p, vcprm(3,s3,3,s3));\ in imdct_half_altivec() 121 pout[2*j] = vec_perm(a, d, vcprm(0,s3,1,s2)); in imdct_half_altivec() 122 pout[2*j+1] = vec_perm(a, d, vcprm(2,s1,3,s0)); in imdct_half_altivec() [all …]
|
D | fft_altivec.S | 316 #define vcprm(a, b, c, d) .byte WORD_##a, WORD_##b, WORD_##c, WORD_##d macro 326 vcprm(s0,3,2,1) 327 vcprm(0,1,s2,s1) 328 vcprm(2,3,s0,s3) 329 vcprm(2,s3,3,s2) 330 vcprm(0,1,s0,s1) 331 vcprm(2,3,s2,s3) 332 vcprm(2,3,0,1) 333 vcprm(1,2,s3,s0) 334 vcprm(0,3,s2,s1) [all …]
|
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()
|
D | mpegvideodsp.c | 118 dstv2 = vec_perm(dstv, dstv2, vcprm(0, 1, s0, s1)); in gmc1_altivec() 120 dstv2 = vec_perm(dstv, dstv2, vcprm(s0, s1, 2, 3)); in gmc1_altivec()
|
D | h264dsp.c | 203 vec_u8 dst8 = vec_perm((vec_u8)idstsum8, dstv, vcprm(2,3,s2,s3));\
|
/third_party/ffmpeg/libavutil/ppc/ |
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()
|
D | float_dsp_vsx.c | 45 const vec_u8 reverse = vcprm(3, 2, 1, 0); in ff_vector_fmul_window_vsx()
|
D | util_altivec.h | 67 #define vcprm(a,b,c,d) (const vec_u8){WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d} macro
|