1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../libdv/amd64-no-mmx-gcc41.patch
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- libdv-0.104/libdv/YUY2.c.vanilla 2006-03-04 20:13:38.699452750 +0100
18 +++ libdv-0.104/libdv/YUY2.c 2006-03-04 20:14:28.886589250 +0100
23 -#if ARCH_X86 || ARCH_X86_64
28 --- libdv-0.104/libdv/YUY2.h.vanilla 2006-03-04 20:16:12.225047500 +0100
29 +++ libdv-0.104/libdv/YUY2.h 2006-03-04 20:16:20.565568750 +0100
31 extern void dv_mb411_right_YUY2(dv_macroblock_t *mb, uint8_t **pixels, int *pitches, int add_ntsc_setup);
32 extern void dv_mb420_YUY2(dv_macroblock_t *mb, uint8_t **pixels, int *pitches);
34 -#if ARCH_X86 || ARCH_X86_64
36 /* pentium architecture mmx versions */
37 extern void dv_mb411_YUY2_mmx(dv_macroblock_t *mb, uint8_t **pixels, int *pitches,
38 int add_ntsc_setup, int clamp_luma, int clamp_chroma);
39 --- libdv-0.104/libdv/dv.c.vanilla 2006-03-04 20:16:30.554193000 +0100
40 +++ libdv-0.104/libdv/dv.c 2006-03-04 20:17:09.268612500 +0100
45 -#if ARCH_X86 || ARCH_X86_64
52 _dv_quant_88_inverse_x86(mb->b[i].coeffs,mb->qno,mb->b[i].class_no);
53 _dv_idct_88(mb->b[i].coeffs);
55 - _dv_quant_88_inverse_x86_64(mb->b[i].coeffs,mb->qno,mb->b[i].class_no);
56 - _dv_idct_88(mb->b[i].coeffs);
58 _dv_quant_88_inverse(mb->b[i].coeffs,mb->qno,mb->b[i].class_no);
59 _dv_weight_88_inverse(mb->b[i].coeffs);
61 _dv_quant_88_inverse_x86(bl->coeffs,mb->qno,bl->class_no);
62 _dv_weight_88_inverse(bl->coeffs);
63 _dv_idct_88(bl->coeffs);
65 - _dv_quant_88_inverse_x86_64(bl->coeffs,mb->qno,bl->class_no);
66 - _dv_weight_88_inverse(bl->coeffs);
67 - _dv_idct_88(bl->coeffs);
69 _dv_quant_88_inverse(bl->coeffs,mb->qno,bl->class_no);
70 _dv_weight_88_inverse(bl->coeffs);
73 } /* dv_render_video_segment_bgr0 */
75 -#if ARCH_X86 || ARCH_X86_64
79 dv_render_macroblock_yuv(dv_decoder_t *dv, dv_macroblock_t *mb, uint8_t **pixels, int *pitches) {