summaryrefslogtreecommitdiffstats
path: root/liba52
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-22 21:35:38 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-22 21:35:38 +0000
commit934670b5ce71005dbc823cbde5974ddeb6f5cbee (patch)
tree1677806ce7c52fa9b0c3ccc21b55e0ed7c542c4f /liba52
parent984d028cd299a7538956fc177ffa1a4f62f0fe07 (diff)
downloadmpv-934670b5ce71005dbc823cbde5974ddeb6f5cbee.tar.bz2
mpv-934670b5ce71005dbc823cbde5974ddeb6f5cbee.tar.xz
Remove unused and untested function. It is only part of our local patchset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27477 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'liba52')
-rw-r--r--liba52/downmix.c33
-rw-r--r--liba52/liba52_changes.diff35
2 files changed, 1 insertions, 67 deletions
diff --git a/liba52/downmix.c b/liba52/downmix.c
index 91c21a2ef7..13220db719 100644
--- a/liba52/downmix.c
+++ b/liba52/downmix.c
@@ -1014,39 +1014,6 @@ static void zero_MMX(sample_t * samples)
);
}
-/*
- I hope dest and src will be at least 8 byte aligned and size
- will devide on 8 without remain
- Note: untested and unused.
-*/
-static void copy_MMX(void *dest,const void *src,unsigned size)
-{
- unsigned i;
- size /= 64;
- for(i=0;i<size;i++)
- {
- __asm __volatile(
- "movq %0, %%mm0\n\t"
- "movq 8%0, %%mm1\n\t"
- "movq 16%0, %%mm2\n\t"
- "movq 24%0, %%mm3\n\t"
- "movq 32%0, %%mm4\n\t"
- "movq 40%0, %%mm5\n\t"
- "movq 48%0, %%mm6\n\t"
- "movq 56%0, %%mm7\n\t"
- "movq %%mm0, %1\n\t"
- "movq %%mm1, 8%1\n\t"
- "movq %%mm2, 16%1\n\t"
- "movq %%mm3, 24%1\n\t"
- "movq %%mm4, 32%1\n\t"
- "movq %%mm5, 40%1\n\t"
- "movq %%mm6, 48%1\n\t"
- "movq %%mm7, 56%1\n\t"
- :
- :"m"(src),"m"(dest));
- }
-}
-
static void downmix_SSE (sample_t * samples, int acmod, int output, sample_t bias,
sample_t clev, sample_t slev)
{
diff --git a/liba52/liba52_changes.diff b/liba52/liba52_changes.diff
index 8a41bec053..cde07a1a8f 100644
--- a/liba52/liba52_changes.diff
+++ b/liba52/liba52_changes.diff
@@ -290,7 +290,7 @@
{
switch (CONVERT (acmod, output & A52_CHANNEL_MASK)) {
-@@ -653,3 +685,1137 @@
+@@ -653,3 +685,1104 @@
goto mix_31to21;
}
}
@@ -623,39 +623,6 @@
+ );
+}
+
-+/*
-+ I hope dest and src will be at least 8 byte aligned and size
-+ will devide on 8 without remain
-+ Note: untested and unused.
-+*/
-+static void copy_MMX(void *dest,const void *src,unsigned size)
-+{
-+ unsigned i;
-+ size /= 64;
-+ for(i=0;i<size;i++)
-+ {
-+ __asm __volatile(
-+ "movq %0, %%mm0\n\t"
-+ "movq 8%0, %%mm1\n\t"
-+ "movq 16%0, %%mm2\n\t"
-+ "movq 24%0, %%mm3\n\t"
-+ "movq 32%0, %%mm4\n\t"
-+ "movq 40%0, %%mm5\n\t"
-+ "movq 48%0, %%mm6\n\t"
-+ "movq 56%0, %%mm7\n\t"
-+ "movq %%mm0, %1\n\t"
-+ "movq %%mm1, 8%1\n\t"
-+ "movq %%mm2, 16%1\n\t"
-+ "movq %%mm3, 24%1\n\t"
-+ "movq %%mm4, 32%1\n\t"
-+ "movq %%mm5, 40%1\n\t"
-+ "movq %%mm6, 48%1\n\t"
-+ "movq %%mm7, 56%1\n\t"
-+ :
-+ :"m"(src),"m"(dest));
-+ }
-+}
-+
+static void downmix_SSE (sample_t * samples, int acmod, int output, sample_t bias,
+ sample_t clev, sample_t slev)
+{