C2 325 libavcodec/mpegaudiodsp_template.c t0 = MULH3(in1[2*2] + in1[2*4] , C2, 2); C2 49 libavcodec/ppc/fdctdsp.c #define W0 -(2 * C2) C2 50 libavcodec/ppc/vp3dsp_altivec.c vec_s16 C2 = vec_splat(constants, 2);\ C2 94 libavcodec/ppc/vp3dsp_altivec.c G = vec_add(M16(b2, C2), M15(b6, C6));\ C2 95 libavcodec/ppc/vp3dsp_altivec.c H = vec_sub(M15(b2, C6), M16(b6, C2));\ C2 34 libavcodec/rv30dsp.c static void OPNAME ## rv30_tpel8_h_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\ C2 40 libavcodec/rv30dsp.c OP(dst[0], (-(src[-1]+src[2]) + src[0]*C1 + src[1]*C2 + 8)>>4);\ C2 41 libavcodec/rv30dsp.c OP(dst[1], (-(src[ 0]+src[3]) + src[1]*C1 + src[2]*C2 + 8)>>4);\ C2 42 libavcodec/rv30dsp.c OP(dst[2], (-(src[ 1]+src[4]) + src[2]*C1 + src[3]*C2 + 8)>>4);\ C2 43 libavcodec/rv30dsp.c OP(dst[3], (-(src[ 2]+src[5]) + src[3]*C1 + src[4]*C2 + 8)>>4);\ C2 44 libavcodec/rv30dsp.c OP(dst[4], (-(src[ 3]+src[6]) + src[4]*C1 + src[5]*C2 + 8)>>4);\ C2 45 libavcodec/rv30dsp.c OP(dst[5], (-(src[ 4]+src[7]) + src[5]*C1 + src[6]*C2 + 8)>>4);\ C2 46 libavcodec/rv30dsp.c OP(dst[6], (-(src[ 5]+src[8]) + src[6]*C1 + src[7]*C2 + 8)>>4);\ C2 47 libavcodec/rv30dsp.c OP(dst[7], (-(src[ 6]+src[9]) + src[7]*C1 + src[8]*C2 + 8)>>4);\ C2 53 libavcodec/rv30dsp.c static void OPNAME ## rv30_tpel8_v_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\ C2 70 libavcodec/rv30dsp.c OP(dst[0*dstStride], (-(srcA+src2) + src0*C1 + src1*C2 + 8)>>4);\ C2 71 libavcodec/rv30dsp.c OP(dst[1*dstStride], (-(src0+src3) + src1*C1 + src2*C2 + 8)>>4);\ C2 72 libavcodec/rv30dsp.c OP(dst[2*dstStride], (-(src1+src4) + src2*C1 + src3*C2 + 8)>>4);\ C2 73 libavcodec/rv30dsp.c OP(dst[3*dstStride], (-(src2+src5) + src3*C1 + src4*C2 + 8)>>4);\ C2 74 libavcodec/rv30dsp.c OP(dst[4*dstStride], (-(src3+src6) + src4*C1 + src5*C2 + 8)>>4);\ C2 75 libavcodec/rv30dsp.c OP(dst[5*dstStride], (-(src4+src7) + src5*C1 + src6*C2 + 8)>>4);\ C2 76 libavcodec/rv30dsp.c OP(dst[6*dstStride], (-(src5+src8) + src6*C1 + src7*C2 + 8)>>4);\ C2 77 libavcodec/rv30dsp.c OP(dst[7*dstStride], (-(src6+src9) + src7*C1 + src8*C2 + 8)>>4);\ C2 158 libavcodec/rv30dsp.c static void OPNAME ## rv30_tpel16_v_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\ C2 159 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_v_lowpass(dst , src , dstStride, srcStride, C1, C2);\ C2 160 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_v_lowpass(dst+8, src+8, dstStride, srcStride, C1, C2);\ C2 163 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_v_lowpass(dst , src , dstStride, srcStride, C1, C2);\ C2 164 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_v_lowpass(dst+8, src+8, dstStride, srcStride, C1, C2);\ C2 167 libavcodec/rv30dsp.c static void OPNAME ## rv30_tpel16_h_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\ C2 168 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_h_lowpass(dst , src , dstStride, srcStride, C1, C2);\ C2 169 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_h_lowpass(dst+8, src+8, dstStride, srcStride, C1, C2);\ C2 172 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_h_lowpass(dst , src , dstStride, srcStride, C1, C2);\ C2 173 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_h_lowpass(dst+8, src+8, dstStride, srcStride, C1, C2);\ C2 39 libavcodec/rv40dsp.c const int h, const int C1, const int C2, const int SHIFT){\ C2 44 libavcodec/rv40dsp.c OP(dst[0], (src[-2] + src[ 3] - 5*(src[-1]+src[2]) + src[0]*C1 + src[1]*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 45 libavcodec/rv40dsp.c OP(dst[1], (src[-1] + src[ 4] - 5*(src[ 0]+src[3]) + src[1]*C1 + src[2]*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 46 libavcodec/rv40dsp.c OP(dst[2], (src[ 0] + src[ 5] - 5*(src[ 1]+src[4]) + src[2]*C1 + src[3]*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 47 libavcodec/rv40dsp.c OP(dst[3], (src[ 1] + src[ 6] - 5*(src[ 2]+src[5]) + src[3]*C1 + src[4]*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 48 libavcodec/rv40dsp.c OP(dst[4], (src[ 2] + src[ 7] - 5*(src[ 3]+src[6]) + src[4]*C1 + src[5]*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 49 libavcodec/rv40dsp.c OP(dst[5], (src[ 3] + src[ 8] - 5*(src[ 4]+src[7]) + src[5]*C1 + src[6]*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 50 libavcodec/rv40dsp.c OP(dst[6], (src[ 4] + src[ 9] - 5*(src[ 5]+src[8]) + src[6]*C1 + src[7]*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 51 libavcodec/rv40dsp.c OP(dst[7], (src[ 5] + src[10] - 5*(src[ 6]+src[9]) + src[7]*C1 + src[8]*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 58 libavcodec/rv40dsp.c const int w, const int C1, const int C2, const int SHIFT){\ C2 76 libavcodec/rv40dsp.c OP(dst[0*dstStride], (srcB + src3 - 5*(srcA+src2) + src0*C1 + src1*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 77 libavcodec/rv40dsp.c OP(dst[1*dstStride], (srcA + src4 - 5*(src0+src3) + src1*C1 + src2*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 78 libavcodec/rv40dsp.c OP(dst[2*dstStride], (src0 + src5 - 5*(src1+src4) + src2*C1 + src3*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 79 libavcodec/rv40dsp.c OP(dst[3*dstStride], (src1 + src6 - 5*(src2+src5) + src3*C1 + src4*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 80 libavcodec/rv40dsp.c OP(dst[4*dstStride], (src2 + src7 - 5*(src3+src6) + src4*C1 + src5*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 81 libavcodec/rv40dsp.c OP(dst[5*dstStride], (src3 + src8 - 5*(src4+src7) + src5*C1 + src6*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 82 libavcodec/rv40dsp.c OP(dst[6*dstStride], (src4 + src9 - 5*(src5+src8) + src6*C1 + src7*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 83 libavcodec/rv40dsp.c OP(dst[7*dstStride], (src5 + src10 - 5*(src6+src9) + src7*C1 + src8*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C2 90 libavcodec/rv40dsp.c const int w, const int C1, const int C2, const int SHIFT){\ C2 91 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_v_lowpass(dst , src , dstStride, srcStride, 8, C1, C2, SHIFT);\ C2 92 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_v_lowpass(dst+8, src+8, dstStride, srcStride, 8, C1, C2, SHIFT);\ C2 95 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_v_lowpass(dst , src , dstStride, srcStride, w-8, C1, C2, SHIFT);\ C2 96 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_v_lowpass(dst+8, src+8, dstStride, srcStride, w-8, C1, C2, SHIFT);\ C2 100 libavcodec/rv40dsp.c const int h, const int C1, const int C2, const int SHIFT){\ C2 101 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_h_lowpass(dst , src , dstStride, srcStride, 8, C1, C2, SHIFT);\ C2 102 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_h_lowpass(dst+8, src+8, dstStride, srcStride, 8, C1, C2, SHIFT);\ C2 105 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_h_lowpass(dst , src , dstStride, srcStride, h-8, C1, C2, SHIFT);\ C2 106 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_h_lowpass(dst+8, src+8, dstStride, srcStride, h-8, C1, C2, SHIFT);\ C2 66 libavcodec/simple_idct.c c1 = a1 * C1 + a3 * C2; C2 67 libavcodec/simple_idct.c c3 = a1 * C2 - a3 * C1; C2 145 libavcodec/simple_idct.c c1 = a1 * C1 + a3 * C2; C2 146 libavcodec/simple_idct.c c3 = a1 * C2 - a3 * C1; C2 162 libavcodec/x86/fdct.c #define TABLE_SSE2 C4, C4, C1, C3, -C6, -C2, -C1, -C5, \ C2 163 libavcodec/x86/fdct.c C4, C4, C5, C7, C2, C6, C3, -C7, \ C2 164 libavcodec/x86/fdct.c -C4, C4, C7, C3, C6, -C2, C7, -C5, \ C2 165 libavcodec/x86/fdct.c C4, -C4, C5, -C1, C2, -C6, C3, -C1, C2 70 libavcodec/x86/simple_idct.c C2, C6, C2, C6, C2 71 libavcodec/x86/simple_idct.c C6, -C2, C6, -C2, C2 69 libavutil/ppc/util_altivec.h vector signed short A2, B2, C2, D2, E2, F2, G2, H2; \ C2 82 libavutil/ppc/util_altivec.h C2 = vec_mergeh (B1, F1); \ C2 93 libavutil/ppc/util_altivec.h e = vec_mergeh (C2, G2); \ C2 94 libavutil/ppc/util_altivec.h f = vec_mergel (C2, G2); \