View | Details | Raw Unified | Return to bug 6127
Collapse All | Expand All

(-)libfame-0.9.1.orig/src/fame_decoder_mpeg.c (-1 / +8 lines)
Lines 25-30 Link Here
25
#include "fame_decoder.h"
25
#include "fame_decoder.h"
26
#include "fame_decoder_mpeg.h"
26
#include "fame_decoder_mpeg.h"
27
#include "table_scale.h"
27
#include "table_scale.h"
28
28
#if defined(HAS_MMX)
29
#if defined(HAS_MMX)
29
#define arch_enter_state()
30
#define arch_enter_state()
30
#define arch_leave_state() asm("emms")
31
#define arch_leave_state() asm("emms")
Lines 33-39 Link Here
33
#include "dequantize_mmx.h"
34
#include "dequantize_mmx.h"
34
#include "reconstruct_mmx.h"
35
#include "reconstruct_mmx.h"
35
#include "pad_int.h" /* TODO */
36
#include "pad_int.h" /* TODO */
36
#include "half_mmx.h"
37
#else
37
#else
38
#define arch_enter_state() 
38
#define arch_enter_state() 
39
#define arch_leave_state() 
39
#define arch_leave_state() 
Lines 41-46 Link Here
41
#include "dequantize_float.h"
41
#include "dequantize_float.h"
42
#include "reconstruct_float.h"
42
#include "reconstruct_float.h"
43
#include "pad_int.h"
43
#include "pad_int.h"
44
#endif
45
46
#ifdef HAS_SSE
47
#include "half_sse.h"
48
#elif defined(HAS_MMX)
49
#include "half_mmx.h"
50
#else
44
#include "half_int.h"
51
#include "half_int.h"
45
#endif
52
#endif
46
53
(-)libfame-0.9.1.orig/src/fame_motion.c (-3 / +10 lines)
Lines 21-33 Link Here
21
#include <stdlib.h>
21
#include <stdlib.h>
22
#include "fame.h"
22
#include "fame.h"
23
#include "fame_motion.h"
23
#include "fame_motion.h"
24
#if defined(HAS_MMX)
24
25
#include "mad_mmx.h"
25
#ifdef HAS_SSE
26
#include "mae_sse.h"
27
#elif defined(HAS_MMX)
26
#include "mae_mmx.h"
28
#include "mae_mmx.h"
27
#else
29
#else
28
#include "mad_int.h"
29
#include "mae_int.h"
30
#include "mae_int.h"
30
#endif
31
#endif
32
33
#ifdef HAS_MMX
34
#include "mad_mmx.h"
35
#else
36
#include "mad_int.h"
37
#endif
31
    
38
    
32
static void  motion_init(fame_motion_t *motion,
39
static void  motion_init(fame_motion_t *motion,
33
		       int mb_width,
40
		       int mb_width,
(-)libfame-0.9.1.orig/src/half_mmx.h (-1 / +1 lines)
Lines 18-24 Link Here
18
*/
18
*/
19
/**************************** half-pixel interpolation ***********************/
19
/**************************** half-pixel interpolation ***********************/
20
20
21
static short const _mmx_one[] = { 1, 1, 1, 1 };
21
short const _mmx_one[] = { 1, 1, 1, 1 };
22
22
23
static void inline mmx_interpolate(unsigned char **ref,
23
static void inline mmx_interpolate(unsigned char **ref,
24
				   int pitch,
24
				   int pitch,
(-)libfame-0.9.1.orig/src/half_sse.h (-2 / +2 lines)
Lines 19-26 Link Here
19
*/
19
*/
20
/**************************** half-pixel interpolation ***********************/
20
/**************************** half-pixel interpolation ***********************/
21
21
22
static short const _mmx_one[] = { 1, 1, 1, 1 };
22
short const _mmx_one[] = { 1, 1, 1, 1 };
23
static unsigned char const _mmx_one_byte[] = {1,1,1,1,1,1,1,1};
23
unsigned char const _mmx_one_byte[] = {1,1,1,1,1,1,1,1};
24
24
25
25
26
static void inline mmx_interpolate_signed(unsigned char **ref,
26
static void inline mmx_interpolate_signed(unsigned char **ref,

Return to bug 6127