summaryrefslogtreecommitdiff
path: root/packages/mplayer/mplayer-atty-1.1.5/dsputil.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mplayer/mplayer-atty-1.1.5/dsputil.patch')
-rw-r--r--packages/mplayer/mplayer-atty-1.1.5/dsputil.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/mplayer/mplayer-atty-1.1.5/dsputil.patch b/packages/mplayer/mplayer-atty-1.1.5/dsputil.patch
index e69de29bb2..962f1bc1e3 100644
--- a/packages/mplayer/mplayer-atty-1.1.5/dsputil.patch
+++ b/packages/mplayer/mplayer-atty-1.1.5/dsputil.patch
@@ -0,0 +1,41 @@
+--- mplayer-1.0.1/libavcodec/armv4l/dsputil_arm.c.orig 2005-04-08 09:16:18.310720680 +0000
++++ mplayer-1.0.1/libavcodec/armv4l/dsputil_arm.c 2005-04-08 09:18:11.679486008 +0000
+@@ -248,22 +248,22 @@
+ c->idct_permutation_type= FF_NO_IDCT_PERM;
+ }
+
+- c->put_pixels_tab[0][0] = put_pixels16_arm;
+- c->put_pixels_tab[0][1] = put_pixels16_x2_arm;
+- c->put_pixels_tab[0][2] = put_pixels16_y2_arm;
+- c->put_pixels_tab[0][3] = put_pixels16_xy2_arm;
+- c->put_no_rnd_pixels_tab[0][0] = put_pixels16_arm;
+- c->put_no_rnd_pixels_tab[0][1] = put_no_rnd_pixels16_x2_arm;
+- c->put_no_rnd_pixels_tab[0][2] = put_no_rnd_pixels16_y2_arm;
+- c->put_no_rnd_pixels_tab[0][3] = put_no_rnd_pixels16_xy2_arm;
+- c->put_pixels_tab[1][0] = put_pixels8_arm;
+- c->put_pixels_tab[1][1] = put_pixels8_x2_arm;
+- c->put_pixels_tab[1][2] = put_pixels8_y2_arm;
+- c->put_pixels_tab[1][3] = put_pixels8_xy2_arm;
+- c->put_no_rnd_pixels_tab[1][0] = put_pixels8_arm;
+- c->put_no_rnd_pixels_tab[1][1] = put_no_rnd_pixels8_x2_arm;
+- c->put_no_rnd_pixels_tab[1][2] = put_no_rnd_pixels8_y2_arm;
+- c->put_no_rnd_pixels_tab[1][3] = put_no_rnd_pixels8_xy2_arm;
++ /* c->put_pixels_tab[0][0] = put_pixels16_arm; */ // NG!
++ c->put_pixels_tab[0][1] = put_pixels16_x2_arm; //OK!
++ c->put_pixels_tab[0][2] = put_pixels16_y2_arm; //OK!
++ /* c->put_pixels_tab[0][3] = put_pixels16_xy2_arm; /\* NG *\/ */
++ /* c->put_no_rnd_pixels_tab[0][0] = put_pixels16_arm; // ?(.....) */
++ c->put_no_rnd_pixels_tab[0][1] = put_no_rnd_pixels16_x2_arm; // OK
++ c->put_no_rnd_pixels_tab[0][2] = put_no_rnd_pixels16_y2_arm; //OK
++ /* c->put_no_rnd_pixels_tab[0][3] = put_no_rnd_pixels16_xy2_arm; //NG */
++ c->put_pixels_tab[1][0] = put_pixels8_arm; //OK
++ c->put_pixels_tab[1][1] = put_pixels8_x2_arm; //OK
++ /* c->put_pixels_tab[1][2] = put_pixels8_y2_arm; //NG */
++ /* c->put_pixels_tab[1][3] = put_pixels8_xy2_arm; //NG */
++ c->put_no_rnd_pixels_tab[1][0] = put_pixels8_arm;//OK
++ c->put_no_rnd_pixels_tab[1][1] = put_no_rnd_pixels8_x2_arm; //OK
++ c->put_no_rnd_pixels_tab[1][2] = put_no_rnd_pixels8_y2_arm; //OK
++ /* c->put_no_rnd_pixels_tab[1][3] = put_no_rnd_pixels8_xy2_arm;//NG */
+
+ #ifdef HAVE_IWMMXT
+ dsputil_init_iwmmxt(c, avctx);