OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libdv/amd64-no-mmx-gcc41.patch
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- libdv-0.104/libdv/YUY2.c.vanilla 2006-03-04 20:13:38.699452750 +0100
  17. +++ libdv-0.104/libdv/YUY2.c 2006-03-04 20:14:28.886589250 +0100
  18. @@ -311,7 +311,7 @@
  19. }
  20. }
  21. -#if ARCH_X86 || ARCH_X86_64
  22. +#if ARCH_X86
  23. /* TODO (by Buck):
  24. *
  25. --- libdv-0.104/libdv/YUY2.h.vanilla 2006-03-04 20:16:12.225047500 +0100
  26. +++ libdv-0.104/libdv/YUY2.h 2006-03-04 20:16:20.565568750 +0100
  27. @@ -54,7 +54,7 @@
  28. extern void dv_mb411_right_YUY2(dv_macroblock_t *mb, uint8_t **pixels, int *pitches, int add_ntsc_setup);
  29. extern void dv_mb420_YUY2(dv_macroblock_t *mb, uint8_t **pixels, int *pitches);
  30. -#if ARCH_X86 || ARCH_X86_64
  31. +#if ARCH_X86
  32. /* pentium architecture mmx versions */
  33. extern void dv_mb411_YUY2_mmx(dv_macroblock_t *mb, uint8_t **pixels, int *pitches,
  34. int add_ntsc_setup, int clamp_luma, int clamp_chroma);
  35. --- libdv-0.104/libdv/dv.c.vanilla 2006-03-04 20:16:30.554193000 +0100
  36. +++ libdv-0.104/libdv/dv.c 2006-03-04 20:17:09.268612500 +0100
  37. @@ -55,7 +55,7 @@
  38. #include "rgb.h"
  39. #include "YUY2.h"
  40. #include "YV12.h"
  41. -#if ARCH_X86 || ARCH_X86_64
  42. +#if ARCH_X86
  43. #include "mmx.h"
  44. #endif
  45. @@ -220,9 +220,6 @@
  46. #if ARCH_X86
  47. _dv_quant_88_inverse_x86(mb->b[i].coeffs,mb->qno,mb->b[i].class_no);
  48. _dv_idct_88(mb->b[i].coeffs);
  49. -#elif ARCH_X86_64
  50. - _dv_quant_88_inverse_x86_64(mb->b[i].coeffs,mb->qno,mb->b[i].class_no);
  51. - _dv_idct_88(mb->b[i].coeffs);
  52. #else /* ARCH_X86 */
  53. _dv_quant_88_inverse(mb->b[i].coeffs,mb->qno,mb->b[i].class_no);
  54. _dv_weight_88_inverse(mb->b[i].coeffs);
  55. @@ -253,10 +250,6 @@
  56. _dv_quant_88_inverse_x86(bl->coeffs,mb->qno,bl->class_no);
  57. _dv_weight_88_inverse(bl->coeffs);
  58. _dv_idct_88(bl->coeffs);
  59. -#elif ARCH_X86_64
  60. - _dv_quant_88_inverse_x86_64(bl->coeffs,mb->qno,bl->class_no);
  61. - _dv_weight_88_inverse(bl->coeffs);
  62. - _dv_idct_88(bl->coeffs);
  63. #else /* ARCH_X86 */
  64. _dv_quant_88_inverse(bl->coeffs,mb->qno,bl->class_no);
  65. _dv_weight_88_inverse(bl->coeffs);
  66. @@ -331,7 +324,7 @@
  67. } /* for */
  68. } /* dv_render_video_segment_bgr0 */
  69. -#if ARCH_X86 || ARCH_X86_64
  70. +#if ARCH_X86
  71. static inline void
  72. dv_render_macroblock_yuv(dv_decoder_t *dv, dv_macroblock_t *mb, uint8_t **pixels, int *pitches) {