Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 133945 | Differences between
and this patch

Collapse All | Expand All

(-)ffmpeg-20040322-orig/libavcodec/i386/dsputil_mmx.c (-33 / +30 lines)
Lines 612-650 Link Here
612
    );
612
    );
613
613
614
    asm volatile(
614
    asm volatile(
615
        "movq %%mm5, %%mm1		\n\t"
615
        "movq %%mm5, %%mm1              \n\t"
616
        "movq %%mm4, %%mm0		\n\t"
616
        "movq %%mm4, %%mm0              \n\t"
617
        "punpcklbw %%mm3, %%mm5		\n\t"
617
        "punpcklbw %%mm3, %%mm5         \n\t"
618
        "punpcklbw %%mm6, %%mm4		\n\t"
618
        "punpcklbw %%mm6, %%mm4         \n\t"
619
        "punpckhbw %%mm3, %%mm1		\n\t"
619
        "punpckhbw %%mm3, %%mm1         \n\t"
620
        "punpckhbw %%mm6, %%mm0		\n\t"
620
        "punpckhbw %%mm6, %%mm0         \n\t"
621
        "movq %%mm5, %%mm3		\n\t"
621
        "movq %%mm5, %%mm3              \n\t"
622
        "movq %%mm1, %%mm6		\n\t"
622
        "movq %%mm1, %%mm6              \n\t"
623
        "punpcklwd %%mm4, %%mm5		\n\t"
623
        "punpcklwd %%mm4, %%mm5         \n\t"
624
        "punpcklwd %%mm0, %%mm1		\n\t"
624
        "punpcklwd %%mm0, %%mm1         \n\t"
625
        "punpckhwd %%mm4, %%mm3		\n\t"
625
        "punpckhwd %%mm4, %%mm3         \n\t"
626
        "punpckhwd %%mm0, %%mm6		\n\t"
626
        "punpckhwd %%mm0, %%mm6         \n\t"
627
        "movd %%mm5, %0			\n\t"
627
        "movd %%mm5, (%0)               \n\t"
628
        "punpckhdq %%mm5, %%mm5		\n\t"
628
        "punpckhdq %%mm5, %%mm5         \n\t"
629
        "movd %%mm5, %1			\n\t"
629
        "movd %%mm5, (%0,%2)            \n\t"
630
        "movd %%mm3, %2			\n\t"
630
        "movd %%mm3, (%0,%2,2)          \n\t"
631
        "punpckhdq %%mm3, %%mm3		\n\t"
631
        "punpckhdq %%mm3, %%mm3         \n\t"
632
        "movd %%mm3, %3			\n\t"
632
        "movd %%mm3, (%0,%3)            \n\t"
633
        "movd %%mm1, %4			\n\t"
633
        "movd %%mm1, (%1)               \n\t"
634
        "punpckhdq %%mm1, %%mm1		\n\t"
634
        "punpckhdq %%mm1, %%mm1         \n\t"
635
        "movd %%mm1, %5			\n\t"
635
        "movd %%mm1, (%1,%2)            \n\t"
636
        "movd %%mm6, %6			\n\t"
636
        "movd %%mm6, (%1,%2,2)          \n\t"
637
        "punpckhdq %%mm6, %%mm6		\n\t"
637
        "punpckhdq %%mm6, %%mm6         \n\t"
638
        "movd %%mm6, %7			\n\t"
638
        "movd %%mm6, (%1,%3)            \n\t"
639
        : "=m" (*(uint32_t*)(src + 0*stride)),
639
        :: "r" (src),
640
          "=m" (*(uint32_t*)(src + 1*stride)),
640
           "r" (src + 4*stride),
641
          "=m" (*(uint32_t*)(src + 2*stride)),
641
           "r" ((long)   stride ),
642
          "=m" (*(uint32_t*)(src + 3*stride)),
642
           "r" ((long)(3*stride))
643
          "=m" (*(uint32_t*)(src + 4*stride)),
643
);
644
          "=m" (*(uint32_t*)(src + 5*stride)),
644
645
          "=m" (*(uint32_t*)(src + 6*stride)),
646
          "=m" (*(uint32_t*)(src + 7*stride))
647
    );
648
}
645
}
649
646
650
#ifdef CONFIG_ENCODERS
647
#ifdef CONFIG_ENCODERS
(-)ffmpeg-20040322-orig/libavformat/mpeg.c (-4 / +4 lines)
Lines 82-91 Link Here
82
static const int lpcm_freq_tab[4] = { 48000, 96000, 44100, 32000 };
82
static const int lpcm_freq_tab[4] = { 48000, 96000, 44100, 32000 };
83
83
84
#ifdef CONFIG_ENCODERS
84
#ifdef CONFIG_ENCODERS
85
extern AVOutputFormat mpeg1system_mux;
85
static AVOutputFormat mpeg1system_mux;
86
extern AVOutputFormat mpeg1vcd_mux;
86
static AVOutputFormat mpeg1vcd_mux;
87
extern AVOutputFormat mpeg2vob_mux;
87
static AVOutputFormat mpeg2vob_mux;
88
extern AVOutputFormat mpeg2svcd_mux;
88
static AVOutputFormat mpeg2svcd_mux;
89
89
90
static int put_pack_header(AVFormatContext *ctx, 
90
static int put_pack_header(AVFormatContext *ctx, 
91
                           uint8_t *buf, int64_t timestamp)
91
                           uint8_t *buf, int64_t timestamp)

Return to bug 133945