C1 1042 libavcodec/mpegaudiodec.c t2 = MUL64(2*(in1[2*1] + in1[2*5]), C1); C1 1068 libavcodec/mpegaudiodec.c t2 = MULH(2*(in1[2*1] + in1[2*5]), C1); C1 50 libavcodec/ppc/fdct_altivec.c #define W4 (SQRT_2 * (-C1 + C3 + C5 - C7)) C1 51 libavcodec/ppc/fdct_altivec.c #define W5 (SQRT_2 * ( C1 + C3 - C5 + C7)) C1 52 libavcodec/ppc/fdct_altivec.c #define W6 (SQRT_2 * ( C1 + C3 + C5 - C7)) C1 53 libavcodec/ppc/fdct_altivec.c #define W7 (SQRT_2 * ( C1 + C3 - C5 - C7)) C1 55 libavcodec/ppc/fdct_altivec.c #define W9 (SQRT_2 * (-C1 - C3)) C1 63 libavcodec/ppc/util_altivec.h vector signed short A1, B1, C1, D1, E1, F1, G1, H1; \ C1 68 libavcodec/ppc/util_altivec.h C1 = vec_mergeh (b, f); \ C1 79 libavcodec/ppc/util_altivec.h E2 = vec_mergeh (C1, G1); \ C1 80 libavcodec/ppc/util_altivec.h F2 = vec_mergel (C1, G1); \ C1 31 libavcodec/rv30dsp.c static av_unused void OPNAME ## rv30_tpel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\ C1 37 libavcodec/rv30dsp.c OP(dst[0], (-(src[-1]+src[2]) + src[0]*C1 + src[1]*C2 + 8)>>4);\ C1 38 libavcodec/rv30dsp.c OP(dst[1], (-(src[ 0]+src[3]) + src[1]*C1 + src[2]*C2 + 8)>>4);\ C1 39 libavcodec/rv30dsp.c OP(dst[2], (-(src[ 1]+src[4]) + src[2]*C1 + src[3]*C2 + 8)>>4);\ C1 40 libavcodec/rv30dsp.c OP(dst[3], (-(src[ 2]+src[5]) + src[3]*C1 + src[4]*C2 + 8)>>4);\ C1 41 libavcodec/rv30dsp.c OP(dst[4], (-(src[ 3]+src[6]) + src[4]*C1 + src[5]*C2 + 8)>>4);\ C1 42 libavcodec/rv30dsp.c OP(dst[5], (-(src[ 4]+src[7]) + src[5]*C1 + src[6]*C2 + 8)>>4);\ C1 43 libavcodec/rv30dsp.c OP(dst[6], (-(src[ 5]+src[8]) + src[6]*C1 + src[7]*C2 + 8)>>4);\ C1 44 libavcodec/rv30dsp.c OP(dst[7], (-(src[ 6]+src[9]) + src[7]*C1 + src[8]*C2 + 8)>>4);\ C1 50 libavcodec/rv30dsp.c static void OPNAME ## rv30_tpel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\ C1 67 libavcodec/rv30dsp.c OP(dst[0*dstStride], (-(srcA+src2) + src0*C1 + src1*C2 + 8)>>4);\ C1 68 libavcodec/rv30dsp.c OP(dst[1*dstStride], (-(src0+src3) + src1*C1 + src2*C2 + 8)>>4);\ C1 69 libavcodec/rv30dsp.c OP(dst[2*dstStride], (-(src1+src4) + src2*C1 + src3*C2 + 8)>>4);\ C1 70 libavcodec/rv30dsp.c OP(dst[3*dstStride], (-(src2+src5) + src3*C1 + src4*C2 + 8)>>4);\ C1 71 libavcodec/rv30dsp.c OP(dst[4*dstStride], (-(src3+src6) + src4*C1 + src5*C2 + 8)>>4);\ C1 72 libavcodec/rv30dsp.c OP(dst[5*dstStride], (-(src4+src7) + src5*C1 + src6*C2 + 8)>>4);\ C1 73 libavcodec/rv30dsp.c OP(dst[6*dstStride], (-(src5+src8) + src6*C1 + src7*C2 + 8)>>4);\ C1 74 libavcodec/rv30dsp.c OP(dst[7*dstStride], (-(src6+src9) + src7*C1 + src8*C2 + 8)>>4);\ C1 155 libavcodec/rv30dsp.c static void OPNAME ## rv30_tpel16_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\ C1 156 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_v_lowpass(dst , src , dstStride, srcStride, C1, C2);\ C1 157 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_v_lowpass(dst+8, src+8, dstStride, srcStride, C1, C2);\ C1 160 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_v_lowpass(dst , src , dstStride, srcStride, C1, C2);\ C1 161 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_v_lowpass(dst+8, src+8, dstStride, srcStride, C1, C2);\ C1 164 libavcodec/rv30dsp.c static void OPNAME ## rv30_tpel16_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\ C1 165 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_h_lowpass(dst , src , dstStride, srcStride, C1, C2);\ C1 166 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_h_lowpass(dst+8, src+8, dstStride, srcStride, C1, C2);\ C1 169 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_h_lowpass(dst , src , dstStride, srcStride, C1, C2);\ C1 170 libavcodec/rv30dsp.c OPNAME ## rv30_tpel8_h_lowpass(dst+8, src+8, dstStride, srcStride, C1, C2);\ C1 32 libavcodec/rv40dsp.c const int h, const int C1, const int C2, const int SHIFT){\ C1 37 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);\ C1 38 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);\ C1 39 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);\ C1 40 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);\ C1 41 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);\ C1 42 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);\ C1 43 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);\ C1 44 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);\ C1 51 libavcodec/rv40dsp.c const int w, const int C1, const int C2, const int SHIFT){\ C1 69 libavcodec/rv40dsp.c OP(dst[0*dstStride], (srcB + src3 - 5*(srcA+src2) + src0*C1 + src1*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C1 70 libavcodec/rv40dsp.c OP(dst[1*dstStride], (srcA + src4 - 5*(src0+src3) + src1*C1 + src2*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C1 71 libavcodec/rv40dsp.c OP(dst[2*dstStride], (src0 + src5 - 5*(src1+src4) + src2*C1 + src3*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C1 72 libavcodec/rv40dsp.c OP(dst[3*dstStride], (src1 + src6 - 5*(src2+src5) + src3*C1 + src4*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C1 73 libavcodec/rv40dsp.c OP(dst[4*dstStride], (src2 + src7 - 5*(src3+src6) + src4*C1 + src5*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C1 74 libavcodec/rv40dsp.c OP(dst[5*dstStride], (src3 + src8 - 5*(src4+src7) + src5*C1 + src6*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C1 75 libavcodec/rv40dsp.c OP(dst[6*dstStride], (src4 + src9 - 5*(src5+src8) + src6*C1 + src7*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C1 76 libavcodec/rv40dsp.c OP(dst[7*dstStride], (src5 + src10 - 5*(src6+src9) + src7*C1 + src8*C2 + (1<<(SHIFT-1))) >> SHIFT);\ C1 83 libavcodec/rv40dsp.c const int w, const int C1, const int C2, const int SHIFT){\ C1 84 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_v_lowpass(dst , src , dstStride, srcStride, 8, C1, C2, SHIFT);\ C1 85 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_v_lowpass(dst+8, src+8, dstStride, srcStride, 8, C1, C2, SHIFT);\ C1 88 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_v_lowpass(dst , src , dstStride, srcStride, w-8, C1, C2, SHIFT);\ C1 89 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_v_lowpass(dst+8, src+8, dstStride, srcStride, w-8, C1, C2, SHIFT);\ C1 93 libavcodec/rv40dsp.c const int h, const int C1, const int C2, const int SHIFT){\ C1 94 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_h_lowpass(dst , src , dstStride, srcStride, 8, C1, C2, SHIFT);\ C1 95 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_h_lowpass(dst+8, src+8, dstStride, srcStride, 8, C1, C2, SHIFT);\ C1 98 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_h_lowpass(dst , src , dstStride, srcStride, h-8, C1, C2, SHIFT);\ C1 99 libavcodec/rv40dsp.c OPNAME ## rv40_qpel8_h_lowpass(dst+8, src+8, dstStride, srcStride, h-8, C1, C2, SHIFT);\ C1 423 libavcodec/simple_idct.c c1 = a1 * C1 + a3 * C2; C1 424 libavcodec/simple_idct.c c3 = a1 * C2 - a3 * C1; C1 503 libavcodec/simple_idct.c c1 = a1 * C1 + a3 * C2; C1 504 libavcodec/simple_idct.c c3 = a1 * C2 - a3 * C1; C1 161 libavcodec/x86/fdct_mmx.c #define TABLE_SSE2 C4, C4, C1, C3, -C6, -C2, -C1, -C5, \ C1 164 libavcodec/x86/fdct_mmx.c C4, -C4, C5, -C1, C2, -C6, C3, -C1, C1 42 libavcodec/x86/idct_mmx.c int C1, C2, C3, C4, C5, C6, C7; C1 47 libavcodec/x86/idct_mmx.c C1 = table[1]; C1 60 libavcodec/x86/idct_mmx.c b0 = C1*row[1] + C3*row[3] + C5*row[5] + C7*row[7]; C1 61 libavcodec/x86/idct_mmx.c b1 = C3*row[1] - C7*row[3] - C1*row[5] - C5*row[7]; C1 62 libavcodec/x86/idct_mmx.c b2 = C5*row[1] - C1*row[3] + C7*row[5] + C3*row[7]; C1 63 libavcodec/x86/idct_mmx.c b3 = C7*row[1] - C5*row[3] + C3*row[5] - C1*row[7]; C1 69 libavcodec/x86/simple_idct_mmx.c C1, C3, C1, C3, C1 73 libavcodec/x86/simple_idct_mmx.c -C1, -C5, -C1, -C5, C1 75 libavcodec/x86/simple_idct_mmx.c C5, -C1, C5, -C1, C1 79 libavcodec/x86/simple_idct_mmx.c C3, -C1, C3, -C1 C1 101 libavcodec/x86/simple_idct_mmx.c const int C1 = 22725; //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 C1 129 libavcodec/x86/simple_idct_mmx.c b0 = C1*col[8*1] + C3*col[8*3] + C5*col[8*5] + C7*col[8*7]; C1 130 libavcodec/x86/simple_idct_mmx.c b1 = C3*col[8*1] - C7*col[8*3] - C1*col[8*5] - C5*col[8*7]; C1 131 libavcodec/x86/simple_idct_mmx.c b2 = C5*col[8*1] - C1*col[8*3] + C7*col[8*5] + C3*col[8*7]; C1 132 libavcodec/x86/simple_idct_mmx.c b3 = C7*col[8*1] - C5*col[8*3] + C3*col[8*5] - C1*col[8*7]; C1 150 libavcodec/x86/simple_idct_mmx.c const int C1 = 22725; //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 C1 186 libavcodec/x86/simple_idct_mmx.c b0 = C1*row[1] + C3*row[3] + C5*row[5] + C7*row[7]; C1 187 libavcodec/x86/simple_idct_mmx.c b1 = C3*row[1] - C7*row[3] - C1*row[5] - C5*row[7]; C1 188 libavcodec/x86/simple_idct_mmx.c b2 = C5*row[1] - C1*row[3] + C7*row[5] + C3*row[7]; C1 189 libavcodec/x86/simple_idct_mmx.c b3 = C7*row[1] - C5*row[3] + C3*row[5] - C1*row[7];